Nmap Port Specification and Scan Order

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/nmap-port-specification-scan-order/
PINTEREST
PINTEREST
INSTAGRAM

Nmap Tutorial Index

  1. Introduction To Network Scanning with Nmap
  2. Nmap Installation (Ubuntu, Centos, Fedora, Windows)
  3. Nmap Target Specification
  4. Nmap Host Discovery
  5. Nmap Port Scan (TCP, UDP, ACKi SYNC,..)
  6. Nmap Port Specification and Scan Order
  7. Nmap Script and Version Scan
  8. Nmap Operating System Detection
  9. Nmap Timing and Performance
  10. Nmap Output

Port specification is important part of the scan. We should set port scope carefully because wrong scope will make our result vulnerable to false and long for time.

Specify Ports

As we know tcp and udp protocols have port numbers from 0 to 65535. There are default values for some scans but we can specify the target ports with this parameter.

  • -p will specify ports 22, 80, 443 for remote

  • -p will specify port range between 0 and 100

Exclude Ports

We can exclude ports too. Specified ports will be excluded.

  • –exclude-ports will remove ports between 20 and 30

Limited/Fast Port Scan

Nmap normally scans for top used 1000 ports but if we are in hurry we can limit it to 100 ports with option -F

  • Scan top 100 ports with -F

Don’t Randomize Ports

Nmap normally in randomized order. If we want to scan orderly we can use -r

  • Scan orderly with -r

Scan Top Ports

We can provide how much of the most popular ports will be scanned. Nmap provides most used ports database by the way.

LEARN MORE  Tcp and Udp Port List, Names and Usage Frequency

  • Scan will take on most popular 5 ports with –top-ports option

Nmap Tutorial Index

  1. Introduction To Network Scanning with Nmap
  2. Nmap Installation (Ubuntu, Centos, Fedora, Windows)
  3. Nmap Target Specification
  4. Nmap Host Discovery
  5. Nmap Port Scan (TCP, UDP, ACKi SYNC,..)
  6. Nmap Port Specification and Scan Order
  7. Nmap Script and Version Scan
  8. Nmap Operating System Detection
  9. Nmap Timing and Performance
  10. Nmap Output
RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/nmap-port-specification-scan-order/
PINTEREST
PINTEREST
INSTAGRAM

You may also like...

Leave a Reply

Your email address will not be published.

Enjoy this blog? Please spread the word :)