increased reply wait time to 2 seconds for good measure :)
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ udp_scan(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
fast_ping(){
|
fast_ping(){
|
||||||
nn=$(ping -n -w1 -c1 $ip >/dev/null 2>&1; echo $?)
|
nn=$(ping -n -w2 -c1 $ip >/dev/null 2>&1; echo $?)
|
||||||
[[ $nn == 0 ]] && { echo $ip >> /tmp/ips; }
|
[[ $nn == 0 ]] && { echo $ip >> /tmp/ips; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user