blacklanternsecurity / bbot

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

Helperify Massdns #1303

Closed TheTechromancer closed 2 months ago

TheTechromancer commented 3 months ago

This PR promotes massdns to a scan-level helper that can be accessed like this:

self.helpers.dns.brute(module, domain, subdomains)

This PR also contains various code organization improvements:

TODO:

codecov-commenter commented 3 months ago

Codecov Report

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

Project coverage is 92%. Comparing base (1720e42) to head (b202086). Report is 3 commits behind head on bbot-2.0.

Files Patch % Lines
bbot/modules/dnsbrute_mutations.py 88% 12 Missing :warning:
bbot/core/helpers/dns/brute.py 89% 11 Missing :warning:
bbot/modules/base.py 0% 4 Missing :warning:
bbot/core/helpers/bloom.py 96% 2 Missing :warning:
...t/test_step_2/module_tests/test_module_dnsbrute.py 97% 2 Missing :warning:
...p_2/module_tests/test_module_dnsbrute_mutations.py 92% 2 Missing :warning:
...st_step_2/module_tests/test_module_dnscommonsrv.py 85% 2 Missing :warning:
bbot/modules/templates/subdomain_enum.py 92% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## bbot-2.0 #1303 +/- ## ========================================= + Coverage 92% 92% +1% ========================================= Files 328 333 +5 Lines 22067 22224 +157 ========================================= + Hits 20124 20314 +190 + Misses 1943 1910 -33 ```

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