script-arg-file.ini

This commit is contained in:
2024-10-23 15:46:59 +02:00
parent 8e5f010da0
commit 4e14da1860
5 changed files with 12 additions and 11 deletions

View File

@ -3,6 +3,9 @@
include_once 'config.php';
include_once 'filter_inputs.php';
$options["--datadir"] = $DATADIR;
$options["--script-args-file"] = $SCRIPTARGS;
if (!file_exists($SCANSDIR)) mkdir($SCANSDIR);
$command = ($options["sudo"]?? false ? "sudo " : "") . "nmap";