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

unhandled dnspython error #474

Open
liquidsec opened this issue Jun 24, 2024 · 0 comments
Open

unhandled dnspython error #474

liquidsec opened this issue Jun 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@liquidsec
Copy link
Collaborator

/home/liquid/.cache/pypoetry/virtualenvs/bbot-N1wmp7PR-py3.11/lib/python3.11/site-packages/dns/name.py:334:_validate_labels(): A DNS label is > 63 octets long.

2024-06-24 11:47:08,149 [ERROR] bbot.scanner scanner.py:1079 Error in baddns.handle_event(URL_UNVERIFIED("https://www.hyundaimobil.co.id/news/details/beli-hyundai-ioniq-5-hemat-hingga-rp...", module=excavate, tags={'endpoint', 'spider-danger', 'in-scope'})): /home/liquid/.cache/pypoetry/virtualenvs/bbot-N1wmp7PR-py3.11/lib/python3.11/site-packages/dns/name.py:334:_validate_labels(): A DNS label is > 63 octets long.
2024-06-24 11:47:08,151 [TRACE] bbot.scanner logger.py:83 Traceback (most recent call last):
File "/home/liquid/bbot/bbot/scanner/scanner.py", line 1062, in _acatch
yield
File "/home/liquid/bbot/bbot/modules/base.py", line 629, in _worker
await handle_event_task
File "/home/liquid/bbot/bbot/modules/baddns.py", line 62, in handle_event
if await task:
^^^^^^^^^^
File "/home/liquid/.cache/pypoetry/virtualenvs/bbot-N1wmp7PR-py3.11/lib/python3.11/site-packages/baddns/modules/ns.py", line 37, in dispatch
self.target_dnsmanager.answers["NS"] = await dnswalk.ns_trace(self.target)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liquid/.cache/pypoetry/virtualenvs/bbot-N1wmp7PR-py3.11/lib/python3.11/site-packages/baddns/lib/dnswalk.py", line 49, in ns_trace
solved_nameservers = await self.ns_recursive_solve(nameserver_ips, target, depth=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liquid/.cache/pypoetry/virtualenvs/bbot-N1wmp7PR-py3.11/lib/python3.11/site-packages/baddns/lib/dnswalk.py", line 88, in ns_recursive_solve
query_msg = dns.message.make_query(target, dns.rdatatype.NS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liquid/.cache/pypoetry/virtualenvs/bbot-N1wmp7PR-py3.11/lib/python3.11/site-packages/dns/message.py", line 1787, in make_query
qname = dns.name.from_text(qname, idna_codec=idna_codec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liquid/.cache/pypoetry/virtualenvs/bbot-N1wmp7PR-py3.11/lib/python3.11/site-packages/dns/name.py", line 1063, in from_text
return Name(labels)
^^^^^^^^^^^^
File "/home/liquid/.cache/pypoetry/virtualenvs/bbot-N1wmp7PR-py3.11/lib/python3.11/site-packages/dns/_immutable_ctx.py", line 40, in nf
f(*args, **kwargs)
File "/home/liquid/.cache/pypoetry/virtualenvs/bbot-N1wmp7PR-py3.11/lib/python3.11/site-packages/dns/_immutable_ctx.py", line 64, in init
super().init(*args, **kwargs)
File "/home/liquid/.cache/pypoetry/virtualenvs/bbot-N1wmp7PR-py3.11/lib/python3.11/site-packages/dns/name.py", line 373, in init
_validate_labels(self.labels)
File "/home/liquid/.cache/pypoetry/virtualenvs/bbot-N1wmp7PR-py3.11/lib/python3.11/site-packages/dns/name.py", line 334, in _validate_labels
raise LabelTooLong
dns.name.LabelTooLong: A DNS label is > 63 octets long.

@liquidsec liquidsec added the bug Something isn't working label Jun 24, 2024
@liquidsec liquidsec self-assigned this Jun 24, 2024
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

1 participant