Getting ready
To use the script demonstrated in this recipe, you will need to have Nmap output results in the greppable format. This can be achieved by performing Nmap port scans and using the -oA option to output all formats or -oG to specifically output the greppable format. In the examples provided, multiple systems were scanned on a single /24 subnet to include both Windows XP and Metasploitable2. For more information on setting up Metasploitable2, refer to the Installing Metasploitable2 recipe in Chapter 1, Getting Started. For more information on setting up a Windows system, refer to the Installing Windows Server recipe in Chapter 1, Getting Started. Additionally, this section will require a script to be written to the filesystem using ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access