Keylogger (Hear Me Out)

Pages: 12
I made a simple keystroke program on my windows machine, and I don't know how I can go about this on mac, because I called for Windows specific functions.... If anyone knows how to get keystrokes in C++ on a mac (I am using XCode), it would be greatly appreciated.

Thanks,

truffles

PS I'm not using this for evil purposes
Last edited on
truffles wrote:
I made a simple keystroke program on my windows machine, and I don't know how I can go about this on mac, because I called for Windows specific functions.... If anyone knows how to get keystrokes in C++ on a mac (I am using XCode), it would be greatly appreciated.

Thanks,

truffles

PS I'm not using this for evil purposes


- Yes, because what you say is definitely believable.
There are many reasons why someone would want to make a keylogger. Perhaps the OP has children who use the Mac whom he/she wishes to know if they chat and if so to whom and what kind of stuff are they talking about. It can keep kids safe.
Last edited on
closed account (Dy7SLyTq)
or trying to change his grades. all perfectly valid reasons
Um, I doubt he has those hacking skills necessary to change grades. You need to hide your CPU address and if he doesn't know how to make a keylogger, I doubt he could make it through DHCP from his home computer. Or install the keylogger without making any "noise" on the school CPU
Just use

#include <conio.h>

and

getch()

http://lmgtfy.com/?q=%23include+%3Cconio.h%3E+and+getch()
Kangus wrote:
There are many reasons why someone would want to make a keylogger. Perhaps the OP has children who use the Mac whom he/she wishes to know if they chat and if so to whom and what kind of stuff are they talking about. It can keep kids safe.


- Yes, because it's completely impossible to come up with a different solution to those problems (sarcasm).
LOL
You need to hide your CPU address ... I doubt he could make it through DHCP from his home computer.
Do you know what those acronyms actually mean?
There's no <conio.h> neither on Mac nor on UNIX. I think its MS-WinDOS specific?

MacOSX applications are usually written in Objective-C (see: http://en.wikipedia.org/wiki/Objective-C). MacOSX comes with a powerful API, named Cocoa (see: http://en.wikipedia.org/wiki/Cocoa_(API)). For detail on registering for key events you may consult the really well designed documentation coming with Xcode.

Besides this MacOSX is based on Darwin, a BSD based Unix system. So application running on f.e. Linux may also compile and run on MacOSX.
closed account (o1vk4iN6)
- Yes, because it's completely impossible to come up with a different solution to those problems (sarcasm).


If companies are taking security seriously then it should be as close to impossible as possible. Of course there is some work for the end user to do, encrypting logs, etc...
closed account (Dy7SLyTq)
<shakes head at greenleaf> you mean ip adress? and if the security is anything like the one at my school its not that secure
There are many reasons why someone would want to make a keylogger. Perhaps the OP has children who use the Mac whom he/she wishes to know if they chat and if so to whom and what kind of stuff are they talking about. It can keep kids safe.


A keylogger of that magnitude is not something you want to use on your kids. Any keylogger is not really what you want to use on your kids. There are far more appropriate applications out there. (http://goo.gl/WZ5nL)
PS I'm not using this for evil purposes

And if this is true, I don't think you can creat a keylogger by yourself since it is an Mac, maybe a little hard. (http://faq.awosoft.com/content/2/57/en/how-to-make-aobo-mac-keylogger-record-passwords.html)
Last edited on
DHCP is the security encryption that your router uses. You have to crack the school's router to gain access. Then you have to give yourself Admin rights if you want to do stuff.

CPU = ComPUter
DHCP is the security encryption that your router uses

No.


CPU = ComPUter

Also, no.
Um, I doubt he has those hacking skills necessary to change grades. You need to hide your CPU address and if he doesn't know how to make a keylogger, I doubt he could make it through DHCP from his home computer. Or install the keylogger without making any "noise" on the school CPU

I do believe that you just used some acronyms with the aim of sounding smart, without actually knowing what they are. Heh.
greenleaf800073 wrote:
DHCP is the security encryption that your router uses. You have to crack the school's router to gain access. Then you have to give yourself Admin rights if you want to do stuff.

CPU = ComPUter

I.. Just.. Lol. You have been sadly misled.
Seriously all you have to do is type those acronyms into Google to find out what they mean.
I remember when I was much younger and knew nothing about computers, I too thought CPU just meant computer.
closed account (Dy7SLyTq)
i remember when i used to do stuff like what green leaf did
i remember when i used to do stuff like what green leaf did

http://www.cplusplus.com/forum/unices/93548/
http://www.cplusplus.com/forum/beginner/95354/

You appear to still be doing it on a regular basis.
Pages: 12