Skip to content

Discord bot which allows discord users to access the underlying system which it is run on

Notifications You must be signed in to change notification settings

RocketGod-git/shell-access-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shell-access-discord-bot

WARNING

This Discord bot, intended for educational purposes, demonstrates a potential security vulnerability associated with arbitrary code execution or system access from user input. The bot includes a command for users to execute arbitrary shell commands using the "!shell" command. This should only be used in a controlled and secure environment.

The bot's feature includes: 1. Executing arbitrary shell commands using the "!shell" command. Tested and working on Windows and Linux.

Please use this bot responsibly and understand the associated security risks of its functionality.

RocketGod

INSTALLATION INSTRUCTIONS

  1. Clone the repository to your local machine:
    git clone https://github.com/RocketGod-git/shell-access-discord-bot.git
    
  2. Navigate into the project's directory:
    cd shell-access-discord-bot
    
  3. Install the necessary Python packages. This bot requires Python 3.7 or newer, and the discord.py library:
    pip install discord
    
  4. Update the config.json file with your bot's token. The config.json file should look something like this:
    {
        "DISCORD_BOT_TOKEN": "your-token-here",
    	"CHANNEL_ID": "123456789012345678replaceme"
    }
  5. Run the bot with the following command:
    python shell-bot.py
    

RocketGod

About

Discord bot which allows discord users to access the underlying system which it is run on

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages