-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
报错提示Traceback (most recent call last): File "D:\Python38-32\lib\site-packages\dns\resolver.py", line 982, in nameservers raise NotImplementedError NotImplementedError #351
Comments
这是oneforall.log的全部内容 |
一样问题,昨天还能用,今天怎么用不了了 |
已解决,pip install dnspython==2.1.0 |
感谢大佬的解答,谢谢,弄了好几个小时了o(╥﹏╥)o |
是否使用了最新代码
是 v0.4.5
Bug描述
运行环境
如何复现
全新的python
pip版本更到最新
安装依赖,全部成功
执行单个域名查询命令
报错
复现命令 python oneforall.py --target baidu.com run
报错文本
06:56:48,346 [INFOR] utils:532 - Checking dependent environment
06:56:48,346 [INFOR] utils:544 - Checking network environment
06:56:48,963 [INFOR] utils:555 - Checking for the latest version
06:56:49,776 [INFOR] utils:579 - The current version v0.4.5 is already the latest version
06:56:49,776 [INFOR] oneforall:241 - Start running OneForAll
06:56:49,776 [INFOR] oneforall:246 - Got 1 domains
06:56:49,807 [INFOR] wildcard:108 - Detecting baidu.com use wildcard dns record or not
Traceback (most recent call last):
File "D:\Python38-32\lib\site-packages\dns\resolver.py", line 982, in nameservers
raise NotImplementedError
NotImplementedError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "oneforall.py", line 275, in
fire.Fire(OneForAll)
File "D:\Python38-32\lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "D:\Python38-32\lib\site-packages\fire\core.py", line 466, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "D:\Python38-32\lib\site-packages\fire\core.py", line 681, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "oneforall.py", line 252, in run
self.main()
File "oneforall.py", line 155, in main
self.enable_wildcard = wildcard.detect_wildcard(self.domain)
File "D:\OneForAll\modules\wildcard.py", line 119, in detect_wildcard
is_enable = to_detect_wildcard(domain)
File "D:\OneForAll\modules\wildcard.py", line 110, in to_detect_wildcard
if not all_resolve_success(random_subdomains):
File "D:\OneForAll\modules\wildcard.py", line 58, in all_resolve_success
resolver = utils.dns_resolver()
File "D:\OneForAll\common\utils.py", line 374, in dns_resolver
resolver = Resolver()
File "D:\Python38-32\lib\site-packages\dns\resolver.py", line 756, in init
self.read_registry()
File "D:\Python38-32\lib\site-packages\dns\resolver.py", line 858, in read_registry
self.nameservers = info.nameservers
File "D:\Python38-32\lib\site-packages\dns\resolver.py", line 984, in nameservers
raise ValueError(f'nameserver {nameserver} is not an '
ValueError: nameserver ; is not an IP address or valid https URL
预期结果
正常应该进行探测生成子域名表格
实际结果
提示好几个模块报错,尝试卸载dnspython 、fire模块重新安装,还是会报错
屏幕截图
python版本
依赖情况
报错命令
日志上传
上传oneforall.log日志文件(复杂问题建议上传)
其他补充
以为是安装包的影响,尝试为项目创建虚拟python环境并重新下载所有依赖,还是报一样的错
尝试重新安装python,3.11.0(提示fire模块), 3.6.0(pip无法更新到23.2.1),3.8.0(和3.10.7报一样的错)
The text was updated successfully, but these errors were encountered: