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 @@

Découvrir ou superviser un réseau

-
+
@@ -100,7 +97,7 @@ Exemples: /24 10.
- + diff --git a/options.php b/options.php index fcbfb41..4442190 100755 --- a/options.php +++ b/options.php @@ -25,7 +25,8 @@ - @@ -38,10 +39,10 @@
- -
@@ -50,7 +51,7 @@ Exemples: /24 10.
-
@@ -384,12 +385,12 @@ Exemples: /24 10.
Temporisation et performances
- + @@ -492,9 +493,9 @@ Exemples: /24 10.
@@ -545,67 +546,83 @@ Exemples: /24 10.
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
+
+ + +
+ +
+ +
+ +
+
+ - + /24 10. @@ -44,8 +40,7 @@ - +