factorisation
This commit is contained in:
2
init.sh
2
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"
|
||||
|
Reference in New Issue
Block a user