mxrch / GHunt

🕵️‍♂️ Offensive Google framework.
Other
15.65k stars 1.3k forks source link

SSL: CERTIFICATE_VERIFY_FAILED #161

Closed Samaxe051 closed 3 years ago

Samaxe051 commented 3 years ago

Good Evening- Just installed ghunt and when I go to pull and install the cookies, I get the following output error:

$ python3 check_and_gen.py Traceback (most recent call last):I'm downloading and installing it for you... File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1342, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1255, in request self._send_request(method, url, body, headers, encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1301, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1250, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1010, in _send_output self.send(msg) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 950, in send self.connect() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1424, in connect self.sock = self._context.wrap_socket(self.sock, File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1040, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1309, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1122)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/eriklind/Downloads/GHunt-master/check_and_gen.py", line 102, in driverpath = get_driverpath() File "/Users/eriklind/Downloads/GHunt-master/lib/utils.py", line 99, in get_driverpath path = chromedriver_autoinstaller.install(cwd=True) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/chromedriver_autoinstaller/init.py", line 15, in install chromedriver_filepath = utils.download_chromedriver(cwd) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/chromedriver_autoinstaller/utils.py", line 170, in download_chromedriver chromedriver_version = get_matched_chromedriver_version(chrome_version) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/chromedriver_autoinstaller/utils.py", line 136, in get_matched_chromedriver_version doc = urllib.request.urlopen('https://chromedriver.storage.googleapis.com').read() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 214, in urlopen return opener.open(url, data, timeout) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 517, in open response = self._open(req, data) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 534, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 494, in _call_chain result = func(*args) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1385, in https_open return self.do_open(http.client.HTTPSConnection, req, File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1345, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1122)>

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity on the last 18 days. It will be closed in 6 days if no further activity occurs.

KassFlute commented 3 years ago

I have the same problem, did you found any issue ?

antoine1003 commented 2 years ago

Same here :'(

antoine1003 commented 2 years ago

I was on my company's wifi, I switched to my mobile wifi and the error is gone 😉