This is a Python 🐍-based Discord bot that demonstrates remote system access, monitoring, and control capabilities. It can execute commands, log keystrokes, capture screenshots, and monitor system resources via Discord messages.
- 📘 This project is created strictly for educational purposes and authorized security testing only.
- 🔐 Using this software on systems you do not own or without explicit permission is illegal and a violation of privacy.
- 🤝 This tool violates Discord's Terms of Service. Use responsibly and at your own risk.
- 🚫 The developer assumes no responsibility for any misuse or damage caused by this software.
- 🛡️ Only use in isolated environments like virtual machines that you fully control.
| Feature | Command | Description |
|---|---|---|
| 🔑 Keystroke Logging | !getkey | Logs all keyboard input to a file and sends it via Discord. |
| 💻 Remote Code Execution | !exc-<code> | Executes arbitrary Python code on the target machine. |
| 🖥️ System Command Execution | !osExec-<command> | Runs commands in the Windows command prompt. |
| 📸 Multi-Monitor Screenshot | !sc | Captures and sends a screenshot of all monitors. |
| 📊 System Information | !sysInfo | Retrieves detailed system and user information. |
| 📈 Resource & Process Monitoring | !getPcUsage | Sends CPU/RAM/Disk usage and running process list. |
| 💣 RAM Stress Test | !exc-ramfucker-<bytes> | Attempts to allocate specified RAM. |
| 🛡️ Basic Anti-Debugger | (Auto-start) | Detects debuggers and attempts to interfere. |
| 🔗 Auto-Start Persistence | (main_autorun.py only) | Copies itself to Windows Startup folder. |
main.py- Standard version with all remote features.main_autorun.py- Enhanced version that adds persistence by copying itself to Windows Startup folder on first run.
- Install Python 3.8+ on a Windows system.
- Create a Discord Bot at the Discord Developer Portal and enable MESSAGE CONTENT INTENT.
- Install required libraries:
pip install discord.py pynput mss pillow psutil - Add your bot token to the Python file:
Findclient.run('')and replace withclient.run('YOUR_TOKEN_HERE') - Run the bot:
python main.pyorpython main_autorun.py
!help- Shows all available commands!exc-print("Hello World")- Executes Python code remotely!exc-ramfucker-1073741824- Attempts to allocate 1GB of RAM!osExec-dir- Runs "dir" command in Windows CMD!sc- Takes and sends a screenshot!getPcUsage- Shows system resource usage
- 🔒 All collected data (keystrokes, screenshots) is saved to
C:\S2\on the target machine. ⚠️ The bot token provides full control over your Discord bot - keep it secret!- 🛡️
main_autorun.pywill automatically install itself to run on system startup. - 📚 This project demonstrates concepts in remote access, system monitoring, and persistence mechanisms for educational purposes.
Disclaimer: This tool is for educational demonstration only. Always obtain explicit written permission before testing on any system. Unauthorized use may violate laws and platform terms of service.