A tool to get javascript files from a list of URLS or subdomains. Analyzing javascript files can help you find undocumented endpoints, etc.
It's recommended to pair this with https://github.com/GerbenJavado/LinkFinder
cdl@doggos ~> cat urls.txt | subjs -json
-i string
input file containg urls
-json
output in json format
-wayback
retrieve javascript files from the wayback machine
subjs
command will be installed to $GOPATH/bin
and the source code (from https://github.com/lc/subjs
) will be found in $GOPATH/src/github.com/lc/subjs
with:
~ ❯ go get -u github.com/lc/subjs
~ ❯ git clone https://github.com/lc/subjs
~ ❯ cd subjs
~ ❯ chmod +x install.sh && ./install.sh