How to Make a Keylogger in Python
Keyloggers are commonly used by parents and suspicious spouses to secretly monitor the computer activity of another user. These programs run silently in the background of your operating system and log all of the keystrokes that a user makes within a defined time. People with malicious intent can also install keyloggers and hack sensitive information -- such as the usernames and passwords of websites you frequent -- without you knowing. You can use a programming language called Python to create a keylogger.
Instructions
-
-
1
Download the PyKeyLogger source code linked in the Resources section.
-
2
Launch a command line terminal connection to your computer by using the Windows "cmd.exe" program or Mac OS X "Terminal" application. Navigate to the folder where you saved the source code by using the "cd" command followed by the directory path to the PyKeyLogger source code folder.
-
-
3
Type the following command into the command line, which will make the keylogger from the downloaded source code, and then press the "Enter" key on your keyboard:
python setup py py2exe
-
4
Launch the keylogger by navigating to C:\Python26\python.exe, where the keylogger's executable file was built and saved. Double-click the exe file to start running the keylogger.
-
1