The Discord Python RAT (Remote Administration Tool) is a project designed to provide remote administration capabilities using Discord as the communication platform. It leverages the Discord Bot API to manage and control a system remotely through various commands. This document aims to explain the functionalities of each module (feature) and provide examples of how to use them.
| Command | Description |
|---|---|
| .help | Shows this message |
| .ping | Latency delay of the bot |
.cd <directory> |
Change Directory |
| .ls | List Directory |
.export <file> |
Export File into link |
.upload <link> |
Upload File from link |
.cmd <cmd> |
Execute CMD Command |
.run <file> |
Run a File |
| .ss | Take a Screenshot of the first monitor |
| .blue | Sends a bluescreen ;) |
| .start | Adds the bot to the startup directory |
| .exit | Closes the connection to the bot |
| .reload | Reloads the connection to the bot |
| .volumeup | Increase the system volume |
| .volumedown | Decrease the system volume |
| .admincheck | Check admin privileges |
| .location | Get location information |
| .clipboard | Get clipboard content |
.wallpaper <image_file> |
Change wallpaper |
| .shell | Execute shell command |
| .input | Send keystrokes |
| .type | Type text |
| .say | Text to speech |
| ⚠.message⚠ | Display message box (WIP) |
| ⚠.mouse⚠ | Display mouse grid (WIP) |
Displays a list of available commands with their descriptions.
Example:
YOU>.help
CLIENT>
.help - Shows this message
.ping - Latency delay of the bot
.cd <directory> - Change Directory
.ls - List Directory
.export <file> - Export File into link
.upload <link> - Upload File from link
.cmd <cmd> - Execute CMD Command
.run <file> - Run a File
.ss - Take a Screenshot of the first monitor
.blue - Sends a bluescreen ;)
.start - Adds the bot to the startup directory
.exit - Closes the connection to the bot
.reload - Reloads the connection to the bot
.volumeup - Increase the system volume
.volumedown - Decrease the system volume
.admincheck - Check admin privileges
.location - Get location information
.clipboard - Get clipboard content
.wallpaper - Change wallpaper
.export - Export file into link
.upload - Upload file from link
.shell - Execute shell command
.run - Run command
.cd - Change directory
.input - Send keystrokes
.type - Type text
.say - Text to speech
.message - Display message box
.mouse - Display mouse grid
Shows the latency delay of the bot in milliseconds.
Example:
YOU>.ping
CLIENT>
Pong!
jk here's the latency: 203ms
Change the current working directory.
Example:
YOU>.cd C:\Users\Username\Documents
CLIENT>
Changed Directory > C:\Users\Username\Documents
List files in the current directory.
Example:
YOU>.ls
CLIENT>
Files > C:\Users\Username\Documents
file1.txt
file2.doc
Export a file and provide a link.
Example:
YOU>.export example.txt
CLIENT>
Export
https://example.com/file.txt
Upload a file from a provided link.
Example:
YOU>.upload https://example.com/file.txt
CLIENT>
Uploaded file in current directory:
C:/example/directory/example.txt
Execute a command using CMD.
Example:
YOU>.cmd ipconfig
CLIENT>
CMD Output:
Windows IP Configuration
...
Run an executable file.
Example:
.run program.exe
(no output)
Take a screenshot of the first monitor.
Example:
YOU>.ss
CLIENT>
(Screenshot of Desktop)
Trigger a bluescreen on the system.
Example:
YOU>.blue
CLIENT>
Attempting...
Blue Successful!
Add the bot to the system's startup directory.
Example:
YOU>.start
CLIENT>
Bot added to startup directory
Close the connection to the bot.
Example:
YOU>.exit
CLIENT>
Connection closed
Reload the connection to the bot.
Example:
YOU>.reload
CLIENT>
Reloading, please be patient...
Connection reloaded
Increase the system volume to 100%.
Example:
YOU>.volumeup
CLIENT>
Volume is set to 100%
Decrease the system volume to 0%.
Example:
YOU>.volumedown
CLIENT>
Volume is set to 0%
Check if the bot has admin privileges.
Example:
YOU>.admincheck
CLIENT>
Congrats, you're admin
Get the current geolocation information.
Example:
YOU>.location
CLIENT>
Location: http://www.google.com/maps/place/latitude,longitude
Get the content of the system clipboard.
Example:
YOU>.clipboard
CLIENT>
Clipboard content is:
This is clipboard text
Change the system wallpaper.
Example:
YOU>.wallpaper <attached image>
CLIENT>
Changed wallpaper
Send a combination of keystrokes.
Example:
YOU>.input Ctrl Alt Delete
CLIENT>
Sent keystroke: Ctrl+Alt+Delete
Type specified text as if it were typed by a keyboard.
Example:
YOU>.type Hello, World!
CLIENT>
Sent: Hello, World!
Convert text to speech and play it.
Example:
YOU>.say Hello, how are you?
CLIENT>
Just said: Hello, how are you?
Execute a shell command on the system.
Example:
.shell dir
CLIENT>
(shell output)
Run a command on the system using subprocess.
Example:
.run notepad.exe
(no output)
Display a message box on the system.
Display a grid on the screen to help locate the mouse pointer.
Example:
.mouse large
Note: The large argument specifies the size of
the grid (large, medium, small, tiny).
I welcome contributions from the community to enhance and improve this project. If you're interested in contributing, follow these steps:
-
Fork the Repository: Start by forking the project repository to your GitHub account. This will create a copy of the project under your account.
-
Clone the Repository: Clone the forked repository to your local machine using the following command:
git clone https://github.com/your-username/repository.git
-
Create a Branch: Create a new branch for your changes. This helps in isolating your work from the main codebase.
git checkout -b feature-name
-
Make Changes:
- Make a Discord bot
- Make it admin and give it all permissions
- Invite the Discord bot into your Server
- Make a new File called
Settings.pyin the same directory as main.py - add following code:
bot_token ="<INSERT YOUR BOT TOKEN>" guild_id = <ID OF YOUR DISCORD-SERVER>
- Implement your changes while adhering to best coding practices and using common sense. Write clear and concise code that follows the existing style and structure.
-
Test Your Changes: Ensure that your changes work as expected and do not introduce any new issues. If they do its not bad its just... difficult.
-
Commit Changes: Once you are satisfied with your changes, commit them with a clear and descriptive commit message.
git commit -m "Add feature: your feature name" -
Push Changes: Push your changes to your forked repository on GitHub.
git push origin feature-name
-
Create a Pull Request (PR): Open a pull request from your forked repository to the main project repository. Provide a detailed description of your changes, and our team will review it.
When contributing, please adhere to the following guidelines:
- Follow best coding practices relevant to the programming language used.
- Write clear and meaningful commit messages.
- Keep your codebase well-documented.
- Ensure your changes do not break existing functionality.
- Use common sense to make decisions that contribute to the overall improvement of the project.
Thank you for considering contributing to our project! Your efforts help make this project better for everyone
I will try to give you credits for what you did and how it helped in the project!
