remove options
This commit is contained in:
parent
b2a2437f16
commit
f8d54304b6
3
nmail.sh
3
nmail.sh
@ -14,7 +14,6 @@
|
|||||||
###
|
###
|
||||||
|
|
||||||
targets="192.168.0.0/24"
|
targets="192.168.0.0/24"
|
||||||
options=""
|
|
||||||
path=.
|
path=.
|
||||||
mailto=mail@address.com
|
mailto=mail@address.com
|
||||||
message="Send by nmail.sh"
|
message="Send by nmail.sh"
|
||||||
@ -24,7 +23,7 @@ then
|
|||||||
mv -f "$path/new_scan.xml" "$path/prev_scan.xml"
|
mv -f "$path/new_scan.xml" "$path/prev_scan.xml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nmap $options $targets -oX "$path/new_scan.xml"
|
nmap $targets -oX "$path/new_scan.xml"
|
||||||
|
|
||||||
if [ -f "$path/prev_scan.xml" ]
|
if [ -f "$path/prev_scan.xml" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user