CompTIA Linux+ XK0-005 Practice Question
The security policy of your company requires a stealthy scan to minimize the chances of detection by the target system's intrusion detection system (IDS). Which Nmap command would perform a SYN scan, while also spoofing the source port to appear as 53 (DNS) and avoiding port 22 on the target 10.0.0.12?
nmap -sS -g 53 --exclude-ports 22 10.0.0.12
nmap -sS --source-port 53 --excludefile no-scan-22.txt 10.0.0.12
nmap -sT --spoof-port 53 -p-22 10.0.0.12
nmap -sS -Pn -g 53 --skip-port 22 10.0.0.12
nmap -sU -g 53 -p !22 10.0.0.12
nmap -sS -D RND:10 -g 53 10.0.0.12