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

excavate CSP submodule #783

Merged
merged 3 commits into from
Oct 20, 2023
Merged

excavate CSP submodule #783

merged 3 commits into from
Oct 20, 2023

Conversation

liquidsec
Copy link
Collaborator

@liquidsec liquidsec commented Oct 15, 2023

Reference: #711

This will allow excavate to harvest domains from CSP headers. This could be an excellent source of subdomains or related (affiliate) domains.

@codecov
Copy link

codecov bot commented Oct 15, 2023

Codecov Report

Merging #783 (663cf44) into dev (0bad648) will increase coverage by 1%.
Report is 14 commits behind head on dev.
The diff coverage is 100%.

@@          Coverage Diff          @@
##             dev    #783   +/-   ##
=====================================
+ Coverage     92%     92%   +1%     
=====================================
  Files        291     291           
  Lines      17173   17205   +32     
=====================================
+ Hits       15674   15716   +42     
+ Misses      1499    1489   -10     
Files Coverage Δ
bbot/modules/internal/excavate.py 83% <100%> (+2%) ⬆️
...t/test_step_2/module_tests/test_module_excavate.py 99% <100%> (+1%) ⬆️

... and 9 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@liquidsec liquidsec changed the title excavate CSP submodule functional excavate CSP submodule Oct 16, 2023
self.report(domain, event, **kwargs)

def report(self, domain, event, **kwargs):
self.excavate.emit_event(domain, "DNS_NAME_UNRESOLVED", source=event)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of emitting as DNS_NAME_UNRESOLVED I would emit as a DNS_NAME with tags=["affiliate"].

@liquidsec liquidsec merged commit 3a46dca into dev Oct 20, 2023
5 checks passed
@liquidsec liquidsec deleted the csp-excavate branch October 20, 2023 21:26
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