- nmap
- Scan for ports and services
# Use nmap to find available TCP ports quickly $ ports=$( \ nmap 10.10.10.117 \ -p- \ --min-rate=1000 \ -T4 \ | grep ^[0-9] \ | cut -d '/' -f 1 \ | tr '\n' ',' \ | sed s/,$// \ ) # Scan found ports for services $ nmap 10.10.10.117 \ -p ${ports} \ -sV \ -sC \ -T4 \ -oA nmap-tcp-foundports