factorisation

This commit is contained in:
2023-04-09 17:28:10 +02:00
parent 4822ad3e5d
commit c6691ed1d2
3 changed files with 30 additions and 38 deletions

View File

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