rwalk-0.2.3 is not a library.
Visit the last successful build:
rwalk-0.9.0
A blazing fast web directory scanner written in Rust. It's like dirsearch but faster and with less features.
Features
- Multi-threaded
- Recursive directory scanning
- Custom wordlists (merge multiple wordlists, filter out words, etc.)
- Write results to file (JSON, CSV, etc.)
- Configurable request parameters (headers, cookies, etc.)
- Save progress to resume later
- Proxy support
- Request throttling
From crates.io
Installation
Running
From source
Installation
Running
With just
With cargo
Usage
Usage: rwalk [OPTIONS] <URL> <WORDLISTS>...
Arguments:
<URL> Target URL
<WORDLISTS>... Wordlist(s)
Options:
-t, --threads <THREADS> Number of threads to use
-d, --depth <DEPTH> Maximum depth to crawl [default: 1]
-o, --output <OUTPUT> Output file
-T, --timeout <TIMEOUT> Request timeout in seconds [default: 5]
-u, --user-agent <USER_AGENT> User agent
-q, --quiet Quiet mode
-m, --method <METHOD> HTTP method [default: GET]
-d, --data <DATA> Data to send
-H, --headers <key:value> Headers to send
-c, --cookies <key=value> Cookies to send
-I, --case-insensitive Case insensitive
-F, --follow-redirects <FOLLOW_REDIRECTS> Follow redirects [default: 0]
-h, --help Print help
-V, --version Print version
Benchmarks
The following benchmarks were run on a 2023 MacBook Pro with an M3 Pro chip on a 10 Gbps connection via WiFi. The target was http://ffuf.me/cd/basic and the wordlist was common.txt. The threads used were the default from each tool.
Each tool was run 10 times with 100 threads. The results are below:
| Command | Mean [s] | Min [s] | Max [s] | Relative |
|---|---|---|---|---|
rwalk https://google.com ~/Downloads/common.txt -t 100 |
6.068 ± 0.146 | 5.869 | 6.318 | 1.15 ± 0.03 |
dirsearch -u https://google.com -w ~/Downloads/common.txt -t 100 |
14.263 ± 0.250 | 13.861 | 14.719 | 2.70 ± 0.07 |
ffuf -w ~/Downloads/common.txt -u https://google.com/FUZZ -t 100 |
5.285 ± 0.090 | 5.154 | 5.358 | 1.00 |
ffuf is the fastest tool... but not by much. rwalk is only 1.15x slower than ffuf and 2.7x faster than dirsearch. Not bad for a first release!
License
Licensed under the MIT License.