3isenHeiM / onetwopunch

Use unicornscan to quickly scan all open ports, and then pass the open ports to nmap for detailed scans.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

One Two Punch

Nmap is by far the most comprehensive port scanner, able to identify services, fingerprint operating systems, and even run several scripts against the services to identify potential vulnerabilities.

This helps cut down the manual work involved in service enumeration.

Nmap uses a default list of ports when none are provided by the attacker. This can cause Nmap to miss certain ports that are not in its default list. There is the option to let Nmap scan all 65,535 ports on each machine, but as you can imagine, this will take a considerable amount of time, especially if you’re scanning a lot of targets.

Unicornscan is another port scanner that uses its own userland TCP/IP stack, which allows it to run a asynchronous scans. This makes it a whole lot faster than Nmap and can scan 65 535 ports in a relatively shorter time frame.

Since Unicornscan is so fast, it makes sense to use it for scanning large networks or a large number of ports.

So, the idea behind this post is to utilize both tools to generate a scan of 65,535 ports on the targets :

  1. We will use unicornscan to scan all ports, and make a list of those ports that are open
  2. Pass the open ports to Nmap for service detection.

For more details, see http://blog.techorganic.com/2012/05/31/port-scanning-one-two-punch/

About

Use unicornscan to quickly scan all open ports, and then pass the open ports to nmap for detailed scans.

License:MIT License


Languages

Language:Shell 85.2%Language:Dockerfile 14.8%