A path-normalization pentesting tool using path replacements.
Install rust
bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Install pathbuster
bash
cargo add pathbuster
```bash
pathbuster 0.1.2
Blake Jacobs USAGE:
pathbuster [OPTIONS] --url OPTIONS:
-c, --concurrency ``` Fingerprinting the proxy Directory Bruteforcing Discovery Process Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change. Please make sure to update tests as appropriate. --deviation <deviation>
The distance between the responses [default: 3]
-h, --help
Print help information
--match-status <match-status>
[default: 200]
-o, --out <out>
The output file
-p, --payloads <payloads>
the file containing the traversal payloads [default: ]
-r, --rate <rate>
Maximum in-flight requests per second [default: 150]
--stop-at-first-match <stop-at-first-match>
stops execution flow on the first match [default: false]
-u, --url <url>
the url you would like to test
-V, --version
Print version information
-w, --workers <workers>
The amount of workers [default: 1]
--wordlist <wordlist>
the file containing the technology paths [default: .wordlist.tmp]
Examples
rust
$ pathbuster -u "https://example.com/api/{payload}/{payload}" -p traversals.txt --match-status 400 --deviation 2 -o output.txt
rust
$ pathbuster -u "https://example.com/api/{word}" --wordlist wordlist.txt --match-status 200 --deviation 2 -o output.txt
rust
$ pathbuster -u "https://example.com/api/v1/{payload}/{payload}/{payload}" -p traversals.txt --match-status 400,500 --deviation 2 -o paths.txt
$ pathbuster -u "https://example.com/api/v1/{payload}/{payload}" -p traversals.txt --match-status 404 --deviation 2 -o paths.txt
$ pathbuster -u "https://example.com/api/v1/{payload}/{payload}/{word}" -p traversals.txt --wordlist wordlist.txt --match-status 200 --deviation 2 -o paths.txt
Contributing
License