Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcorosa/cnc-botnet-in-python
C&C Botnet written in Python with fabric
https://github.com/marcorosa/cnc-botnet-in-python
botnet fabric python
Last synced: 3 months ago
JSON representation
C&C Botnet written in Python with fabric
- Host: GitHub
- URL: https://github.com/marcorosa/cnc-botnet-in-python
- Owner: marcorosa
- License: mit
- Created: 2016-01-12T13:51:14.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2022-06-20T12:39:45.000Z (over 2 years ago)
- Last Synced: 2024-05-18T13:32:12.088Z (9 months ago)
- Topics: botnet, fabric, python
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 34
- Watchers: 3
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
username@host:port password
```If the port number is not declared, port 22 is used:
```bash
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:
```bash
username@host
```## Usage
To start the application, simply download the repository
```bash
git clone https://github.com/marcorosa/CnC-Botnet-in-Python
cd CnC-Botnet-in-Python
```Install the dependencies
```bash
pip install -r requirements.txt
```Create the _hosts.txt_ file (optional, see above), and run the start script
```bash
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
>>>
```