Jump to content

How to Log Key strokes


Ahmad
 Share

Recommended Posts

Hello all,

I have a question :

"How to make a key logger?"

i am not really going to make a key logger,

i just want to know how to record what is getting sent,

the only possibility i see is to set all keys as hotkeys but this is a bad option,

i don't want want a ready script or somthing,

just someone who tells me if it's possible to do in autoit,

and if yes which dll should i call to get input ?

Thanks in advance.

[center]I want to change the world ...., but I don't have the source code xD[/center]

Link to comment
Share on other sites

Don't play with keyloggers. Malware and malicious software is not something that's discussed on the AutoIt forums.

A mod will lock this thread and probably warn you unless you change the Title to "Solved" and erase your question.

Szhlopp

Link to comment
Share on other sites

@almarm

No, I don't think it's done using hotkeys

@Szhlopp

i am not going to really make a keylogger ,

let me explain:

there are devices connected to the computer,

each one has an address (i think so) like 0x0020 (maybe i am not sure)

i now want to control this address,

i just want the theory and not a script,

and for those who fear that autoit could be marked as bad soft,

i am not going to script it and if i do so not in autoit but in C or something.

i only want the theory.

[center]I want to change the world ...., but I don't have the source code xD[/center]

Link to comment
Share on other sites

@almarm

No, I don't think it's done using hotkeys

@Szhlopp

i am not going to really make a keylogger ,

let me explain:

there are devices connected to the computer,

each one has an address (i think so) like 0x0020 (maybe i am not sure)

i now want to control this address,

i just want the theory and not a script,

and for those who fear that autoit could be marked as bad soft,

i am not going to script it and if i do so not in autoit but in C or something.

i only want the theory.

It is possible and necessary in many cases.

They ban discussion of the process here on principle.

J

If I am too verbose, just say so. You don't need to run on and on.

Link to comment
Share on other sites

if you simply need to find a keycode of a "device" then try this.

#include <Misc.au3>

$dll = DllOpen("user32.dll")


While 1
    sleep(100)
    For $i = 0 to 255
        If _IsPressed(Hex($i,2), $dll) Then
            ConsoleWrite("Hex key:" & Hex($i,2) & @TAB & "Decimal:"&$i & @CRLF)
            If Hex($i,2) = "1B" Then Exit
        EndIf
    Next
WEnd
DllClose($dll)

We will not support making a keylogger though. It because of things like this that AutoIt has gotten flagged as a virus.

Edited by spudw2k
Link to comment
Share on other sites

I strongly suggest you look elsewhere for this information seeing how you are so eager to find out how to do this. The folks who run this forum do not like to discuss, suggest, or even hint at key loggers. Don't ask why, don't argue, don't even respond to this post to defend yourself. I strongly advise you to delete the post asking the question you are asking. Your reason for asking does NOT MATTER in any way shape or form. The mod will not care what your reason is. Just delete it and move on.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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