https://github.com/hmzakhalid/keylogger
A simple, minimal, and efficient keylogger for Windows that doesn't require any external libraries. This keylogger uses the Windows API and low-level keyboard procedures to capture keystrokes and log them to a file.
https://github.com/hmzakhalid/keylogger
cybersecurity keylogger keylogger-python python
Last synced: 3 months ago
JSON representation
A simple, minimal, and efficient keylogger for Windows that doesn't require any external libraries. This keylogger uses the Windows API and low-level keyboard procedures to capture keystrokes and log them to a file.
- Host: GitHub
- URL: https://github.com/hmzakhalid/keylogger
- Owner: hmzakhalid
- Created: 2023-04-23T09:37:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-23T09:37:14.000Z (about 2 years ago)
- Last Synced: 2024-04-01T15:09:20.552Z (about 1 year ago)
- Topics: cybersecurity, keylogger, keylogger-python, python
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Minimal Keylogger
#### Author: [Hamza Khalid](https://github.com/hmzakhalid)A simple, minimal, and efficient keylogger for Windows that doesn't require any external libraries. This keylogger uses the Windows API and low-level keyboard procedures to capture keystrokes and log them to a file.
## Features
- No external libraries required
- Uses Windows API and low-level keyboard procedures
- Runs in the background without displaying a console
- Start and stop the keylogger with keyboard shortcuts
- Automatically save logs at specified intervals
- Can be run from the command line with arguments## How to use
1. Make sure you have Python 3.6 or later installed on your system.
2. Download or clone this repository.
3. Open a command prompt or terminal, navigate to the directory containing the keylogger, and run:```bash
python run_keylogger.py
```
Replace `` with the path of the file where you want to save the logs, and `` with the number of seconds between each automatic save.For example:
```bash
python run_keylogger.py keylogger_output.txt 60
```4. The keylogger will run in the background without showing a console. To start recording, press `CTRL + SHIFT + A`. To stop recording and exit the keylogger, press `CTRL + SHIFT + Z`.
## Notes
- This keylogger is for educational purposes only. Please use it responsibly and only on devices you have permission to monitor.
- As this keylogger uses low-level keyboard procedures, some antivirus software may detect it as a threat. Please be aware of this and use it only for educational purposes.