increased reply wait time to 2 seconds for good measure

This commit is contained in:
jc
2024-09-21 15:02:21 +03:00
parent 1950059650
commit 450cb85a7d
+1 -1
View File
@@ -59,7 +59,7 @@ cg_color(){
} }
tcp_scan(){ 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 "; } [[ $ret == 0 ]] && { echo $c >> /tmp/tcp_ports; cg_color olbg "$c "; }
} }