newline comes after ports are discovered
This commit is contained in:
+1
-4
@@ -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=($(</tmp/tcp_ports)); data=${allports[*]}; echo ${data//${IFS:0:1}/,}) $ip -v"; }
|
||||
[[ -f /tmp/tcp_ports ]] && { echo; echo -n "For Nmap service and version enumeration try: "; cg_color bbb "sudo nmap -sCV -p $(allports=($(</tmp/tcp_ports)); data=${allports[*]}; echo ${data//${IFS:0:1}/,}) $ip -v"; }
|
||||
}
|
||||
|
||||
scan_udp(){
|
||||
|
||||
Reference in New Issue
Block a user