This commit is contained in:
2024-10-18 12:11:45 +02:00
parent 54116d27d0
commit a773e8b8d9
3 changed files with 13 additions and 16 deletions

View File

@ -2,7 +2,8 @@
$BASEDIR = "{$_SERVER['REQUEST_SCHEME']}://{$_SERVER['SERVER_NAME']}:{$_SERVER['SERVER_PORT']}" . dirname($_SERVER['REQUEST_URI']);
$SCANSDIR = 'scans';
$DATADIR = '/usr/share/nmap';
$NMAPDIR = dirname(`which nmap`) . "/../share/nmap";
$DATADIR = ".";
$presets = [
"lan" => [
@ -18,7 +19,7 @@ $presets = [
'-F' => true,
'-sV' => true,
'-T5' => true,
'--script' => "scripts",
'--datadir' => "$DATADIR",
'--stylesheet' => "$BASEDIR/xslt/servicesTable.xsl",
'refreshPeriod' => 60,
'sudo' => true,