-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oneforall报错'NoneType' object is not iterable #8
Comments
传递的值是什么,单独执行oneforall试试 |
return data,records时候records为空,对比目前新版oneforall的common/resolve.py文件,未对records为空的情况进行判断 |
onerforall 单独执行某子域名时不会触发,当新建任务为*.baidu.com等格式时必现 |
这个问题有点严重,作者请问什么时候解决一下? |
可是这样下来,上千个子域名,只入库了2个子域。。。。 |
我记得旧版没有这个问题的 |
刚刚测试了下,并没有任何问题。解析子域名ip正常,你应该是扫描的泛解析的域名,解析对应的IP都是一样的不正确的。你可以换个普通域名试试 |
猜测应该是输入的格式错误了,当你输入*.baidu.com时,程序会过滤*.为空。所以剩余baidu.com是正确的。但是输入错误了(如空格.什么的),所以输入待扫描时请检查输入的格式是否为.domain。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "client/subdomain/oneforall/sbudomain_run.py", line 200, in
main()
File "client/subdomain/oneforall/sbudomain_run.py", line 89, in main
subdomain.run()
File "client/subdomain/oneforall/sbudomain_run.py", line 25, in run
OneForAll(self.host).run()
File "/Watchdog/Watchdog/client/subdomain/oneforall/../../../client/subdomain/oneforall/oneforall.py", line 237, in run
self.main()
File "/Watchdog/Watchdog/client/subdomain/oneforall/../../../client/subdomain/oneforall/oneforall.py", line 193, in main
self.data = resolve.run_resolve(self.domain, self.data)
File "/Watchdog/Watchdog/client/subdomain/oneforall/../../../client/subdomain/oneforall/common/resolve.py", line 164, in run_resolve
data = update_data(data, records)
File "/Watchdog/Watchdog/client/subdomain/oneforall/../../../client/subdomain/oneforall/common/resolve.py", line 39, in update_data
items.update(record)
TypeError: 'NoneType' object is not iterable
18:18:13,591 [INFOR] utils:557 - 结束执行massdns
18:18:13,592 [INFOR] resolve:68 - 正在处理解析结果
The text was updated successfully, but these errors were encountered: