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

wagiro/golang-httpflood

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Golang-httpflood

Using Golang(net/socket) to httpflood

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

Using tcp socket to send Http request

1 Threads = 1 connection, Normal website about using 300-1000 connections will down 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
  • Support for IP and domain
  • Improved ssl handler

Default header setting:

  • Random user-agents
  • Random data(http post flood)
  • Random Accept

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  <ip> <port> <threads> <page> <get/post> <seconds> <header.txt/nil> <domain/nil>

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%