GerbenJavado / LinkFinder

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

Issue when find the .js files in `-d` mode #82

Open tungpun opened 4 years ago

tungpun commented 4 years ago

Hi,

I found an issue in -d mode. I think the root cause is LinkFinder can't find the .js file from the first URL using regex.

The command is:

python3 linkfinder.py -i https://mywebsites/ -d -o cli

It doesn't return anything.

The HTML content of my website is:

<!DOCTYPE html><html><body><script src=/js/first-file.js></script><script src=/js/app.js></script></body></html>