Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Every URL I test gives an error #20

Closed
SomediSupport opened this issue Dec 27, 2021 · 1 comment
Closed

Every URL I test gives an error #20

SomediSupport opened this issue Dec 27, 2021 · 1 comment

Comments

@SomediSupport
Copy link

馃悰 Summary

What's wrong? Please be specific.
Every URL I test gives an error

To reproduce

Steps to reproduce the behavior:

  1. Do this : python3 log4j-scan.py -u https://www.google.be

Expected behavior

What did you expect to happen that didn't?
I get an analysis of the URL

Any helpful log output or screenshots

Paste the results here:
[鈥 CVE-2021-44228 - Apache Log4j RCE Scanner
[鈥 Scanner provided by FullHunt.io - The Next-Gen Attack Surface Management Platform.
[鈥 Secure your External Attack Surface with FullHunt.io.
[鈥 Initiating DNS callback server (interact.sh).
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 665, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 996, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 314, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 164, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.VerifiedHTTPSConnection object at 0x7fd57ee852e0>, 'Connection to interact.sh timed out. (connect timeout=30)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 719, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='interact.sh', port=443): Max retries exceeded with url: /register (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7fd57ee852e0>, 'Connection to interact.sh timed out. (connect timeout=30)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "log4j-scan.py", line 369, in
main()
File "log4j-scan.py", line 341, in main
dns_callback = Interactsh()
File "log4j-scan.py", line 200, in init
self.register()
File "log4j-scan.py", line 208, in register
res = self.session.post(
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 581, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='interact.sh', port=443): Max retries exceeded with url: /register (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7fd57ee852e0>, 'Connection to interact.sh timed out. (connect timeout=30)'))

Add any screenshots of the problem here.

@genericcontributor
Copy link
Collaborator

@SomediSupport , it looks like there are various errors here.

It seems the interact.sh service was overwhelmed at the time you attempted to use it.

HTTPSConnectionPool(host='interact.sh', port=443): Max retries exceeded with url:

I'd recommend configuring your own DNS server for the testing. It's the first step here

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

No branches or pull requests

2 participants