Summary
Scripting helps alleviate much of the tedious, repetitive work of penetration testing. By writing short scripts, penetration testers can quickly execute many different permutations of a command to assist with brute-force attacks, network scanning, and similar tasks.
This chapter scratched the surface of scripting to help you prepare for the PenTest+ exam. The exam requires that you have only a basic level of knowledge to “analyze a basic script” that is written in Bash, PowerShell, Ruby, or Python. Once you’ve completed the exam, you should consider expanding your skills in these languages to improve your penetration testing toolkit.