Skip to content

HTTP Botnet in C, Cross Compilable. (Layer 7 - Layer 4) - 11 Methods

License

Notifications You must be signed in to change notification settings

PandeoF1/px_botnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P&X - BOTNET

Development repo for educational purpose only (Made for fun) !

GitHub code size in bytes Number of lines of code Code language count GitHub top language GitHub last commit


Description :

This is a botnet made for educational purpose only.
Based on http server and c client with cross platform support.
Equiped with 11 methods - Layer 7 and Layer 4 (TCP & UDP).
Based on boostrap frontend.
Using Encom DOME for a nice and clean interface.

Please note that this is a development repo, if you find some bug / segfault...
Please provide a pull request / Issues.

Some script are based on random project from internet.
So they are not tested at 100%.

This project is a fork of Crunchrat.
But i have made some changes to make it more usable.
I have remove the C# client to replace it by a C client to make it cross platform and more easly to use.
If you want to use it on windows, you can use the C# client but you will need to adapt the new api.
Or you can try to made a fork/pull requests of this project and adapt it for windows ;p !

Setup :

Server :

(sudo) apt install apache2 php mariadb-server mariadb-client php php-cli php-fpm php-json php-pdo php-mysql php-zip php-gd  php-mbstring php-curl php-xml php-pear php-bcmath
(sudo) mkdir /var/www/html
(sudo) mv WEB/* /var/www/html/
       cd ../DB
(sudo) mysql
MYSQL:
	CREATE DATABASE IF NOT EXISTS px_base;
	USE px_base;
	SOURCE db.sql;
	CREATE USER 'px_user'@'localhost' IDENTIFIED BY 'px_pass';
	GRANT ALL PRIVILEGES ON * . * TO 'px_user'@'localhost';
	FLUSH PRIVILEGES;

Now configure config/config.php with the same credentials of the mysql part. (Default user: px_user, pass: px_pass and db: px_base)

Server (Under Docker) (Configuration is inside docker-compose.yml) :

       cd ./DOCKER
(sudo) make

Open bash under docker :

(sudo) make bash

Client :

(sudo) apt install gcc make

cd BOT && make

cd url_hider && ./url_hider "your url without http ex : api.pandeo.fr"

Edit includes/px_botnet.h 
                          - stringifer with your url hided
                          - download_url with url of bash script for the auto propagation

make re

If you want to cross compile, use : "make everything"

Usage :

Website : Default user/pass: test test Bot: Execute the binaries on the computer of the victim

Demo :

image description

Tools :

Sources :

Collaborators :

(づ。◕‿‿◕。)づ :

 ██▓███        ▒██   ██▒
▓██░  ██▒      ▒▒ █ █ ▒░
▓██░ ██▓▒      ░░  █   ░
▒██▄█▓▒ ▒       ░ █ █ ▒ 
▒██▒ ░  ░      ▒██▒ ▒██▒
▒▓▒░ ░  ░      ▒▒ ░ ░▓ ░
░▒ ░           ░░   ░▒ ░
░░              ░    ░