Nmap
# Nmap fast scan for the most 1000 tcp ports used
nmap -sV -sC -O -T4 -n -Pn -oA fastscan <IP>
# Nmap fast scan for all the ports
nmap -sV -sC -O -T4 -n -Pn -p- -oA fullfastscan <IP>
# Nmap fast scan for all the ports slower to avoid failures due to -T4
nmap -sV -sC -O -p- -n -Pn -oA fullscan <IP>
Bettercap
syn.scan 192.168.1.0/24 1 10000 #1-10000 port
UDP
udp-proto-scanner.pl <IP>
Nmap
# Nmap fast check if any of the 100 most common UDP services is running
nmap -sU -sV --version-intensity 0 -n -F -T4 <IP>
# Nmap check if any of the 100 most common UDP services is running and launch defaults scripts
nmap -sU -sV -sC -n -F -T4 <IP>
# Nmap fast top 1000 UDP ports
nmap -sU -sV --version-intensity 0 -n -T4 <IP>