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

fuzz mode TypeError: 'NoneType' object is not iterable #67

Closed Ran-Xing closed 2 years ago

Ran-Xing commented 3 years ago
 ✗ dirmap -i 10.1.8.172 -lcf       

                     #####  # #####  #    #   ##   #####
                     #    # # #    # ##  ##  #  #  #    #
                     #    # # #    # # ## # #    # #    #
                     #    # # #####  #    # ###### #####
                     #    # # #   #  #    # #    # #
                     #####  # #    # #    # #    # #   v1.0

[*] Initialize targets...
[+] Load targets from: 10.1.
[+] Set the number of thread: 30
[+] Coroutine mode
[+] Current target: http://10.1.                                   
[*] Launching auto check 404
[+] Checking with: http://10.1/rjdggechhjxrmebimyyyoylrfegkmilasxxoxfvjpo
[*] Use recursive scan: Yes                                                    
[*] Use fuzz mode
Traceback (most recent call last):
  File "/dirmap/lib/controller/engine.py", line 44, in scan
    bruter(target)
  File "/dirmap/lib/controller/bruter.py", line 573, in bruter
    for payload in payloads.all_payloads:
TypeError: 'NoneType' object is not iterable
Mr-LiT commented 3 years ago

This bug is due to the fuzz mode being turned on But I don't know why this bug appers, I'm still looking for the reason

H4ckForJob commented 2 years ago

可能是插入的标签未转义照成的问题,例如fuzz的标签为{dir},那么{}需要转义。 另外一种解决方案是更改fuzz标签为其他字符串,详情见配置项conf.fuzz_mode_label

hary654321 commented 1 year ago

还是有这个问题啊