README.md

This commit is contained in:
2023-04-03 23:03:42 +02:00
parent e93d37cacd
commit d259b626d5
4 changed files with 9 additions and 0 deletions

14
init.sh Normal file
View 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"