point ip to nmap out file
This commit is contained in:
+1
-1
@@ -102,7 +102,7 @@ scan_tcp(){
|
|||||||
wait
|
wait
|
||||||
|
|
||||||
# Print all ports for nmap enumeration
|
# Print all ports for nmap enumeration
|
||||||
[[ -f /tmp/tcp_ports ]] && { command="nmap -Pn -n -sCV -p $(allports=($(</tmp/tcp_ports)); data=${allports[*]}; echo ${data//${IFS:0:1}/,}) $ip -oN nmap.out -v"; echo; [[ $RUN_NMAP == true ]] && { pp "Service Enumeration"; $command; return; }; echo -n "For Nmap service and version enumeration try: "; cg_color bbb "$command"; }
|
[[ -f /tmp/tcp_ports ]] && { command="nmap -Pn -n -sCV -p $(allports=($(</tmp/tcp_ports)); data=${allports[*]}; echo ${data//${IFS:0:1}/,}) $ip -oN ${ip}_nmap.out -v"; echo; [[ $RUN_NMAP == true ]] && { pp "Service Enumeration"; $command; return; }; echo -n "For Nmap service and version enumeration try: "; cg_color bbb "$command"; }
|
||||||
}
|
}
|
||||||
|
|
||||||
scan_udp(){
|
scan_udp(){
|
||||||
|
|||||||
Reference in New Issue
Block a user