go get -u github.com/rc4ne/linkinjs
cat list_of_subdomains.txt | gau -b woff,png,jpeg,jpg -o urls.txt
cat urls.txt | grep "\.js" > js_files.txt
linkinjs -n 50 -dl js_files.txt -o js_links.txt
- Using -m will match for the basedomain in the found links. Example: For http://xyz.tld/file.js, all the links matching keyword "xyz" will be considered. Default value-false.
- Flag -n is for concurrency, no of goroutines to use at once.
Lots of scope for improvement. I made this as side project during academics when trying Golang for first time. Most of inspiration from https://github.com/0xsha/GoLinkFinder.
-> Concurrency can be implemented in better way
-> Implementing SecretFinder