β οΈ Disclaimer:
This project is for educational and research purposes only. Unauthorized use to access or control systems without explicit permission is illegal and unethical. The author is not responsible for any misuse or damage caused by this software. Ensure compliance with all applicable laws and regulations.
PythonRAT is a Windows-compatible Remote Access Tool written in Python. It enables remote interaction with a Windows system using Telegram bot commands. It offers features like webcam access, screenshot capture, system information retrieval, file encryption/decryption, clipboard access, remote shell, and Wi-Fi password extraction.
- π₯οΈ Screen capture
- π₯ Webcam access
- π» System information
- π File management (list, upload, navigate)
- π File encryption/decryption with secure deletion
- π Clipboard text retrieval
- π‘ Retrieve saved Wi-Fi passwords
- π£οΈ Text-to-speech
- π Lock Windows session
- π¬ Remote shell execution
- π Upload any file via Telegram bot
- β» System shutdown (5-second timer)
- Python 3.12 or higher
- Telegram Bot Token from @BotFather
- Windows OS
- Required Libraries:
pip install mss opencv-python numpy pyttsx3 telebot pyAesCrypt secure_delete pyperclip Pillow clipboard
- Clone the Repository:
git clone https://github.com/your-username/PythonRAT-Windows.git
cd PythonRAT-Windows
- Install Dependencies:
pip install -r requirements.txt
Or install them manually.
- Configure the Telegram Bot:
Open
PythonRAT.py
and replace:
TOKEN = 'your_bot_token_here'
with your own bot token from BotFather.
- Run the Script:
python PythonRAT.py
/start β Start the bot
/help β List available commands
/screen β Capture and send a screenshot
/webcam β Capture webcam image
/sys β Get system information
/ip β Get public IP address
/cd [folder] β Change working directory
/ls β List contents of the current directory
/upload [path] β Upload a file from the victim's system
/crypt [path] β Encrypt files in a folder
/decrypt [path] β Decrypt files in a folder
/lock β Lock the Windows session
/shell β Open remote shell session (type exit
to leave)
/wifi β Get saved Wi-Fi SSIDs and passwords
/speech [text] β Convert text to speech
/clipboard β Read system clipboard
/shutdown β Shutdown the system in 5 seconds
- Permissions: Webcam and screen capture may require additional permissions.
- Encryption: Uses AES crypt with a hardcoded password (
softwarica
). - WiFi Dumping: Requires elevated privileges to export WLAN profiles.
- Safe File Removal: Uses
secure_delete
to securely wipe original files. - Bot Polling:
infinity_polling()
keeps the bot online indefinitely.
- Add logging for more verbose output:
import logging
logging.basicConfig(level=logging.DEBUG)
- Do NOT use on unauthorized systems.
- Do NOT share your Telegram bot token publicly.
- The author assumes no responsibility for misuse.
MIT License Β© 2025 Annapurnageeks