Skip to content

Golang httpflood(socket) can down a normal website in 10s with 100 connections

License

Notifications You must be signed in to change notification settings

Leeon123/golang-httpflood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Golang-httpflood

Using Golang(net/socket) to httpflood

Warning: Please use command "ulimit -n 999999" before use this in linux

1 Threads = 1 connection, 100~300 connections can down a normal website in 10s(specially apache server LOL)

This is golang and threads are just goroutines so you set more higher threads like 1000-5000 is fine.

Why can it run over 1000 threads(goroutines)? Read this

INFO

  • HTTP Get Flood
  • HTTP Post Flood
  • Random url(http get flood)
  • Self edit header(You can use "nil" to use default header)
  • Improved threading control
  • More powerful flood
  • Auto get ip form domain(golang inbuilt function)
  • More format for random url(http get flood)
  • Fixed for 386 systems

Default header setting:

  • Random user-agents
  • Random data(http post flood)
  • Random Accpetall
  • Random Referer(only for http get flood)

Download

Please download the F*cking golang at first.

Then:

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

Header.txt format:

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

Or anything else of http header. If you don't have any idea of this please just use "nil" for using default random header.

Usage

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