thewhiteh4t / seeker

Accurately Locate Smartphones using Social Engineering
MIT License
6.85k stars 1.65k forks source link

Outdated urllib3 error #439

Closed khanzode2abhi closed 1 year ago

khanzode2abhi commented 1 year ago

HOW CAN I SOLVE THIS ERROR.. PLEASE REPLY..

[+] Starting PHP Server...Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/models.py", line 434, in prepare_url scheme, auth, host, port, path, query, fragment = parse_url(url) ^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/util/url.py", line 397, in parse_url return six.raise_from(LocationParseError(source_url), None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 2, in raise_from urllib3.exceptions.LocationParseError: Failed to parse: http://127.0.0.1:8080/index.html

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/abhi/Desktop/ABHI/seeker/seeker.py", line 341, in SERVER_PROC = server() ^^^^^^^^ File "/home/abhi/Desktop/ABHI/seeker/seeker.py", line 162, in server php_rqst = requests.get(f'http://127.0.0.1:{port}/index.html') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/requests/api.py", line 73, in get return request("get", url, params=params, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/requests/sessions.py", line 573, in request prep = self.prepare_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/requests/sessions.py", line 484, in prepare_request p.prepare( File "/usr/lib/python3/dist-packages/requests/models.py", line 368, in prepare self.prepare_url(url, params) File "/usr/lib/python3/dist-packages/requests/models.py", line 436, in prepare_url raise InvalidURL(*e.args) requests.exceptions.InvalidURL: Failed to parse: http://127.0.0.1:8080/index.html

thewhiteh4t commented 1 year ago

@khanzode2abhi what is your python version?

khanzode2abhi commented 1 year ago

My version of python is latest.. Python 3.11.2.

On Fri, 5 May, 2023, 9:24 am thewhiteh4t, @.***> wrote:

@khanzode2abhi https://github.com/khanzode2abhi what is your python version?

— Reply to this email directly, view it on GitHub https://github.com/thewhiteh4t/seeker/issues/439#issuecomment-1535663975, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWPNUQPEWLWGN3HSMBQZMZLXER2YDANCNFSM6AAAAAAXQKNVGU . You are receiving this because you were mentioned.Message ID: @.***>

thewhiteh4t commented 1 year ago

@khanzode2abhi pip3 install --upgrade urllib3 after this try seeker again