1.5 KiB
1.5 KiB
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.
- To run this code use
git clone https://github.com/davidbombal/python-keylogger.git - Run the command
cd\python-keylogger - Create Virtual Environment in Windows. Using command
<python_path>\py -m venv keylogger_env - Run command
keylogger_env\Scripts\activate - Run the command
pip install -r requirements.txtto install all the packages required in your virtual environment. - Run
py keylogger.pythis will run the program.
Create your own Pyinstaller bootloader (It is often times more likely to avoid Anti-Virus but not guaranteed)
Build your own bootloader.
- We want to create a new bootloader for Pyinstaller that uses the Microsoft C/C++ compiler. You can download the Community Edition
here
https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&channel=Release&version=VS2022&source=VSFeaturesPage&passive=true&tailored=cplus&cid=2031#cplusplus - Run the downloaded
VisualStudioSetup.exefile. git clone https://github.com/pyinstaller/pyinstaller.git- Run
pip install wheel - Change directory into the
\pyinstaller\bootloaderfolder of the cloned repository. - Build the bootloader using command
./waf distclean all - Run
py setup.py install