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.

Owner
Joe Helle
Also known as the Mayor
Joe Helle
Python wrappers for INHECO ODTC and SCILA libraries by INHECO GmbH.

Python wrappers for INHECO ODTC and SCILA libraries by INHECO GmbH.

1 Feb 09, 2022
Joins a specified server on all the tokens

Joins a specified server on all the tokens. Usage python -m pip install requests python joiner.py Note Your tokens must be located in a text file call

1 Dec 21, 2021
A fork of discord.py for anime enjoyers

A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using async and await

Senpai Development 4 Nov 05, 2021
Use Seaborn to visualize interpret the byte layout of Solana account types

solana-account-vis Use Seaborn to visually interpret the byte layout of Solana account types Usage from account_visualization import generate_account_

Jarry Xiao 15 Aug 25, 2022
A Python script that wraps the gitleaks tool to enable scanning of multiple repositories in parallel

mpgitleaks A Python script that wraps the gitleaks tool to enable scanning of multiple repositories in parallel. The motivation behind writing this sc

Emilio Reyes 7 Dec 29, 2022
A Rich renderable for viewing Multiple Sequence Alignments in the terminal.

rich-msa A simple module to render colorful Multiple Sequence Alignment with rich in the terminal. 🔧 Installing Install the rich-msa package directly

Martin Larralde 64 Dec 04, 2022
AWS Workmail Migration Tool

WMigrate A tool for migrating AWS Workmail Users and Groups cross region and cross accounts. It also creates user and group aliases and adds the users

NK 1 Oct 27, 2021
AKShare is an elegant and simple financial data interface library for Python, built for human beings

AKShare is an elegant and simple financial data interface library for Python, built for human beings

AKFamily 5.8k Dec 30, 2022
Pdisk Link Converter Telegram Bot, Convert link in a single click

Pdisk Converter Bot Make short link by using Pdisk API key Installation The Easy Way Required Variables BOT_TOKEN: Create a bot using @BotFather, and

Ayush Kumar Jaiswal 6 Jul 28, 2022
Personal Discord Python Bot based on Discord.py

Personal Discord bot using the discord.py library by Rapptz

2 Dec 14, 2022
Advance Anonymous Sender bot with Caption Editor

AnonyMous Sender 👨‍💻 Advanced Anonymous Sender with Caption Editor Join @DaisySupport_Official 🎵 for help Features Get forwarded messages without f

Inuka Asith 13 Oct 09, 2022
A Python Library to interface with Tumblr v2 REST API & OAuth

Tumblpy Tumblpy is a Python library to help interface with Tumblr v2 REST API & OAuth Features Retrieve user information and blog information Common T

Mike Helmick 125 Jun 20, 2022
Terminal Bot which will Execute your Commands From telegram bot!

Terminal-Bot see this bot alive: https://t.me/HerokuTerminal_Bot With this bot you can execute system commands on your server. how to config? clone or

Moshe 41 Dec 09, 2022
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
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

Voxel Fox 60 Jan 03, 2023
PYthon Warframe Market API(pywmapi)

pywmapi PYthon Warframe Market API(pywmapi) API for warframe market, written in Python. For now, the implemented function is listed below: auth sign i

AyajiLin 7 Dec 11, 2022
A telegram mirror bot with an integrated RSS feed reader.

About What is this repo? This is a slightly modified fork which includes some extra features & memes added to my liking. How's this different from the

11 May 15, 2022
Repository for the IPvSeeYou talk at Black Hat 2021

IPvSeeYou Geolocation Lookup Tool Overview IPvSeeYou.py is a tool to assist with geolocating EUI-64 IPv6 hosts. It takes as input an EUI-64-derived MA

57 Nov 08, 2022
Url-shortener - A url shortener made in python using the API's from the pyshorteners lib

URL Shortener Um encurtador de link feito em python usando as API's da lib pysho

Spyware 3 Jan 07, 2022
discord.xp Bot, counts XP for members

discord.xp Bot, counts XP for members. How to setup and run? You must have an mysql database Download libs from the requirements.txt file Configurize

irwing 4 Feb 05, 2022