-
Notifications
You must be signed in to change notification settings - Fork 530
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: 'Resolver' object has no attribute 'resolve' #190
Comments
|
I am experiencing the same issue. I don't have any ideas for fixing but wanted to comment to confirm that it is reproducible on my machine. |
|
This should be fixed in master, need to make sure you are using the latest release
…________________________________
From: someotherkyle ***@***.***>
Sent: Wednesday, June 2, 2021 11:25:40 PM
To: darkoperator/dnsrecon ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [darkoperator/dnsrecon] AttributeError: 'Resolver' object has no attribute 'resolve' (#190)
I am experiencing the same issue. I don't have any ideas for fixing but wanted to comment to confirm that it is reproducible on my machine.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#190 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA3V2QVSELZXPBRTNL43NYTTQ2VWJANCNFSM447VF7OQ>.
|
|
Appears to match the release on 4/5 0.10.1 Also |
|
Strangely enough, version 0.10.0 packaged with kali works fine on my vm -- will try rolling back to 0.10.0 on blackarch to see if the issue persists |
|
Confirmed that this issue is present in 0.10.1 and is not present in 0.10.0 on blackarch. |
|
Trying with ArcoLinux, same problem. I also tried version 0.10.0, still same issue. |
|
python-dnspython version (community, 1.16.0-3 as of today June 30th, 2021) in Arch Linux (and most likely BlackArch and ArcoLinux) uses deprecated dns.resolver.Resolver.query. Once you install python-dnspython-git from AUR and it should work. edit community version has been flagged out of date since Nov 2020 but hasn't been updated, so quick workaround is through AUR |
|
Yeah that will be the problem
…________________________________
From: Jee ***@***.***>
Sent: Wednesday, June 30, 2021 7:05:52 AM
To: darkoperator/dnsrecon ***@***.***>
Cc: J.Townsend ***@***.***>; Comment ***@***.***>
Subject: Re: [darkoperator/dnsrecon] AttributeError: 'Resolver' object has no attribute 'resolve' (#190)
python-dnspython version (community, 1.16.0-3 as of today June 30th, 2021) in Arch Linux (and most likely BlackArch and ArcoLinux) uses deprecated dns.resolver.Resolver.query. Once you install python-dnspython-git from AUR and it should work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#190 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA3V2QXTOGYSSRLXEM5PK3TTVKX4BANCNFSM447VF7OQ>.
|
|
Thanks for that, had not managed to dig into it yet but yes that is the cause for this issue. |
|
You can also install it here https://github.com/rthalley/dnspython but recommend using a virtualenv but using AUR to install the new dnspython version would be easier |
|
Thank you all for your comments. I'm a mere network administrator, so it would take me a little while to get these things up and running.
Hope this helps someone |
Feature Request or Bug or Other
Bug
Describe the feature request or bug or other
dnsrecon -d www.facebook.com
[*] std: Performing General Enumeration against: www.facebook.com...
Traceback (most recent call last):
File "/usr/share/dnsrecon/dnsrecon.py", line 1763, in
main()
File "/usr/share/dnsrecon/dnsrecon.py", line 1650, in main
std_enum_records = general_enum(res, domain, xfr, bing, yandex,
File "/usr/share/dnsrecon/dnsrecon.py", line 925, in general_enum
check_wildcard(res, domain)
File "/usr/share/dnsrecon/dnsrecon.py", line 189, in check_wildcard
ips = res.get_a(testname)
File "/usr/share/dnsrecon/lib/dnshelper.py", line 118, in get_a
answers = self.get_answers('A', host_trg)
File "/usr/share/dnsrecon/lib/dnshelper.py", line 82, in get_answers
return self.res.resolve(addr, type_, tcp=self._is_tcp)
AttributeError: 'Resolver' object has no attribute 'resolve'
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Expected it to work
System Information (System that tool is running on):
Additional context
Python is 3.9.5
I thought this may be an issue with extended ping (some of my VPN endpoints get up to ~100ms range), so I switched to a closer VPN gateway (8ms) and still the problem persists. Also tried playing with --lifetime flag but nothing changed. Then I did a full system upgrade just to be sure, still nothing.
The text was updated successfully, but these errors were encountered: