tmp
This commit is contained in:
parent
12a0a5ac93
commit
6e0e3b60e3
@ -49,7 +49,7 @@ XML
|
|||||||
$targets = join(array_keys($targets), " ");
|
$targets = join(array_keys($targets), " ");
|
||||||
$services = join(array_keys($services), ",");
|
$services = join(array_keys($services), ",");
|
||||||
|
|
||||||
`nmap -v -Pn -p $services --script smb-enum-shares,'$__DIR__/nmap' -oX '$__DIR__/scans/tmp.xml' $targets && mv '$__DIR__/scans/tmp.xml' '$__DIR__/scans/$site.xml'`;
|
`nmap -v -Pn -p $services --script smb-enum-shares,'$__DIR__/nmap' -oX '$__DIR__/scans/.~$site.xml' $targets && mv '$__DIR__/scans/.~$site.xml' '$__DIR__/scans/$site.xml'`;
|
||||||
|
|
||||||
$xml->asXML("$__DIR__/site/$site.xml");
|
$xml->asXML("$__DIR__/site/$site.xml");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user