inverse
This commit is contained in:
parent
6243bc66e5
commit
b3aa55c9b4
@ -42,12 +42,13 @@ foreach (scandir("./confs/") as $file) {
|
||||
}
|
||||
}
|
||||
}
|
||||
$xml->asXML("site/$site.xml");
|
||||
|
||||
$targets = join(array_keys($targets), " ");
|
||||
$services = join(array_keys($services), ",");
|
||||
|
||||
exec("nmap -v -Pn -p $services --script smb-enum-shares.nse,./http-get.nse,./http-favicon-url.nse --script-args=httpspider.maxpagecount=1 -oX 'scans/$site.xml' $targets\n");
|
||||
|
||||
$xml->asXML("site/$site.xml");
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user