Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hostname extraction - only extract whitelisted hosts #1809

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

TheTechromancer
Copy link
Collaborator

@TheTechromancer TheTechromancer commented Sep 30, 2024

This modifies BBOT's hostname extraction to happen only for whitelisted hosts. Before, it was extracting both targets and whitelisted hosts, which in the case of a custom whitelist was causing out-of-scope hosts to be extracted.

@liquidsec let me know if this looks okay

Copy link

codecov bot commented Sep 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93%. Comparing base (d2b3a47) to head (92a68f2).
Report is 4 commits behind head on dev.

Additional details and impacted files
@@          Coverage Diff          @@
##             dev   #1809   +/-   ##
=====================================
- Coverage     93%     93%   -0%     
=====================================
  Files        346     346           
  Lines      26818   26817    -1     
=====================================
- Hits       24719   24716    -3     
- Misses      2099    2101    +2     
Flag Coverage Δ
93% <100%> (-<1%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@liquidsec
Copy link
Collaborator

seems fine to me

@TheTechromancer TheTechromancer merged commit d326413 into dev Sep 30, 2024
8 checks passed
@TheTechromancer TheTechromancer deleted the dns-extract-whitelist-only branch October 28, 2024 19:56
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