使用暴力破解方法论探测并发现HTTP路径名,并通过特定单词或同时两个单词进行过滤。

暴力破解网站目录或HTTP路径名,并使用HTTP响应码进行验证的方式已不再适用。本工具将帮助您执行渗透测试,因为它能够通过特定单词或同时两个单词来验证目录,结果更加准确。
git clone https://github.com/xchopath/pathprober
cd pathprober/
pip3 install -r requirements.txt
多目标、多路径、多单词:
python3 pathprober.py -T target.txt -P path.txt -w "APP_NAME" -w2 "DB_PASSWORD"
单目标、多路径、单单词:
python3 pathprober.py -t https://redacted.com/ -P path.txt -w "APP_NAME"
多目标、单路径、多单词,并将输出保存到文件:
python3 pathprober.py -T target.txt -p /.env -w "APP_NAME" -w2 "TWILIO" -o output.txt
bash:~/pathprober$ python3 pathprober.py --help
___ ____ ___ _ _ ___ ____ ____ ___ ____ ____
|__] |__| | |__| |__] |__/ | | |__] |___ |__/
| | | | | | | \ |__| |__] |___ | \
Probe HTTP pathname filtered by words
usage: pathprober.py [-h] [-t https://example.com] [-p pathname] [-T target.txt] [-P path.txt] [-w Word] [-w2 Word] [-o output.txt]
PathProber - Probe and discover HTTP pathname using brute-force methodology and filtered by specific word or 2 words at once
optional arguments:
-h, --help show this help message and exit
-t https://example.com
Single website target
-p pathname Single pathname
-T target.txt Multiple target separated by newline
-P path.txt Multiple pathname separated by newline
-w Word A word that you want to find in a path
-w2 Word A second word that you want to find in a path
-o output.txt Save the results to file