Chapter 11: Optimizing Scans

One of my favorite things about Nmap is how customizable it is. If configured properly, Nmap can be used to scan anything from single targets to millions of IP addresses in a single run. However, we need to be careful and understand the configuration options and scanning phases that can affect performance, but most importantly, we need to really think about our scan objective beforehand. Do we need the information from the reverse DNS lookup? Do we know all targets are online? Is the network congested? Do the targets respond fast enough? These and many more aspects can add to your scanning time.

Therefore, optimizing scans is important and can save us hours if we are working with many targets. This chapter starts ...

Get Nmap Network Exploration and Security Auditing Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.