factorisation

This commit is contained in:
2023-04-09 17:28:10 +02:00
parent 4822ad3e5d
commit c6691ed1d2
3 changed files with 30 additions and 38 deletions

View File

@ -38,7 +38,7 @@ foreach (scandir("./site") as $file) {
$services = array_keys($services);
$xml->asXML("site/$site.xml");
exec("nmap -v -Pn -p ".join($services, ",")." --script smb-enum-shares.nse -oX 'scans/$site.xml' ".join($targets, " "));
exec("nmap -v -Pn -p ".join($services, ",")." --script smb-enum-shares.nse -oX 'scans/$site.xml' ".join($targets, " ")."\n");
}
};