Working with Subjs Tool on Kali Linux
Example 1: Simple Scan
echo "http://w3wiki.org" | subjs
In this example, We are performing a simple Scan or Crawling scan on our target domain http://w3wiki.org.
Example 2: Number of concurrent workers
echo "http://w3wiki.org" | subjs -c 15
In this example, We are changing the concurrent worker’s value by using the -c tag.
Example 3: Timeout (in seconds) for HTTP client
echo "http://w3wiki.org" | subjs -t 3
In this example, We are changing the timeout value by using the -t tag. We can see that we have specified a very less timeout value so we have not got any output. But In Example 1, We have got the output.
Example 4: Show version number
subjs -version
In this example, We will be printing the version of the Subjs tool using the -version tag.
Subjs – Fetches javascript file from a list of URLS or subdomains
The web-based application is the collection of various hosted files like CSS, HTML, JS, etc. JS files are the core or essential files which can contain some secrets of the web application. Undocumented endpoints information is also crucial, and it can be available in the form of JS files. Subjs is an automated tool used to fetch the JavaScript files from the target domain. Subjs tool is an open-source and free-to-use tool. Subjs tool is designed and developed in the Golang language.
Note: As Subjs is a Golang language-based tool, so we need to have a Golang environment on our system. So check this link to Install Golang in our system. – Installation of Go Lang in Linux