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

<urlopen error [SSL] internal error (_ssl.c:1123)> #93

Open
sA74n opened this issue Mar 3, 2021 · 4 comments
Open

<urlopen error [SSL] internal error (_ssl.c:1123)> #93

sA74n opened this issue Mar 3, 2021 · 4 comments

Comments

@sA74n
Copy link

sA74n commented Mar 3, 2021

python3 linkfinder.py -i https://www.domain.com/javascript.js?2355451 -o cli
Usage: python linkfinder.py [Options] use -h for help
Error: invalid input defined or SSL error: <urlopen error [SSL] internal error (_ssl.c:1123)>

@BeingN00b
Copy link

Im facing the same issue.. please do let me know if its resolved

@byt3hx
Copy link

byt3hx commented May 8, 2021

Hey man, it was happened to me too

I fixed it by adding the following lines of code into linkfinder.py

import ssl
ssl._create_default_https_context = ssl._create_unverified_context

@byt3hx
Copy link

byt3hx commented May 8, 2021

If it is still happening , just remove those two lines from linkfinder.py

print("Usage: python %s [Options] use -h for help" % sys.argv[0])
print("Error: %s" % errmsg)

@E-Jarvis
Copy link

E-Jarvis commented May 6, 2024

in linkfinder.py:
try:
sslcontext = ssl._create_unverified_context()
response = urlopen(q, timeout=args.timeout, context=sslcontext)
except:
sslcontext = ssl._create_unverified_context()
response = urlopen(q, timeout=args.timeout, context=sslcontext)


you maybe need to check you ssl.py , find a function like "_create_unverified_context()" instead of "create_default_context()"
Here is my ssl.py:

微信截图_20240506151400


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

4 participants