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

Error in dns.resolver module #172

Closed
Hax0rG1rl opened this issue Nov 10, 2022 · 3 comments
Closed

Error in dns.resolver module #172

Hax0rG1rl opened this issue Nov 10, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@Hax0rG1rl
Copy link

Describe the bug
A clear and concise description of what the bug is.

[ERRR] bbot.scanner.manager: Error in ScanManager._emit_event(): module 'dns.resolver' has no attribute 'LifetimeTimeout'

I also found this reported by some Asian guys, that seems to be related at some degree:

lijiejie/subDomainsBrute#67

Expected behavior
No error message. Subdomain enumeration magic start to happen.

BBOT Installation Method + Version

Installation method: pip

BBOT Command
bbot -t t1.lst -f subdomain-enum --name t1_scan --output-dir t1_scan

BBOT Config
image

Logs
If possible, please produce the bug while --debug is enabled, and attach the relevant parts of ~/.bbot/logs/bbot.debug.log

Screenshots
image

@Hax0rG1rl Hax0rG1rl added the bug Something isn't working label Nov 10, 2022
@TheTechromancer
Copy link
Collaborator

TheTechromancer commented Nov 14, 2022

Thanks for reporting this. I've run into it myself occasionally, and I think it's because of a conflict with another Python library on your system.

The attribute does exist as shown here:
https://github.com/rthalley/dnspython/blob/master/dns/resolver.py#L159

Can you try uninstalling BBOT (pip uninstall bbot) and installing with pipx instead? This will ensure it gets installed in its own isolated Python environment.

# install pipx
python3 -m pip install --user pipx
# add pipx to your path
python3 -m pipx ensurepath
# reboot
reboot
# install bbot
python3 -m pipx install bbot
# run bbot
bbot --help

Let me know if that helps

@Hax0rG1rl
Copy link
Author

Ok. Thank you. I will try that and provide an update. :)

@Hax0rG1rl
Copy link
Author

Right. This seems to be fixed now. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants