From 450cb85a7d4adf586479ef7cb0a5451c10e08cb8 Mon Sep 17 00:00:00 2001 From: jc Date: Sat, 21 Sep 2024 15:02:21 +0300 Subject: [PATCH] increased reply wait time to 2 seconds for good measure --- portradar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portradar.sh b/portradar.sh index 56526eb..3e9c2bd 100755 --- a/portradar.sh +++ b/portradar.sh @@ -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 "; } }