lc/subjs

Fetches javascript file from a list of URLS or subdomains.

863

stars

17

commits

Go

primary language

Jul 22, 2025

updated

README

subjs

License Go ReportCard

subjs fetches javascript files from a list of URLS or subdomains. Analyzing javascript files can help you find undocumented endpoints, secrets, and more.

It's recommended to pair this with gau and then https://github.com/GerbenJavado/LinkFinder

Resources

Usage:

Examples:

$ cat urls.txt | subjs 
$ subjs -i urls.txt
$ cat hosts.txt | gau | subjs

To display the help for the tool use the -h flag:

$ subjs -h
FlagDescriptionExample
-cNumber of concurrent workerssubjs -c 40
-iInput file containing URLSsubjs -i urls.txt
-tTimeout (in seconds) for http client (default 15)subjs -t 20
-uaUser-Agent to send in requestssubjs -ua "Chrome..."
-versionShow version numbersubjs -version"

Installation

From Source:

$ GO111MODULE=on go get -u -v github.com/lc/subjs@latest

From Binary

You can download the pre-built binaries from the releases page and then move them into your $PATH.

$ tar xvf subjs_1.0.0_linux_amd64.tar.gz
$ mv subjs /usr/bin/subjs

Useful?

Buy Me A Coffee

Contributors

virenpawar

11 commits

pwnbyte

5 commits

LemonIceStuff

1 commits

lc/subjs

Fetches javascript file from a list of URLS or subdomains.

863

stars

17

commits

Go

primary language

Jul 22, 2025

updated

README

subjs

License Go ReportCard

subjs fetches javascript files from a list of URLS or subdomains. Analyzing javascript files can help you find undocumented endpoints, secrets, and more.

It's recommended to pair this with gau and then https://github.com/GerbenJavado/LinkFinder

Resources

Usage:

Examples:

$ cat urls.txt | subjs 
$ subjs -i urls.txt
$ cat hosts.txt | gau | subjs

To display the help for the tool use the -h flag:

$ subjs -h
FlagDescriptionExample
-cNumber of concurrent workerssubjs -c 40
-iInput file containing URLSsubjs -i urls.txt
-tTimeout (in seconds) for http client (default 15)subjs -t 20
-uaUser-Agent to send in requestssubjs -ua "Chrome..."
-versionShow version numbersubjs -version"

Installation

From Source:

$ GO111MODULE=on go get -u -v github.com/lc/subjs@latest

From Binary

You can download the pre-built binaries from the releases page and then move them into your $PATH.

$ tar xvf subjs_1.0.0_linux_amd64.tar.gz
$ mv subjs /usr/bin/subjs

Useful?

Buy Me A Coffee

Contributors

virenpawar

11 commits

pwnbyte

5 commits

LemonIceStuff

1 commits

Languages

Go

100.0%