diff --git a/init.sh b/init.sh index d4cf77b..3d243aa 100755 --- a/init.sh +++ b/init.sh @@ -8,7 +8,7 @@ echo "Nom du site ?" read site -echo "Plage IP (xxx.xxx.xxx.xxx/xx) ?" +echo "Adresse réseau CIDR (xxx.xxx.xxx.xxx/xx) ?" read network nmap --script smb-enum-shares.nse -oX "scans/$site.xml" $network xsltproc --stringparam site "$site" --stringparam network $network toyaml.xsl "scans/$site.xml" > "site/$site.yaml" diff --git a/results.xsl b/results.xsl index a31584d..a5e907b 100644 --- a/results.xsl +++ b/results.xsl @@ -63,46 +63,38 @@
- - -
+
+ + + ui fluid mini left icon action input info + ui fluid mini left icon action input error + + + + + - - - - - - - - - + + + + + + - - - - -
- - -
+ + - - - - - - - - - + () + + - - - - -
-
- + + + + + + +
diff --git a/scan_all.php b/scan_all.php index eb55ebf..bb8f729 100644 --- a/scan_all.php +++ b/scan_all.php @@ -38,7 +38,7 @@ foreach (scandir("./site") as $file) { $services = array_keys($services); $xml->asXML("site/$site.xml"); - exec("nmap -v -Pn -p ".join($services, ",")." --script smb-enum-shares.nse -oX 'scans/$site.xml' ".join($targets, " ")); + exec("nmap -v -Pn -p ".join($services, ",")." --script smb-enum-shares.nse -oX 'scans/$site.xml' ".join($targets, " ")."\n"); } };