remove options

This commit is contained in:
Adrien MALINGREY 2021-11-04 12:49:35 +01:00
parent b2a2437f16
commit f8d54304b6

View File

@ -14,7 +14,6 @@
###
targets="192.168.0.0/24"
options=""
path=.
mailto=mail@address.com
message="Send by nmail.sh"
@ -24,7 +23,7 @@ then
mv -f "$path/new_scan.xml" "$path/prev_scan.xml"
fi
nmap $options $targets -oX "$path/new_scan.xml"
nmap $targets -oX "$path/new_scan.xml"
if [ -f "$path/prev_scan.xml" ]
then