presets
This commit is contained in:
33
config.php
33
config.php
@ -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';
|
||||
|
Reference in New Issue
Block a user