Skip to content

Latest commit

 

History

History
34 lines (31 loc) · 1.37 KB

README.md

File metadata and controls

34 lines (31 loc) · 1.37 KB

Simple Python Keylogger with Pynput. Sending data to a server.

This code DOES NOT promote or encourage any illegal activities! The content in this document is provided solely for educational purposes and to create awareness!

This is a proof of concept and could be improved on in a lot of ways.

  1. To run this code use git clone https://github.com/davidbombal/python-keylogger.git
  2. Run the command cd python-keylogger
  3. Create Virtual Environment. Using command
apt install python3.10-venv -y
python3 -m venv keylogger_env
  1. Run command
# Window
keylogger_env/Scripts/activate
# Linux
chmod +x keylogger_env/bin/activate
source keylogger_env/bin/activate
  1. Run the command to install all the packages required in your virtual environment.
apt-get install python3.10-dev -y
pip install -r requirements.txt
  1. Run python3 keylogger.py this will run the program.

To get the file to run on Windows 11 evading the antivirus I compiled the PyInstaller bootloader locally using Microsoft C/C++ compiler, and then used it to compile the code.

pip install pyinstaller
pyinstaller -F keylogger.py --noconsole

If you like more security technology, welcome to follow the public account.