Skip to content

Target improvement#2396

Merged
TheTechromancer merged 16 commits into
devfrom
target-improvement
Apr 14, 2025
Merged

Target improvement#2396
TheTechromancer merged 16 commits into
devfrom
target-improvement

Conversation

@TheTechromancer
Copy link
Copy Markdown
Collaborator

@TheTechromancer TheTechromancer commented Apr 9, 2025

Improves the efficiency of target creation through an intermediate "EventSeed" class, which has only the minimum parsing+data required for intaking targets, and determining their scope.

This will improve performance and allow larger target lists in BBOT, while also increasing the speed of scope checks in BBOT server.

This PR also predefines __slots__ on the base event class, which should dramatically reduce memory usage in large scans.

@TheTechromancer TheTechromancer changed the base branch from stable to dev April 9, 2025 20:13
@TheTechromancer TheTechromancer self-assigned this Apr 9, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 13, 2025

Codecov Report

Attention: Patch coverage is 94.70199% with 24 lines in your changes missing coverage. Please review.

Project coverage is 93%. Comparing base (43822a8) to head (ea16d45).
Report is 28 commits behind head on dev.

Files with missing lines Patch % Lines
bbot/scanner/target.py 85% 11 Missing ⚠️
bbot/logger.py 69% 6 Missing ⚠️
bbot/core/event/helpers.py 99% 2 Missing ⚠️
bbot/scanner/manager.py 89% 2 Missing ⚠️
bbot/scanner/scanner.py 75% 2 Missing ⚠️
bbot/cli.py 0% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##             dev   #2396    +/-   ##
======================================
- Coverage     93%     93%    -0%     
======================================
  Files        382     383     +1     
  Lines      29934   30144   +210     
======================================
+ Hits       27684   27866   +182     
- Misses      2250    2278    +28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TheTechromancer TheTechromancer merged commit 80a0e32 into dev Apr 14, 2025
16 checks passed
liquidsec pushed a commit that referenced this pull request Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants