root@0xpriv:~# history | grep -v boring

Snippets

One-liners worth keeping, with the flags that matter highlighted. Copy, change the target to something you are allowed to test, and run.

Cheat sheet

1 matching
Service & version scan. The flag set that fingerprints what's actually listening.
nmap -sV -sC -T4 \
     --top-ports 1000 \
     target