A Telegram bot for remote system monitoring and control.
- System information gathering
- Screenshot capture
- Chrome password extraction
- Directory listing
- File download
- Message box display
- Self-destruct capability
- Logging system
- Windows operating system
- Python 3.6+
- Required Python packages:
telebot autopy requests pywin32 pathlib
- Install required packages:
pip install telebot autopy requests pywin32 pathlib- Configure the bot:
- Edit the script and replace
TOKENwith your Telegram Bot token - Replace
ADMIN_IDwith your Telegram user ID
- Run the bot:
python python-telegram-black-plague-rat.py/start - Initialize connection and show command list
/target_info - Get the target system and IP information
/screen - Capture and send a screenshot
/dis - Disconnect the bot
/msg <message> - Display a message box on target
/psw - Extract and send Chrome passwords
/dir <path> - List contents of specified directory
/dfile <path> - Download file from target
/show_dir - Show current working directory
/self_des - Delete the bot from the system
- Get system info:
/target_info
- Take a screenshot:
/screen
- Show message on target:
/msg Hello from remote!
- List directory contents:
/dir C:\Users
- Download a file:
/dfile C:\Users\file.txt
- The bot only responds to commands from the configured ADMIN_ID
- All operations are logged to
bot.log - Temporary files are cleaned up after use
- Sensitive operations require admin privileges
- All operations are logged to
bot.logwith timestamps - Log levels: INFO, ERROR
- Useful for debugging and tracking activities
- Automatically copies itself to Windows Startup folder
- Runs on system boot
-
Bot not responding:
- Check the Telegram token
- Verify internet connection
- Check bot.log for errors
-
Commands failing:
- Ensure proper permissions
- Verify file paths exist
- Check error messages in Telegram
- Windows-only due to win32 dependencies
- Requires admin privileges for some operations
- Chrome password extraction works only with a default profile
This software is for educational purposes only. You can use it responsibly and with permission on systems you own or have explicit authorisation to access. The author is not responsible for any misuse or damage caused by this software.