blacklanternsecurity / bbot

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

Fix omitted event types #1331

Closed TheTechromancer closed 2 months ago

TheTechromancer commented 2 months ago

This PR fixes a bug that was causing omitted event types to be displayed. Now, all omitted event types are suppressed from output, with the one exception of targets.

It also includes some new tests around the _omit attribute, and a rename of event.parsed to event.parsed_url for clarity.

codecov-commenter commented 2 months ago

Codecov Report

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

Project coverage is 92%. Comparing base (3942b65) to head (722e961). Report is 25 commits behind head on bbot-2.0.

Files Patch % Lines
bbot/core/event/base.py 96% 1 Missing :warning:
bbot/modules/generic_ssrf.py 50% 1 Missing :warning:
bbot/modules/output/base.py 90% 1 Missing :warning:
bbot/modules/url_manipulation.py 67% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## bbot-2.0 #1331 +/- ## ======================================== - Coverage 92% 92% -0% ======================================== Files 327 327 Lines 21779 21858 +79 ======================================== + Hits 19848 19904 +56 - Misses 1931 1954 +23 ```

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