Documentation ¶
Index ¶
- func ClosingLine() string
- func Dialer(url *url.URL, secure bool) (net.Conn, error)
- func GetRequestLine(path string) string
- func Header(key, val string) string
- func RandomHeader() string
- func Slowloris(ctx context.Context, index int64, options Options) error
- func SlowlorisUrl(rawURL string, count int64, interval time.Duration, timeout time.Duration) error
- func Zoo(o Options) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dialer ¶
Dialer creates either non-secure or TLS secured TCP connection to send data to target server
func GetRequestLine ¶
GetRequestLine returns HTTP request line for GET request
func RandomHeader ¶
func RandomHeader() string
RandomHeader generates a random HTTP header to send as part of the slowloris attack
func Slowloris ¶
Slowloris performs single threaded slow loris attack. If you want to run distributed attack, just run multiple calls of the function over the same URL.
func SlowlorisUrl ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.