Compare commits

..

2 Commits

Author SHA1 Message Date
adrien e1bde27789 Merge branch 'master' of https://git.malingrey.fr/adrien/lanScan2 2023-04-29 07:10:07 +02:00
adrien 330205b297 save site when discover 2023-04-29 07:10:06 +02:00
+2
View File
@@ -15,3 +15,5 @@ mkdir -p "$DIR/scans"
nmap -F -oX "$DIR/scans/$filename.xml" $network nmap -F -oX "$DIR/scans/$filename.xml" $network
mkdir -p "$DIR/configs" mkdir -p "$DIR/configs"
xsltproc --stringparam network "$network" to_config.xsl "$DIR/scans/$filename.xml" > "$DIR/configs/$filename.yaml" xsltproc --stringparam network "$network" to_config.xsl "$DIR/scans/$filename.xml" > "$DIR/configs/$filename.yaml"
php to_XML.php "$DIR/configs/$filename.yaml" > "$DIR/site/$site.xml"