Ahmad Posted October 17, 2008 Posted October 17, 2008 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]
AlmarM Posted October 17, 2008 Posted October 17, 2008 You could take a look at _IsPressed() and @HotKeyPressed, AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
Szhlopp Posted October 17, 2008 Posted October 17, 2008 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 RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+'
Ahmad Posted October 17, 2008 Author Posted October 17, 2008 @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]
jdickens Posted October 17, 2008 Posted October 17, 2008 @almarmNo, I don't think it's done using hotkeys@Szhloppi 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.
spudw2k Posted October 17, 2008 Posted October 17, 2008 (edited) 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 October 17, 2008 by spudw2k Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
Bert Posted October 17, 2008 Posted October 17, 2008 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. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Developers Jos Posted October 17, 2008 Developers Posted October 17, 2008 *click* SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts