thewhiteh4t / seeker

Accurately Locate Smartphones using Social Engineering
MIT License
6.71k stars 1.62k forks source link

104, 'Connection reset by peer' #488

Open JonasTao opened 7 months ago

JonasTao commented 7 months ago

Describe the Error / Feature Request


When I sent the attack link, the system information was returned, but the coordinates were not returned and an error was reported.

Traceback (most recent call last): File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connection.py", line 411, in connect self.sock = ssl_wrapsocket( ^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/urllib3/util/ssl.py", line 428, in ssl_wrap_socket ssl_sock = _ssl_wrap_socketimpl( ^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/urllib3/util/ssl.py", line 472, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/ssl.py", line 517, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/ssl.py", line 1075, in _create self.do_handshake() File "/usr/lib/python3.11/ssl.py", line 1346, in do_handshake self._sslobj.do_handshake() ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/kali/.local/lib/python3.11/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/urllib3/util/retry.py", line 532, in increment raise six.reraise(type(error), error, _stacktrace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/urllib3/packages/six.py", line 734, in reraise raise value.with_traceback(tb) File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/kali/.local/lib/python3.11/site-packages/urllib3/connection.py", line 411, in connect self.sock = ssl_wrapsocket( ^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/urllib3/util/ssl.py", line 428, in ssl_wrap_socket ssl_sock = _ssl_wrap_socketimpl( ^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/urllib3/util/ssl.py", line 472, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/ssl.py", line 517, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/ssl.py", line 1075, in _create self.do_handshake() File "/usr/lib/python3.11/ssl.py", line 1346, in do_handshake self._sslobj.do_handshake() urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/kali/Desktop/seeker/seeker.py", line 440, in wait() File "/home/kali/Desktop/seeker/seeker.py", line 274, in wait data_parser() File "/home/kali/Desktop/seeker/seeker.py", line 319, in data_parser rqst = requests.get(f'https://ipwhois.app/json/{var_ip}') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/requests/api.py", line 75, in get return request('get', url, params=params, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/.local/lib/python3.11/site-packages/requests/adapters.py", line 501, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) To Reproduce


Expected behavior


Screenshots


5cd02f21f73ea73ee3a2c875ac7b12c 9c73ad32423c1b77b779ec13bc08815 21fc2330c10629c78d9e19c24b2eb81

Please complete the following information :

thewhiteh4t commented 5 months ago

@JonasTao is https://ipwhois.app/json/8.8.8.8 accessible for you ?