fixed no ports discovered
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ scan_tcp(){
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
# Print all ports for nmap enumeration
|
# 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 -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(){
|
scan_udp(){
|
||||||
|
|||||||
Reference in New Issue
Block a user