From 6e0e3b60e3d891cdd03428b8a2a54cdc54e71b14 Mon Sep 17 00:00:00 2001 From: adrien Date: Wed, 12 Apr 2023 20:25:59 +0200 Subject: [PATCH] tmp --- scan_all.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scan_all.php b/scan_all.php index f7da1a6..07a011e 100644 --- a/scan_all.php +++ b/scan_all.php @@ -49,7 +49,7 @@ XML $targets = join(array_keys($targets), " "); $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"); }