This commit is contained in:
2024-10-16 20:55:43 +02:00
parent a1aeefee47
commit 6c33080785
6 changed files with 34 additions and 38 deletions

View File

@ -1,24 +1,27 @@
<?php
$BASEDIR = "{$_SERVER['REQUEST_SCHEME']}://{$_SERVER['SERVER_NAME']}:{$_SERVER['SERVER_PORT']}" . dirname($_SERVER['REQUEST_URI']);
$SCANSDIR = 'scans';
$DATADIR = '/usr/share/nmap';
$LANSCAN_OPTIONS = [
'PS' => 'microsoft-ds',
'F' => true,
'T5' => true,
'stylesheet' => "$BASEDIR/lanScan.xsl"
];
$HOSTSCAN_OPTIONS = [
'Pn' => true,
'F' => true,
'sV' => true,
'T5' => true,
'stylesheet' => "$BASEDIR/hostScan.xsl"
$presets = [
"lan" => [
'PS' => 'microsoft-ds',
'F' => true,
'T5' => true,
'stylesheet' => "$BASEDIR/lanScan.xsl"
],
"host" => [
'Pn' => true,
'F' => true,
'sV' => true,
'T5' => true,
'stylesheet' => "$BASEDIR/hostScan.xsl"
],
];
$saveAs = null;
$compareWith = null;
$refreshPeriod = 60;
$sudo = true;
$SCANSDIR = 'scans';
$DATADIR = '/usr/share/nmap';