little fixes

This commit is contained in:
2025-02-06 16:56:46 +01:00
parent f0485f6abd
commit 215422cd61
11 changed files with 154 additions and 1186 deletions

View File

@ -20,7 +20,7 @@ if (!file_exists($path)) {
$xml = simplexml_load_file($path);
$cmd = $xml["args"];
if (substr( $cmd, 0, 5 ) != "nmap ") {
if (substr($cmd, 0, 5) != "nmap ") {
die("Erreur : $path n'est pas un fichier de scan nmap");
}
@ -29,4 +29,4 @@ $cmd = $NMAP . substr($xml["args"], 4);
header('Content-type: text/xml');
system("$cmd", $retcode);
exit();
exit();