[+] Starting PHP Server...Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 413, in send
conn = self.get_connection(request.url, proxies)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 316, in get_connection
conn = self.poolmanager.connection_from_url(url)
File "/usr/lib/python3/dist-packages/urllib3/poolmanager.py", line 298, in connection_from_url
u = 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/kali/github/seeker/seeker.py", line 341, in
SERVER_PROC = server()
File "/home/kali/github/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 75, in get
return request('get', url, params=params, kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 415, in send
raise InvalidURL(e, request=request)
requests.exceptions.InvalidURL: Failed to parse: http://127.0.0.1:8080/index.html
[+] Starting PHP Server...Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 413, in send conn = self.get_connection(request.url, proxies) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 316, in get_connection conn = self.poolmanager.connection_from_url(url) File "/usr/lib/python3/dist-packages/urllib3/poolmanager.py", line 298, in connection_from_url u = 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/kali/github/seeker/seeker.py", line 341, in
SERVER_PROC = server()
File "/home/kali/github/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 75, in get
return request('get', url, params=params, kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 415, in send
raise InvalidURL(e, request=request)
requests.exceptions.InvalidURL: Failed to parse: http://127.0.0.1:8080/index.html
How to solve this error?