Skip to content

Latest commit

 

History

History
59 lines (52 loc) · 1.29 KB

README.md

File metadata and controls

59 lines (52 loc) · 1.29 KB

CnC-Botnet-in-Python

C&C Botnet written in Python

Description

Simple botnet written in Python using fabric.

The author is not responsible for the use of this code.

Hosts

It is possible to load hosts from a file hosts.txt included in the main directory of the project. The default format for this file is:

username@host:port password

If the port number is not declared, port 22 is used:

username@host password

SSH connection is the default authentication way, so if the host knows the public key of the user, it is not necessary to indicate the password:

username@host

Usage

To start the application, simply download the repository

git clone https://github.com/marcorosa/CnC-Botnet-in-Python
cd CnC-Botnet-in-Python

Install the dependencies

pip install -r requirements.txt

Create the hosts.txt file (optional, see above), and run the start script

python start.py

Example

=================================
MENU
=================================
[0] Load host from external file
[1] Add a new host
[2] Print selected hosts
[3] Check active hosts
[4] Select only active hosts
[5] Select bots
[6] Execute command locally
[7] Execute command on bots
[8] Run external script
[9] Open shell in a host
[10] Exit
>>>