Technical requirements
To complete this chapter, we need access to a Linux environment with a Bash shell to execute the examples. Additionally, prerequisite Bash utilities can be installed by executing the following command:
$ sudo apt update && sudo apt install -y openssl dnsutils
The code for this chapter can be found at https://github.com/PacktPublishing/Bash-Shell-Scripting-for-Pentesters/tree/main/Chapter14.
With the prerequisites out of the way, let’s dive in!