Technical requirements
The code for this chapter can be found at https://github.com/PacktPublishing/Bash-Shell-Scripting-for-Pentesters/tree/main/Chapter15.
Access to a Linux environment with a Bash shell is required to execute the examples. Additionally, prerequisite Bash utilities can be installed by executing the following command:
$ sudo apt update && sudo apt install -y jq curl xmlstarlet
You will need to install Ollama if you want to follow along with the exercises in this chapter. Ollama provides an easy way to get started with running AI models locally. You should be aware that while having a powerful Graphics Processing Unit (GPU) such as one from NVIDIA is helpful, it is not required. When you don’t have a compatible GPU or you are using a model that’s too large for your GPU, you will need to be patient while waiting for a response from the AI agent.
Installing Ollama on Linux is as simple as running the following command in your terminal...