change file extensions
This commit is contained in:
4
discover
4
discover
@ -19,7 +19,7 @@ site="${network/\//_}"
|
||||
mkdir -p "scans"
|
||||
nmap -F -oX "scans/$site.xml" $network
|
||||
mkdir -p "configs"
|
||||
xsltproc --stringparam network "$network" to_config.xsl "scans/$site.xml" > "configs/$site.yaml"
|
||||
php to_XML.php "configs/$site.yaml" > "site/$site.xml"
|
||||
xsltproc --stringparam network "$network" to_config.xsl "scans/$site.xml" > "configs/$site.yml"
|
||||
php to_XML.php "configs/$site.yml" > "site/$site.xml"
|
||||
|
||||
popd > /dev/null
|
Reference in New Issue
Block a user