README.md
This commit is contained in:
14
init.sh
Normal file
14
init.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
###
|
||||
#
|
||||
# Scan un réseau avec nmap pour créer un fichier de configuration
|
||||
#
|
||||
###
|
||||
|
||||
echo "Nom du site ?"
|
||||
read name
|
||||
echo "Plage IP (xxx.xxx.xxx.xxx/xx) ?"
|
||||
read network
|
||||
nmap --script smb-enum-shares.nse -oX "scans/$name.xml" $network
|
||||
xsltproc toyaml.xsl "scans/$name.xml" > "scans/$name.yaml"
|
Reference in New Issue
Block a user