This repository contains code corresponding to SiegeBreaker, which, consists of these major components:
These steps are for Ubuntu 18.04 and derivatives.
Following docker image has already dependencies installed. Thus we only need to build code.
docker pull himanshusagar/ubuntu_siegebreaker
cd /home/user/
git clone https://github.com/himanshusagar/SiegeBreakerV2
cd SiegeBreakerV2/
chmod +x build_code.sh
./build_code.sh
Clone a fresh copy of code. Install Dependencies and Build Code.
git clone https://github.com/himanshusagar/SiegeBreakerV2
cd SiegeBreakerV2/
chmod +x build_dep.sh && chmod +x build_code.sh
./build_dep.sh && ./build_code.sh
Install all dependencies and code one by one.
sudo apt update && sudo apt install gcc make python-minimal libssl-dev git python-pip
sudo apt install libgmp-dev build-essential python-dev python-pip libmpfr-dev libmpc-dev
pip install seccure
pip install ryu
sudo apt install libpcap-dev
There are two signaling mechanisms in place - “smtplib/imap” and webmail. “smtplib/imap” is written in python for sending emails, when invoked by client code. Any of them can be used with client’s c code.
$ chromedriver
in terminal.pip install scapy selenium
pip install scapy easyimap
git clone https://github.com/himanshusagar/SiegeBreakerV2
cd <repo_path>/main/client/c
sudo ./client.o OD_IP 443 URL TIMEOUT
sudo ./client.o https://allowed_site.com 443 https://censored_site/100M 40
cd <repo_path>/main/proxy/
sudo ./center.o
cd <repo_path>/main/controller/
ryu-manager controller_HP3500yl.py