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

Add --timeout option #78

Closed nikitastupin closed 4 years ago

nikitastupin commented 4 years ago

Hi,

Recently I've tried to use LinkFinder on quite big number of domains (more than 30k) and it hanged at some point because there is no timeout option specified at urlopen. By default urlopen will have infinite timeout.

So I've added this option and default 10 second timeout.

P.S. Thanks for the tool 😃

EdOverflow commented 4 years ago

Thank you, @nikitastupin!