blacklanternsecurity / bbot

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

Portscanner Rework #1375

Closed TheTechromancer closed 4 months ago

TheTechromancer commented 4 months ago

This PR simplifies the port scanner situation in BBOT by deleting nmap and replacing it with a brand-new masscan implementation, augmented to handle hostnames.

This accomplishes a few things:

TODO:

codecov-commenter commented 4 months ago

Codecov Report

Attention: Patch coverage is 81.18280% with 35 lines in your changes are missing coverage. Please review.

Project coverage is 92%. Comparing base (a22cb9b) to head (b9c2e23).

Files Patch % Lines
bbot/modules/portscan.py 80% 32 Missing :warning:
...step_2/module_tests/test_module_asset_inventory.py 86% 2 Missing :warning:
bbot/modules/internal/speculate.py 0% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## bbot-2.0 #1375 +/- ## ========================================= + Coverage 92% 92% +1% ========================================= Files 343 340 -3 Lines 23236 23048 -188 ========================================= - Hits 21316 21156 -160 + Misses 1920 1892 -28 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.