Technical requirements
The main prerequisite is that you started reading from Chapter 1 and have access to a Bash shell. If you aren’t using Kali Linux, you will likely find it more difficult to follow along. One script detailed later in this chapter requires a ProjectDiscovery Chaos API key (https://chaos.projectdiscovery.io/), which can be obtained for free at the time of writing.
The code for this chapter can be found at https://github.com/PacktPublishing/Bash-Shell-Scripting-for-Pentesters/tree/main/Chapter08.
Install the prerequisites in Kali Linux using the following command:
$ sudo apt update && sudo apt install -y libxml2-utils whois
You must also have Golang and the Chaos client installed. Installing Golang was documented fully in Chapter 1. You can install the Chaos client with the following command:
$ go install -v github.com/projectdiscovery/chaos-client/cmd/chaos@latest