Search code examples
network-programmingtcpnmap

How do I run a simultaneous scan in nmap?


I am trying to run a simultaneous nmap scan to do the following

https://i.sstatic.net/7skvt.png

I have divided what I need to do into 2 parts

nmap -sN -p 21-25,80,139,8080

nmap -T 5 -sU -p 53,11 thevictim.com/16

How do I run them as a simultaneous scan? Also, are my above commands okay?

Thanks


Solution

  • By default, Nmap will simultaneously scan 36 sockets. The --max-parallelism option can be set to 1 to scan a single port at a time. The minimum possible value for --max-parallelism is 1, and Nmap will warn if the requested value is above 900. You can use this option to scan multiple hosts.