0x00 : 简介
dirsearch
是一个很好用的目录扫描工具
但我觉得可以发挥更大的用处 不要你觉得
于是写了一个小工具
0x01 : 起因
dirsearch
的一条命令
python3 dirsearch.py -L test.txt -e php --json-report=./test.json
可以通过dirsearch
扫描test.txt
中的所有域名,然后将扫描的结果输出到test.json
文件中
但在test.json
中只保存了最后一个域名的结果,于是写了个小工具整合结果
0x02 : json数据
dirsearch
输出的json
数据如下 :
{
"http://www.test.com/": [
{
"content-length": 166,
"path": "%2e%2e//google.com",
"redirect": null,
"status": 400
},
{
"content-length": 578,
"path": "AddressBookW2JE/services/AddressBook",
"redirect": null,
"status": 504
}
]
}
0x03 : 结果
0x04 : 开源
写着玩
还不快抢沙发