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.11k stars 546 forks source link

可以自定义绕过友好错误页面吗?没看见哪里可以配置 #57

Closed Pass-A closed 3 years ago

H4ckForJob commented 3 years ago

默认有个自动检测404

#是否自动检测404页面。默认配置True,开启自动检测404.其他配置参考e.g:True;False
#conf.auto_check_404_page = False
conf.auto_check_404_page = True

有特殊需求的话,可以配置,并修改代码实现

#自定义正则表达式,匹配页面内容
#conf.custom_response_page = "([0-9]){3}([a-z]){3}test"
conf.custom_response_page = ""