little fixes

This commit is contained in:
adrien committed 2025-02-06 16:56:46 +01:00
1 parent f0485f6abd
commit 215422cd61
11 files changed
+154 -1186

No files matched your search

+2 -2
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();