blacklanternsecurity / bbot

A recursive internet scanner for hackers.
https://www.blacklanternsecurity.com/bbot/
GNU General Public License v3.0
4.63k stars 419 forks source link

Can you make naabu module be config #208

Closed L4ml3da closed 1 year ago

L4ml3da commented 1 year ago

Sometimes,the bbot module naabu cannot find host port. For example, I'd like to set naabu '-Pn' options, but the config not support. Or, Can you show the way of complie. I will modify the file "naabu.py" and compile by myself.

TheTechromancer commented 1 year ago

The naabu module supports specfying the top ports or a manual list of ports. Is there another option you were looking for specifically? There is no -Pn option that I know of; that's for nmap.

By default it scans the top 100 ports. If you want to specify ones, you can set them in your bbot config (~/.config/bbot/bbot.yml) or on the command line like this:

bbot -m naabu -c modules.naabu.ports=80,443

Note that you can list a module's options like this:

bbot -m naabu --help-all
TheTechromancer commented 1 year ago

I was able to confirm that naabu was missing ports. It is much more accurate when running as root, so I made the fix. Closing this issue.