Advertisement
makispaiktis

Nmap Options - Port specification and scan order

Nov 5th, 2024 (edited)
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. PORT SPECIFICATION AND SCAN ORDER:
  2.  
  3. -p <port ranges>: Only scan specified ports
  4. Ex: -p22; -p1-65535; -p U:53,111,137,T:21-25,80,139,8080,S:9
  5.  
  6. --exclude-ports <port ranges>: Exclude the specified ports from scanning
  7. -F: Fast mode - Scan fewer ports than the default scan
  8. -r: Scan ports consecutively - don't randomize
  9. --top-ports <number>: Scan <number> most common ports
  10. --port-ratio <ratio>: Scan ports more common than <ratio>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement