My attempt at weaponizing Discord.

Overview

MayorbotC2

ko-fi

This is my Discord C2 bot. There are many like it, but this one is mine.

MayorbotC2 is a project I absolutely forgot about until I was pilfering through my OneDrive the other day and realized that I had started writing this thing an eon ago. It provides an interesting avenue for command and control, utilizing a PRIVATE Discord server as the team server, and the Discord bot itself as the beacon or client.

This is set up to work on Windows only currently. Linux will come after I lose this thing for a while and find it again down the road.

Usage

Installing MayorbotC2

git clone https://github.com/dievus/MayorbotC2.git

Create a PRIVATE Discord Server

You can Google this one

Creating the Discord Bot

This article and the included videos is great - https://www.freecodecamp.org/news/create-a-discord-bot-with-python/. Once done, make sure to replace the token in the Python file with the token for your bot. You will also have to get the channel ID that you wish to use on the Discord server, and put it in the channel variable near the top.

Convert MayorbotC2.py to an Executable

There are different ways to do this, either with Pyinstaller, or Auto Py to EXE. Google again.

Current Commands

$custom_command <command here> - You can run just about any command you want, however if it is greater than 2000 characters it may not print. (Fix coming soon that will address this)

$cd <directory> - Change directory is working as intended. Mind that you must specify the actual directory. .. changes likely won't work.

$screenshot - Will take a screenshot, upload it to the Discord Server, and delete from the file system.

$ip - This has a tendency to print greater than 2000 characters, and if it does, it will generate a text file, upload it to the server, and delete it. Otherwise, if less than 2000 characters it will output to the server.

$sysinfo - Does what it says, and is the same as $ip above.

$filegrab - Grabs a file from the host machine and uploads it to the Discord server.

$fodhelper - None of my tools would be mine if I didn't include this. Make sure to modify the IP address in the command to your hosting server. You can change custom commands behind the -custom flag in the command.

$shutdown, $restart, $exit - These are exactly as they sound.

Mandatory Don't Do Dumb Shit Statement

This is meant for research purposes only. Please do not do anything stupid with this. Anything you do is your responsibility, and I cannot be held accountable for your stupidity should you screw up.

You might also like...
Provide discord buttons feature for discord.py

dpy_buttons wrapper library for discord.py, providing discord buttons feature. Future of the library Will be merged into discord interaction api libra

A Discord BOT that uses Google Sheets for storing the roles and permissions of a discord server.

Discord Role Manager Bot Role Manager is a discord BOT that utilizes Google Sheets for the organization of a server's hierarchy and permissions. Detai

Discord ToolBox is a discord bot developed by DJD320 created for the purpose of having some convenient tools in the form of a single bot.

Discord ToolBox Discord ToolBox is a discord bot developed by DJD320 created for the purpose of having some convenient tools in the form of a single b

🚀 An asynchronous python API wrapper meant to replace discord.py - Snappy discord api wrapper written with aiohttp & websockets

Pincer An asynchronous python API wrapper meant to replace discord.py ❗ The package is currently within the planning phase 📌 Links |Join the discord

Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API

pycord A fork of discord.py. PyCord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Mo

An asyncio Python wrapper around the Discord API, forked off of Rapptz's Discord.py.

Novus A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. A full fork of Rapptz's Discord.py library, with

MusicBot is the original Discord music bot written for Python 3.5+, using the discord.py library
MusicBot is the original Discord music bot written for Python 3.5+, using the discord.py library

The original MusicBot for Discord (formerly SexualRhinoceros/MusicBot)

Discord Panel is an AIO panel for Discord that aims to have all the needed tools related to user token interactions, as in nuking and also everything you could possibly need for raids

Discord Panel Discord Panel is an AIO panel for Discord that aims to have all the needed tools related to user token interactions, as in nuking and al

Discord music bot using discord.py, slash commands, and yt-dlp.

bop Discord music bot using discord.py, slash commands, and yt-dlp. Features Play music from YouTube videos and playlists Queue system with shuffle Sk

Owner
Joe Helle
Also known as the Mayor
Joe Helle
My attempt to reverse the Discord nitro token generation function.

discord-theory-I PART: I My attempt to reverse the Discord nitro token generation function. The Nitro generation tools thing is common in Discord now,

Jakom 29 Aug 14, 2022
An attempt to make a bot that can auto-archive Danganronpa KG RPs on Discord.

Danganronpa Killing Game Archiving Bot An attempt to make a bot that can auto-archive Danganronpa KG RPs on Discord. The final format is meant to look

Astrea 1 Nov 30, 2021
An attempt to escape the horrible JIRA editor.

An attempt to escape the horrible JIRA editor. jira_filter.py is a pandoc filter that cleans up some of JIRA's html so that it can be converted to Mar

Stefan Matting 2 Feb 10, 2022
It's a Discord bot to control your PC using your Discord Channel or using Reco: Discord PC Remote Controller App.

Reco PC Server Reco PC Server is a cross platform PC Controller Discord Bot which is a modified and improved version of Chimera for Reco-Discord PC Re

Arvinth Krishna 12 Aug 31, 2022
A small and fun Discord Bot that is written in Python and discord-interactions (with discord.py)

Articuno (discord-interactions) A small and fun Discord Bot that is written in Python and discord-interactions (with discord.py) Get started If you wa

Blue 8 Dec 26, 2022
Satoshi is a discord bot template in python using discord.py that allow you to track some live crypto prices with your own discord bot.

Satoshi ~ DiscordCryptoBot Satoshi is a simple python discord bot using discord.py that allow you to track your favorites cryptos prices with your own

Théo 2 Sep 15, 2022
Discord bot script for sending multiple media files to a discord channel according to discord limitations.

Discord Bulk Image Sending Bot Send bulk images to Discord channel. This is a bot script that will allow you to send multiple images to Discord channe

Nikola Arbov 1 Jan 13, 2022
DeKrypt 24 Sep 21, 2022
A Python wrapper for discord slash-commands, designed to extend discord.py.

dislash.py An extending library for discord.py that allows to build awesome slash-commands. ⭐

null 173 Dec 19, 2022
An Open-Source Discord bot created to provide basic functionality which should be in every discord guild. We use this same bot with additional configurations for our guilds.

A Discord bot completely written to be taken from the source and built according to your own custom needs. This bot supports some core features and is

Tesseract Coding 14 Jan 11, 2022