GerbenJavado / LinkFinder

A python script that finds endpoints in JavaScript files
https://gerbenjavado.com/discovering-hidden-content-using-linkfinder
MIT License
3.74k stars 598 forks source link

DeprecationWarning: ssl.PROTOCOL_TLSv1_2 is deprecated sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2) #147

Closed milankatwal99 closed 7 months ago

milankatwal99 commented 8 months ago

i have created a txt file
validdomain.txt there is a website link https://amazon.com https://amazon.sg when i try to run the program it is not displaying anything python3 linkfinder.py -i validdomain.txt -d -o cli /home/user/subdomaintool/LinkFinder/linkfinder.py:133: DeprecationWarning: ssl.PROTOCOL_TLSv1_2 is deprecated sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)

w4spy commented 8 months ago

i have created a txt file validdomain.txt there is a website link https://amazon.com https://amazon.sg when i try to run the program it is not displaying anything python3 linkfinder.py -i validdomain.txt -d -o cli /home/user/subdomaintool/LinkFinder/linkfinder.py:133: DeprecationWarning: ssl.PROTOCOL_TLSv1_2 is deprecated sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)

import certifi then go to line 133 and 136 change sslcontex with sslcontext = ssl.create_default_context(cafile=certifi.where()) should work

GerbenJavado commented 7 months ago

Fixed by 1debac5dace4724fd6187c06f133578dae51c86f