diff --git a/bg.jpg b/bg.jpg new file mode 100644 index 0000000..15d9c86 Binary files /dev/null and b/bg.jpg differ diff --git a/config.php b/config.php index 98edc75..e1fcc7d 100644 --- a/config.php +++ b/config.php @@ -4,5 +4,5 @@ $BASEDIR = "{$_SERVER['REQUEST_SCHEME']}://{$_SERVER['SERVER_NAME']}$port $SCANSDIR = "scans"; $STYLESHEETSDIR = "stylesheets"; -$lanScanCmd = "sudo nmap -PSmicrosoft-ds -F -T5 -oX - --stylesheet $BASEDIR/$STYLESHEETSDIR/lanScan.xsl"; -$hostScanCmd = "sudo nmap -A -T5 -oX - --stylesheet $BASEDIR/$STYLESHEETSDIR/hostScan.xsl"; \ No newline at end of file +$lanScanCmd = "sudo nmap -PSmicrosoft-ds -F -T5 --datadir . --script http-info,smb-shares-size --script-args-file script-args.ini -oX - --stylesheet $BASEDIR/$STYLESHEETSDIR/lanScan.xsl"; +$hostScanCmd = "sudo nmap -A -T5 --datadir . --script http-info,smb-shares-size --script-args-file script-args.ini -oX - --stylesheet $BASEDIR/$STYLESHEETSDIR/hostScan.xsl"; \ No newline at end of file diff --git a/script-args.ini b/script-args.ini index 2bca86f..088260e 100644 --- a/script-args.ini +++ b/script-args.ini @@ -1,3 +1,3 @@ -smbdomain = WORKGROUP -smbuser = -smbpassword = +smbdomain = AUTH +smbuser = application.drieat +smbpassword = d+iFiWn4!cAzdr3KopiM>EA diff --git a/style.css b/style.css index 26cd780..6e328d8 100644 --- a/style.css +++ b/style.css @@ -68,9 +68,12 @@ body { transparent ) !important; text-align: center !important; - font-size: .64285714rem !important; +} + +.mini.share-size { + font-size: 0.64285714rem !important; } .ui.card .table { overflow-x: auto; -} \ No newline at end of file +} diff --git a/stylesheets/hostScan.xsl b/stylesheets/hostScan.xsl index 1c5f58e..2ec64cd 100644 --- a/stylesheets/hostScan.xsl +++ b/stylesheets/hostScan.xsl @@ -141,7 +141,7 @@ $('.ui.dropdown').dropdown() - rebonds + rebond(s) @@ -203,9 +203,11 @@ $('.ui.dropdown').dropdown() class="ui inverted card {$color}">
-
- - : +
+
+ + : +
@@ -249,8 +251,8 @@ $('.ui.dropdown').dropdown()
- - + + rdp.php?v= @@ -276,8 +278,34 @@ $('.ui.dropdown').dropdown() - Ouvrir + + Ouvrir + + + +
@@ -351,4 +379,13 @@ $('.ui.dropdown').dropdown() + + + + + \ No newline at end of file diff --git a/stylesheets/services.xsl b/stylesheets/services.xsl index a667bb4..b4c5c80 100644 --- a/stylesheets/services.xsl +++ b/stylesheets/services.xsl @@ -5,23 +5,32 @@ version="1.1"> - - - - - - - + + + + + + + - + - + - dropdown button share-size + dropdown button + share-size - red - orange - green + + red + + orange + + green green orange red @@ -30,60 +39,66 @@ - + --free: - + ; --total: - + - + https - + :// - + : - + rdp.php?v= - + &p= - + - : + : : - : + : - + - + @@ -91,9 +106,11 @@ - - \ No newline at end of file