commit
e47b64f01c
|
@ -18,13 +18,13 @@ function start {
|
||||||
nmap_profile=$(uci get nmap.profile)
|
nmap_profile=$(uci get nmap.profile)
|
||||||
nmap_log=$(uci get nmap.log)
|
nmap_log=$(uci get nmap.log)
|
||||||
if [ -z "$nmap_target" ]; then
|
if [ -z "$nmap_target" ]; then
|
||||||
echo "nmap module missig target configuration";exit
|
echo "nmap module missing target configuration";exit
|
||||||
fi
|
fi
|
||||||
if [ -z "$nmap_profile" ]; then
|
if [ -z "$nmap_profile" ]; then
|
||||||
echo "nmap module missig profile configuration";exit
|
echo "nmap module missing profile configuration";exit
|
||||||
fi
|
fi
|
||||||
if [ -z "$nmap_log" ]; then
|
if [ -z "$nmap_log" ]; then
|
||||||
echo "nmap module missig log configuration";exit
|
echo "nmap module missing log configuration";exit
|
||||||
fi
|
fi
|
||||||
case $nmap_profile in
|
case $nmap_profile in
|
||||||
1) PROFILE="-T4 -A -v";;
|
1) PROFILE="-T4 -A -v";;
|
||||||
|
|
Loading…
Reference in New Issue