H4ckForJob / dirmap

An advanced web directory & file scanning tool that will be more powerful than DirBuster, Dirsearch, cansina, and Yu Jian.一个高级web目录、文件扫描工具,功能将会强于DirBuster、Dirsearch、cansina、御剑。
GNU General Public License v3.0
3.12k stars 546 forks source link

@tlhszc 应该是访问网站超时导致的问题。爬虫未给出自定义超时选项,默认5秒超时,解决方案: #13

Closed tlhszc closed 5 years ago

tlhszc commented 5 years ago

@tlhszc 应该是访问网站超时导致的问题。爬虫未给出自定义超时选项,默认5秒超时,解决方案:

#找到dirmap\lib\controller\bruter.py文件,修改第348行timeout超时参数值为30秒。
#response = requests.get(conf.url, headers=headers, timeout=5)
response = requests.get(conf.url, headers=headers, timeout=30)

使用你提供的这个网站http://testphp.vulnweb.com,测试爬虫模式,但在output文件夹内仍然没有发现文件输出

H4ckForJob commented 5 years ago

@tlhszc 您的情景是,[爬虫模式]未扫描出目录文件泄露。因为扫描到才会生成结果文件,所以output文件夹内无结果文件。您可以测试下使用[字典模式]或其他模式进行测试,观察是否能生成结果文件。