GerbenJavado / LinkFinder

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

Add support for list of urls #73

Open attacker34 opened 4 years ago

attacker34 commented 4 years ago

Hi @Willianvdv

I used Waybackurls and got list of js urls now i want that output to be fed into Linkfinder but could not find any Option for feeding urls.txt into linkfinder.

Please add support for urls txt file.

Thanks.

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