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

List of URLS #92

Open bootyhunt3r opened 3 years ago

bootyhunt3r commented 3 years ago

Hello man , Can you add a feature to like , add the js file from a text file , I have a file full of js file endpoints but I cannot pass it through linkfinder , if you can add this feature , it would be really helpful.

velocity16902 commented 3 years ago

Yes please, even i'm trying to input list of js links saved in .txt file.

bootyhunt3r commented 3 years ago

Any update on this one ? Can you please update the script to work with the list of urls ?

imon001 commented 3 years ago

you can try this simple bash script for use a list of .js urls in txt file. fst go to the directory where linkfinder is located. then open terminal and type: nano yourfile.sh then copy-past the following lines:

!/bin/bash

file=$1 lines=$(cat $file) for line in $lines do python3 linkfinder.py -i $line -o cli done

then save the file and exit with ctrl+x and enter. then give execution permission to yourfile.sh with: chmod +x ourfile.sh

now try it with:

./yourfile.sh js-list.txt

bootyhunt3r commented 3 years ago

@imon001 , thanks man , but it works fine for some js files and then it shows this error : Error: invalid input defined or SSL error: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:1123)>

Sir-peck commented 2 years ago

I was having issues with this, but your fix worked perfectly so just want to say thank you imon001

barrett092 commented 2 years ago

Getting this error as well...