Executing Nmap scripts to detect vulnerabilities