Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
DiscordRAT — Discord Remote Administration Tool fully written in Python3 | Kitploit
Tools/GitHubGitHub/sp00kyskelet0n/discordrat
Privilege EscalationPersistence MechanismsLateral MovementData ExfiltrationInformation GatheringPost-ExploitationCommand and ControlRemote Access TrojanArchived
GitHubsp00kyskelet0n/discordrat

DiscordRAT

Discord Remote Administration Tool fully written in Python3

4881104 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository

DiscordRAT V2

Discord Remote Administration Tool fully written in Python3.

This is a RAT controlled over Discord with over 20 post exploitation modules.

Disclaimer:

This tool is for educational use only, the author will not be held responsible for any misuse of this tool.

Setup Guide:

You will first need to register a bot with the Discord developper portal and then add the bot to the server that you want (make sure bot has administrator privileges). Once the bot is created copy the token of your bot and paste it at line 17.

Install requirements :

root@kitploit:~
pip3 install -r requirements.txt

Then if steps above were succesful after launching the python file by doing python DiscordRAT , or launching the executable , it will create a new channel and post a message on the server with a generated session number.
Now your bot should be available to use !

Requirements:
Python3,Windows(x64)

Compiling to exe (optional):
If you want to compile the bot to exe you can use PyInstaller.
Inside the directory of the bot execute

root@kitploit:~
PyInstaller --onefile --noconsole DiscordRAT.py

Or

root@kitploit:~
python3 -m PyInstaller --onefile --noconsole "DiscordRAT.py"

If an error occured during compiling try to import the discord module

root@kitploit:~
PyInstaller --onefile --noconsole --hidden-import=discord DiscordRAT.py

Modules

root@kitploit:~
Availaible commands are :
--> !message = Show a message box displaying your text / Syntax  = "!message example"
--> !shell = Execute a shell command /Syntax  = "!shell whoami"
--> !webcampic = Take a picture from the webcam
--> !windowstart = Start logging current user window (logging is shown in the bot activity)
--> !windowstop = Stop logging current user window 
--> !voice = Make a voice say outloud a custom sentence / Syntax = "!voice test"
--> !admincheck = Check if program has admin privileges
--> !sysinfo = Gives info about infected computer
--> !history = Get computer navigation history
--> !download = Download a file from infected computer
--> !upload = Upload file from website to computer / Syntax = "!upload file.png" (with attachment)
--> !cd = Changes directory
--> !write = Type your desired sentence on infected computer
--> !wallpaper = Change infected computer wallpaper / Syntax = "!wallpaper" (with attachment)
--> !clipboard = Retrieve infected computer clipboard content
--> !geolocate = Geolocate computer using latitude and longitude of the ip adress with google map / Warning : Geolocating IP adresses is not very precise
--> !startkeylogger = Starts a keylogger / Warning : Likely to trigger AV 
--> !stopkeylogger = Stops keylogger
--> !dumpkeylogger = Dumps the keylog
--> !volumemax = Put volume at 100%
--> !volumezero = Put volume at 0%
--> !idletime = Get the idle time of user's on target computer
--> !sing = Play chosen video in background
--> !stopsing = Stop video playing in background
--> !blockinput = Blocks user's keyboard and mouse / Warning : Admin rights are required
--> !unblockinput = Unblocks user's keyboard and mouse / Warning : Admin rights are required
--> !screenshot = Get the screenshot of the user's current screen
--> !exit = Exit program
--> !kill = Kill a session or all sessions except current one / Syntax = "!kill session-3" or "!kill all"

Advice:

If you have problems with the installation of win32api or other modules , try installing it in a python virtual environment.
Please avoid opening issues about module related errors as it is caused by your python installation and not a problem inherent of DiscordRAT.
If you encounter "AttributeError: module 'enum' has no attribute 'IntFlag'" while compiling to Pyinstaller please do :

root@kitploit:~
pip uninstall enum34
Download Tool