This is a updated Python keylogger that logs keystrokes and sends them to a specified Telegram chat using a Telegram bot. This project can be used for monitoring keystrokes and receiving notifications in real-time.
- Note: The use of keyloggers without explicit consent is unethical and potentially illegal. This script is intended for educational purposes only, and it is crucial to respect privacy and adhere to applicable laws and regulations
- Keylogging: Captures keystrokes in real-time and logs them into a designated file.
- Telegram Integration: Sends logged keystrokes to a specified Telegram chat, enabling remote monitoring.
- Python 3.x
- keyboard library (
pip install keyboard
) - requests library (
pip install requests
)
- 1 : Clone the Repository
https://github.com/n0rmh3ll/Tee-logger
- 2 : Go to the project directory
cd Tee-logger
- 3 : Install Dependencies
pip install keyboard request
-
4 : Obtain
Telegram Bot Token
andChat ID
- Create a new bot using @BotFather on Telegram.
- Obtain the bot token provided by BotFather.
- Start a chat with your bot and get the chat ID using tools like
getids.net
or simply use @MissRose_bot and use /id command for chat id
-
5 : Configure the Script
-
Update the configuration variables in
tee-logger.py
-
CHAT_ID:
Your Telegram chat ID. -
BOT_TOKEN:
Your Telegram bot token.
-
Run the script, and it will start sending key presses, along with timestamps in real time will be sent to the specified Telegram chat
python3 tee-logger.py
- Stop the Keylogger:
Press Ctrl+C
to stop the keylogger
Ensure that you have appropriate permissions before running this script, as it monitors keystrokes. Avoid running the keylogger on systems where you don't have authorization or where monitoring keystrokes could violate privacy laws or policies.
Contributions are welcome! Please feel free to submit pull requests to improve the project.
This project is licensed under the MIT License - see the LICENSE file for details.