jsping gathers javascript files from provided url, list of URLS or subdomains. Analysing javascript files can give you a lot of insights about your targets.
To see the true potential of this tool pair this tool with gau and then https://github.com/GerbenJavado/LinkFinder
$ GO111MODULE=on go install github.com/saeed0x1/jsping@latest
You can download the pre-built binaries from the releases page and then move them into your $PATH.
$ mv jsping /usr/bin/jsping
Examples:
$ cat urls.txt | jsping -stdin
$ jsping -f urls.txt
$ cat hosts.txt | gau | jsping -stdin
$ jsping -url https://example.com
To display the help for the tool use the -h
flag:
$ jsping -h
Flag | Description | Example |
---|---|---|
-c |
Number of concurrent requests to send | jsping -c 40 |
-f |
Input file containing URLS | jsping -f urls.txt |
-t |
Timeout (in seconds) for http client (default 15) | jsping -t 20 |
-ua |
User-Agent to send in requests | jsping -ua "Chrome..." |
-url |
Take single url as input | jsping -url https://example.com |
-stdin |
Take standard input from terminal | cat urls.txt | jsping -stdin |
-json |
Output in json format | cat urls.txt | jsping -stdin -json |
-cookie |
Set the cookie | cat urls.txt | jsping -stdin -cookie "Cookie:... |
-o |
Write the output in a file | cat urls.txt | jsping -stdin -o output.txt |
-version |
Show version number | jsping -version" |