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 https://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