Skip to content
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

AttributeError: module 'dns.resolver' has no attribute 'LifetimeTimeout' #67

Open
moyvting opened this issue Jun 15, 2022 · 6 comments
Open

Comments

@moyvting
Copy link

看起来我像是第一个遇到这个问题的
image

@moyvting
Copy link
Author

image

粗略一改,可以先用着,坐等师傅解惑跟原版区别,有无影响

@lijiejie
Copy link
Owner

看起来应该是dnspython版本的问题。你的python版本和dnspython版本是什么?
试试
pip uninstall dnspython
然后重新安装
pip install dnspython
也许能解决这个问题。

@lijiejie
Copy link
Owner

pip install dnspython==2.2.1 -U

@atlassion
Copy link

[<class 'AttributeError'>] 'A' object has no attribute 'host'

@lijiejie
Copy link
Owner

[<class 'AttributeError'>] 'A' object has no attribute 'host'

可能是dnspython版本的问题。 可以试试 pip install dnspython -U

@atlassion
Copy link

atlassion commented Jun 15, 2022

problem in
if self.options.i and is_intranet(answers[0].host): continue
"-i" option
fix: subDomainsBrute/lib/scanner_py3.py
if self.options.i and is_intranet(str(answers[0])):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants