System and Network Enumeration
Nmap
sudo nmap -A -T4 -sV -sC -p- -Pn $ip --open
# for udp scan use following along with sudo
-sU
# Step 1: Quick port scan
nmap -p- -T5 $ip > ports
# Step 2: Grep and extract out the ports; the output would be like 22,25,80
cat ports | awk '{split($0,a,"/"); print a[1] ","}'| tr -d "\n"| awk 'BEGIN {FS=OFS=","} NF--'
>
# step 3 - Dive deeper into the ports found above
sudo nmap -A -T4 -sC -sN -oN nmapFull -p 22,25,80 $ip -Pn
Auto-Recon
enum4linux
Massscan
Last updated