linkinjs – A Go based program to find links from list of Js files quickly

Installation

go get -u github.com/rc4ne/linkinjs

Efficient Usage with other tools like Gau

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

Sample Usage

linkinjs_0

linkinjs_1

Some Points to note

  1. 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.

linkinjs_2

linkinjs_3

  1. Flag -n is for concurrency, no of goroutines to use at once.

Improvement

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

GitHub

View Github