Pentest Machine automates some pentesting work via an nmap XML file. As soon as each command finishes it writes its…