increased reply wait time to 2 seconds for good measure
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ cg_color(){
|
||||
}
|
||||
|
||||
tcp_scan(){
|
||||
ret=$(nc -zn -w1 $ip $c >/dev/null 2>&1; echo $?)
|
||||
ret=$(nc -zn -w2 $ip $c >/dev/null 2>&1; echo $?)
|
||||
[[ $ret == 0 ]] && { echo $c >> /tmp/tcp_ports; cg_color olbg "$c "; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user