diff --git a/config.php b/config.php index e816723..14f3ac0 100644 --- a/config.php +++ b/config.php @@ -9,4 +9,22 @@ $DATADIR = "."; $SCRIPTARGSFILE = "script-args.ini"; $LANSCANOPTIONS = "-PSmicrosoft-ds -F -T5 --datadir '$DATADIR' --script http-info,smb-shares-size --script-args-file '$SCRIPTARGSFILE'"; $HOSTSCANOPTIONS = "-A -T5 --datadir '$DATADIR' --script http-info,smb-shares-size --script-args-file '$SCRIPTARGSFILE'"; -$COMMONOPTIONS = "--datadir '$DATADIR' --script-args-file '$SCRIPTARGSFILE'"; +$COMMONOPTIONS = [ + "--datadir" => $DATADIR, + "--script-args-file" => $SCRIPTARGSFILE, +]; +$PRESETS = [ + "lanScan" => [ + "-PS" => "microsoft-ds", + "-F" => true, + "-T" => 5, + "--script" => "http-info,smb-shares-size", + "--stylesheet" => "lanTable.xsl", + ], + "host" => [ + "-A" => true, + "-T" => 5, + "--script" => "http-info,smb-shares-size", + "--stylesheet" => "hostDetails.xsl", + ], +]; \ No newline at end of file diff --git a/index.php b/index.php index 661af66..866eca3 100644 --- a/index.php +++ b/index.php @@ -27,10 +27,6 @@ background: #1b1c1dc0; backdrop-filter: blur(7px); } - - .logo { - margin-right: 0 !important; - } @@ -55,11 +51,12 @@