naabu icon indicating copy to clipboard operation
naabu copied to clipboard

Option to exclude full scan port scan that exceed a certain threshold

Open r00tSe7en opened this issue 2 years ago • 1 comments

Is it possible to add a parameter that a host opens a certain threshold number of ports to filter out to scan the next target. For example, if an ip has opened 100 ports, then it will not continue to scan this IP.

   -port-threshold, -pts int              skip full port scan for defined port threshold

Example:

In the below example, hackerone.com host will be skipped when the open port counter is > 5 when running active port scanning.

echo hackerone.com | naabu -pts 5

r00tSe7en avatar Jun 30 '22 08:06 r00tSe7en

Also mentioned here - https://github.com/projectdiscovery/naabu/discussions/367

ehsandeep avatar Jul 04 '22 20:07 ehsandeep