smb-shares-size template
This commit is contained in:
19
config.php
19
config.php
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
$port = (($_SERVER['REQUEST_SCHEME'] == "http" && $_SERVER['SERVER_PORT'] == 80) || ($_SERVER['REQUEST_SCHEME'] == "https" && $_SERVER['SERVER_PORT'] == 443)) ? "" : ":{$_SERVER['SERVER_PORT']}";
|
||||
$port = (($_SERVER['REQUEST_SCHEME'] == "http" && $_SERVER['SERVER_PORT'] == 80) || ($_SERVER['REQUEST_SCHEME'] == "https" && $_SERVER['SERVER_PORT'] == 443)) ? "" : ":{$_SERVER['SERVER_PORT']}";
|
||||
$BASEDIR = "{$_SERVER['REQUEST_SCHEME']}://{$_SERVER['SERVER_NAME']}$port" . dirname($_SERVER['SCRIPT_NAME']);
|
||||
$SCANSDIR = 'scans';
|
||||
$NMAPDIR = dirname(`which nmap`) . "/../share/nmap";
|
||||
@ -16,13 +16,14 @@ $presets = [
|
||||
'sudo' => false,
|
||||
],
|
||||
"host" => [
|
||||
'-Pn' => true,
|
||||
'-F' => true,
|
||||
'-sV' => true,
|
||||
'-T' => 5,
|
||||
'--script' => "http-info,smb-shares-size",
|
||||
'--stylesheet' => "$BASEDIR/templates/hostScan.xsl",
|
||||
'refreshPeriod' => 60,
|
||||
'sudo' => true,
|
||||
'-Pn' => true,
|
||||
'-F' => true,
|
||||
'-sV' => true,
|
||||
'-T' => 5,
|
||||
'--script' => "http-info,smb-shares-size",
|
||||
'--script-args-file' => "smb-authentication.ini",
|
||||
'--stylesheet' => "$BASEDIR/templates/hostScan.xsl",
|
||||
'refreshPeriod' => 60,
|
||||
'sudo' => true,
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user