GerbenJavado / LinkFinder

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

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

Closed mikykatwal closed 4 months ago

mikykatwal commented 5 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 4 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 4 months ago

Fixed by 1debac5dace4724fd6187c06f133578dae51c86f