From e575966e5ecf91ee89c0f4a26102e1f55781136c Mon Sep 17 00:00:00 2001 From: jc Date: Thu, 20 Mar 2025 08:34:20 +0000 Subject: [PATCH] slight change that i forgot to make --- portradar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portradar.sh b/portradar.sh index e7719da..dd048e1 100755 --- a/portradar.sh +++ b/portradar.sh @@ -78,7 +78,7 @@ fast_ping(){ } scan_tcp(){ - [[ $1 ]] && { c=$1; ret=$(nc -w1 -z $ip $c 2>/dev/null; echo $?); [[ $ret == 0 ]] && { echo $c >> /tmp/tcp_ports; [[ $RUN_NMAP == true ]] && { command="nmap -Pn -n -sCV -p $(allports=($(/dev/null; echo $?); [[ $ret == 0 ]] && { echo $c >> /tmp/tcp_ports; [[ $RUN_NMAP == true ]] && { command="nmap -Pn -n -sCV -p $(allports=($(