From 7238c7087bad3f16106afc8604b2e00b42567418 Mon Sep 17 00:00:00 2001 From: jc Date: Fri, 13 Sep 2024 13:20:07 +0300 Subject: [PATCH] newline comes after ports are discovered --- portscan.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/portscan.sh b/portscan.sh index 4360e31..b529ca9 100755 --- a/portscan.sh +++ b/portscan.sh @@ -77,11 +77,8 @@ scan_tcp(){ # wait wait - # newline - echo - # Print all ports for nmap enumeration - [[ -f /tmp/tcp_ports ]] && { echo -n "For Nmap service and version enumeration try: "; cg_color bbb "sudo nmap -sCV -p $(allports=($(