From 894acdf996b576ede60e2d81eed09daee4d19710 Mon Sep 17 00:00:00 2001 From: adrien Date: Wed, 19 Feb 2025 10:21:19 +0100 Subject: [PATCH] msprc --- config.php | 2 +- scan.php | 2 +- stylesheets/hostDetails.xsl | 4 ++-- stylesheets/lanTable.xsl | 7 ++++--- stylesheets/lib/toast.xsl | 18 ++++++++---------- 5 files changed, 16 insertions(+), 17 deletions(-) diff --git a/config.php b/config.php index b5cdd06..bcc0caa 100644 --- a/config.php +++ b/config.php @@ -15,7 +15,7 @@ $PRESETS = [ "lanScan" => [ "-PS" => "microsoft-ds", "-F" => true, - "-T" => 5, + "-T" => 4, "--script" => "http-info,smb-shares-size", "--stylesheet" => "lanTable.xsl", ], diff --git a/scan.php b/scan.php index 8cd4111..d22e4cc 100644 --- a/scan.php +++ b/scan.php @@ -112,7 +112,7 @@ if ($preset && isset($PRESETS[$preset])) { ], false); } -$inputs['--stylesheet'] = "$BASEDIR/$STYLESHEETSDIR/{$inputs['--stylesheet']}?"; +$inputs['--stylesheet'] = "$STYLESHEETSDIR/{$inputs['--stylesheet']}?"; if ($name) $inputs['--stylesheet'] .= "name=$name"; $options = ""; diff --git a/stylesheets/hostDetails.xsl b/stylesheets/hostDetails.xsl index 2a4536e..c5ddf20 100644 --- a/stylesheets/hostDetails.xsl +++ b/stylesheets/hostDetails.xsl @@ -249,11 +249,11 @@ $('.ui.dropdown').dropdown() - + - + rdp.php?v= &p= diff --git a/stylesheets/lanTable.xsl b/stylesheets/lanTable.xsl index d450bc2..5643bd5 100644 --- a/stylesheets/lanTable.xsl +++ b/stylesheets/lanTable.xsl @@ -249,7 +249,7 @@ $('.ui.dropdown').dropdown() - + rdp.php?v= @@ -259,7 +259,7 @@ $('.ui.dropdown').dropdown() -: + : @@ -267,7 +267,8 @@ $('.ui.dropdown').dropdown() : -: + : + diff --git a/stylesheets/lib/toast.xsl b/stylesheets/lib/toast.xsl index d8ed49a..d5ce0b8 100644 --- a/stylesheets/lib/toast.xsl +++ b/stylesheets/lib/toast.xsl @@ -1,13 +1,11 @@ - + - + + + \ No newline at end of file