save site when discover
This commit is contained in:
parent
88edeee596
commit
330205b297
2
discover
2
discover
@ -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"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user