pathbuster-0.4.2 is not a library.
Visit the last successful build:
pathbuster-0.5.6
What's New?
- Removed redundant --filter-status which filtered the status codes but also missed a ton of valid findings.
- Implement --filter-body-size which filtered the response sizes but also missed a ton of valid findings.
- Implement --drop-after-fail which will ignore requests with the same response code multiple times in a row.
- Fixed a ton of performance issues and included directory bruteforcing at the end.
- Massive performance and accuracy increases using itertools instead of double for loops reducing O(n^2) time complexity.
Installation
Install rust
|
Install pathbuster
Usage
This command will show the tool's help information and present a list of all the switches that are available.
USAGE:
pathbuster [OPTIONS] --urls <urls> --payloads <payloads> --wordlist <wordlist>
OPTIONS:
-c, --concurrency <concurrency>
The amount of concurrent requests [default: 1000]
--drop-after-fail <drop-after-fail>
ignore requests with the same response code multiple times in a row [default: 302,301]
-h, --help
Print help information
--match-status <match-status>
[default: 400]
-o, --out <out>
The output file
-p, --proxy <proxy>
The amount of concurrent requests [default: 1000]
--payloads <payloads>
the file containing the traversal payloads [default: ./payloads/traversals.txt]
-r, --rate <rate>
Maximum in-flight requests per second [default: 1000]
--timeout <timeout>
The delay between each request [default: 10]
-u, --urls <urls>
the url you would like to test
-V, --version
Print version information
-w, --workers <workers>
The amount of workers [default: 10]
--wordlist <wordlist>
the file containing the wordlist used for directory bruteforcing [default:
./wordlists/wordlist.txt]
Flags
| Flag | Description |
|---|---|
| --urls | the file containing the urls to test make sure it contains a path |
| --payloads | file containing the payloads to test |
| --match-status | status code used to match internal responses |
| --drop-after-fail | specify a status code to ignore if it reoccurs more than 5 times in a row |
| --rate | used set the maximum in-flight requests per second |
| --workers | number of workers to process the jobs |
| --timeout | the delay between each request |
| --concurrency | number of threads to be used for processing |
| --wordlist | the wordlist used for directory bruteforcing |
| --proxy | http proxy to use (eg http://127.0.0.1:8080) |
| --out | save output to a file |
| --help | prints help information |
| --version | prints version information |
Examples
Usage:
$ pathbuster --urls crawls.txt --payloads traversals.txt --wordlist wordlist.txt -o output.txt

If you find any cool bugs, it would be nice if I have some sorta appreciation such as shouting me out on your Twitter, buying me a coffee or donating to my Paypal.
I hope you enjoy
Contributing
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.
License
Pathbuster is distributed under MIT License