| Author |
keylogger source |
z0mb1e
Member
Posts: 19
Location:
Joined: 28.01.06 Rank: Moderate |
|
Hej! i want to write a simple keylogger in c (without hiding ect), and i dont know how to make the program get the keystrocks when its not on the top of the desktop. can anyone help me? what should i do and what should i read to do that?
When there's no more room in Hell, the dead will walk the Earth... |
|
| Author |
RE: keylogger source |
god
Member

Posts: 349
Location: I bet you're too scared to look behind you..
Joined: 23.01.05 Rank: God |
|
try http://planetsourcecode.com
|
|
| Author |
RE: keylogger source |
Anarcho-Hippie
Member
Posts: 142
Location:
Joined: 17.12.04 Rank: Mad User |
|
post the source you have so we can take a look and tell you what you need.
Also you need to use the getasynckeystate function included in the windows.h header.
Revolt Studios will be up soon
|
|
| Author |
RE: keylogger source |
z0mb1e
Member
Posts: 19
Location:
Joined: 28.01.06 Rank: Moderate |
|
my compiler (miracle c) don't have many headers. i had problems with opensources before - i couldnt compile them cause i didnt have some headers. where could i find those header (and of course all the other headers in the windows.h)?
Anarcho-Hippie wrote:
post the source you have so we can take a look and tell you what you need.
Also you need to use the getasynckeystate function included in the windows.h header.
When there's no more room in Hell, the dead will walk the Earth... |
|
| Author |
RE: keylogger source |
SySTeM
-=[TheOutlaw]=-
Posts: 1524
Location: England, UK
Joined: 27.07.05 Rank: The Overlord |
|
Try Bloodshed Dev-CPP that's what I use, comes with headers and it's by far the best compiler I've ever used
|
|
| Author |
RE: keylogger source |
Anarcho-Hippie
Member
Posts: 142
Location:
Joined: 17.12.04 Rank: Mad User |
|
K first we need to know wich os it's for, then we need to know what you have allready to help you out a bit, if you could just post a fraction what you have or what is giving you problems we can help out more.
Revolt Studios will be up soon
|
|
| Author |
RE: keylogger source |
z0mb1e
Member
Posts: 19
Location:
Joined: 28.01.06 Rank: Moderate |
|
thanks guys! i downloaded devcpp and is fantastic!
the problem was that i didnt know about the getasynckeystate function, so i couldnt write a simple code for a keylogger...
When there's no more room in Hell, the dead will walk the Earth... |
|
| Author |
RE: keylogger source |
DeatoX
Member
Posts: 46
Location:
Joined: 03.10.05 Rank: Mad User |
|
Check msdn, http://msdn.microsoft.com/
/  |
|
| Author |
RE: keylogger source |
thomasantony
Member
Posts: 52
Location:
Joined: 19.11.05 Rank: Monster |
|
Hi,
I have seen a keylogger that used Keyboard Hooks.
Thomas |
|
| Author |
RE: keylogger source |
god
Member

Posts: 349
Location: I bet you're too scared to look behind you..
Joined: 23.01.05 Rank: God |
|
u might be interested in this VB6 module..
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Private Declare Function GetKeyState Lib "user32" (ByVal nVirtKey As Long) As Integer
Public Function GetCapslock() As Boolean
GetCapslock = CBool(GetKeyState(vbKeyCapital) And 1)
End Function
Public Function GetShift() As Boolean
GetShift = CBool(GetAsyncKeyState(vbKeyShift))
|
|