Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to parse #35

Open
CyberBitz opened this issue Dec 16, 2021 · 0 comments
Open

Failed to parse #35

CyberBitz opened this issue Dec 16, 2021 · 0 comments

Comments

@CyberBitz
Copy link

I cloned the latest and pip3 install -r requirements.txt - all was good no errors. Pretty much new kali-linux-headless install on raspi4

python3 ctfr.py -d google.com

      ____ _____ _____ ____
     / ___|_   _|  ___|  _ \
    | |     | | | |_  | |_) |
    | |___  | | |  _| |  _ <
     \____| |_| |_|   |_| \_\

 Version 1.2 - Hey don't miss AXFR!
Made by Sheila A. Berta (UnaPibaGeek)

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/models.py", line 382, in prepare_url
scheme, auth, host, port, path, query, fragment = parse_url(url)
File "/usr/lib/python3/dist-packages/urllib3/util/url.py", line 394, in parse_url
return six.raise_from(LocationParseError(source_url), None)
File "", line 3, in raise_from
urllib3.exceptions.LocationParseError: Failed to parse: https://crt.sh/?q=%.google.com&output=json

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/ctfr/ctfr.py", line 77, in
main()
File "/opt/ctfr/ctfr.py", line 55, in main
req = requests.get("https://crt.sh/?q=%.{d}&output=json".format(d=target))
File "/usr/lib/python3/dist-packages/requests/api.py", line 76, 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 528, in request
prep = self.prepare_request(req)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 456, in prepare_request
p.prepare(
File "/usr/lib/python3/dist-packages/requests/models.py", line 316, in prepare
self.prepare_url(url, params)
File "/usr/lib/python3/dist-packages/requests/models.py", line 384, in prepare_url
raise InvalidURL(*e.args)
requests.exceptions.InvalidURL: Failed to parse: https://crt.sh/?q=%.google.com&output=json

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

No branches or pull requests

1 participant