error 405
This commit is contained in:
parent
d97c6cb7c2
commit
fa98fd7e58
5
scan.php
5
scan.php
@ -163,6 +163,11 @@ if ($cmd) {
|
||||
header('Content-type: text/xml');
|
||||
system("$cmd", $retcode);
|
||||
|
||||
if ($retcode) {
|
||||
http_response_code(405);
|
||||
die();
|
||||
}
|
||||
|
||||
exit();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user