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
Retrieves GitHub Stats via `git_api` and flask.

GitHub User Search Created using Python3 and git_api, coded by JBYT27. About This is a project I decided to make for Kajam, but I decided to choose a

an aspirin 4 May 11, 2022
Automatically copy the Discord Status of a Friend you share a server with (conditions have to be satisfied to work)

CopyDiscordStatusOfUser-SelfBot Basic Function Automatically copy the Discord Status of a friend User whom you share a server with (These conditions h

Certified Baller 5 Aug 05, 2022
IdeasBot - Funny telegram bot to generate ideas for a project

Repository of PIdeas_bot About Funny telegram bot for generating projects ideas.

Just Koala 5 Oct 16, 2022
Say "good morning" on Discord, in batch, one-click.

🌞 gm Good Morning! Usage Simply copy the channel_list to gm.py and fill authorization_list with authorization token(s). Enjoy. Authorization Please r

e 3 Nov 18, 2022
It's a simple python script to take backup of directories (compressing) then the same to move your mentioned S3 bucket with the help of AWS IAM User.

Directory Backup Moved to S3 (Pyscript) Description Here it's a python script that needs to use this script simply create a directory backup and moved

Yousaf K Hamza 3 Mar 04, 2022
Connect your Nintendo Switch playing status to Discord!

Disclaimer: Unfortunately, it appears that Nintendo has removed returning self-Presence in their API as of recently, making this project near obsolete

Deltaion Lee 145 Dec 30, 2022
Enables you to execute scripts and perform API requests in MikroTik router

HomeAssistant component: MikroTik API The mikrotik_api platform enables you to execute scripts and perform API requests in MikroTik router To enable M

Pavel S 6 Aug 12, 2022
Uma API pública contendo informações sobre o unvierso de Roberto Gomez Bolaños.

Chespirito API Objetivo Esta API tem como objetivo ser um ponto de referência para a procura sobre todo o universo do grande Roberto Gomez Bolaños, ta

Pery Lemke 6 Feb 02, 2022
A Multi-Tool with 30+Options.

A Multi-Tool with 30+Options.

Mervin404 15 Apr 12, 2022
Apprise - Push Notifications that work with just about every platform!

ap·prise / verb To inform or tell (someone). To make one aware of something. Apprise allows you to send a notification to almost all of the most popul

Chris Caron 7.2k Jan 07, 2023
A telegram bot to read RSS feeds

Telegram bot to fetch RSS feeds This is a telegram bot that fetches RSS feeds in regular intervals and send it to you. The feed sources can be added o

Santhosh Thottingal 14 Dec 15, 2022
Discord Bot for League of Legends live match tracker

SABot Dicord Bot for League of Legends match auto tracker Features: Search Summoners statistics in League of Legends. Auto-notifications provide when

Jungyu Choi 4 Sep 27, 2022
A Telegram bot for playing Trop Bon Cadavre.

Trop Bon Cadavre A Telegram bot for playing Trop Bon Cadavre (english: very good corpse), a game freely adapted from the french Cadavre exquis. A game

4 Oct 26, 2021
A simple API Wrapper for Guilded.

Guildr A simple API Wrapper for Guilded. Frequently updated! I am not a user of Guilded, meaning I do not keep track of new Guilded updates or patches

2 Mar 07, 2022
A part of HyRiver software stack for accessing hydrology data through web services

Package Description Status PyNHD Navigate and subset NHDPlus (MR and HR) using web services Py3DEP Access topographic data through National Map's 3DEP

Taher Chegini 51 Dec 10, 2022
A small bot to interact with the reddit API. Get top viewers and update the sidebar widget.

LiveStream_Reddit_Bot Get top twitch and facebook stream viewers for a game and update the sidebar widget and old reddit sidebar to show your communit

Tristan Wise 1 Nov 21, 2021
Python wrapper for the Intercom API.

python-intercom Not officially supported Please note that this is NOT an official Intercom SDK. The third party that maintained it reached out to us t

Intercom 215 Dec 22, 2022
VideocompBot - This is TG Video Compress BoT. Prouduct By BINARY Tech 💫

VideocompBot - This is TG Video Compress BoT. Prouduct By BINARY Tech 💫

1 Jan 04, 2022
Telegram Group Chat Statistics With Python

Telegram Group Chat Statistics How to Run First add PYTHONPATH in repository root directory enviroment variable by running: export PYTHONPATH=${PWD}

Sina Nazem 3 Apr 18, 2022
A simple, multipurpose Discord bot.

EpicBot 🏅 A simple, multipurpose Discord bot. • Info EpicBot is a multipurpose Discord bot that was designed to make your Discord life easier and coo

Nirlep_5252_ 130 Dec 29, 2022