blacklanternsecurity / baddns

Check subdomains for subdomain takeovers and other DNS tomfoolery
GNU General Public License v3.0
92 stars 5 forks source link

unhandled anyio.EndOfStream #417

Closed liquidsec closed 6 months ago

liquidsec commented 7 months ago

2024-01-25 01:10:32,563 [TRACE] bbot.scanner scanner.py:1057 Traceback (most recent call last): ││ File "/root/bbot/bbot/scanner/scanner.py", line 1039, in _acatch ││ yield ││ File "/root/bbot/bbot/modules/base.py", line 599, in _worker ││ await handle_event_task ││ File "/root/bbot/bbot/modules/baddns.py", line 39, in handle_event ││ if await module_instance.dispatch(): ││ File "/root/.cache/pypoetry/virtualenvs/bbot-aKeTQkGo-py3.10/lib/python3.10/site-packages/baddns/modules/cname.py", line 53, in dispatch ││ await self.target_httpmanager.dispatchHttp() ││ File "/root/.cache/pypoetry/virtualenvs/bbot-aKeTQkGo-py3.10/lib/python3.10/site-packages/baddns/lib/httpmanager.py", line 28, in dispatchHttp ││ self.https_allowredirects_results = await self.http_client.get( ││ File "/root/.cache/pypoetry/virtualenvs/bbot-aKeTQkGo-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1786, in get ││ return await self.request( ││ File "/root/bbot/bbot/core/helpers/web.py", line 86, in request ││ return await super().request(*args, **kwargs) ││ File "/root/.cache/pypoetry/virtualenvs/bbot-aKeTQkGo-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1559, in request ││ return await self.send(request, auth=auth, follow_redirects=follow_redirects) ││ File "/root/.cache/pypoetry/virtualenvs/bbot-aKeTQkGo-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1646, in send ││ response = await self._send_handling_auth( ││ File "/root/.cache/pypoetry/virtualenvs/bbot-aKeTQkGo-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1674, in _send_handling_auth ││-- ││ await wrapper._call_sslobject_method(ssl_object.do_handshake) ││ File "/root/.cache/pypoetry/virtualenvs/bbot-aKeTQkGo-py3.10/lib/python3.10/site-packages/anyio/streams/tls.py", line 163, in _call_sslobject_method ││ raise EndOfStream from None ││anyio.EndOfStream

liquidsec commented 6 months ago

fixed in https://github.com/blacklanternsecurity/baddns/pull/420/commits/b115099bae3bfdb511e7a8c8685b8403ce7e7d73