trufflesecurity / of-CORS

144 stars 19 forks source link

Sublist3r integration #3

Closed lavalamp- closed 1 year ago

lavalamp- commented 1 year ago

Description of Change

This PR introduces functionality for configuring a "target" within the software package (hereon referred to as CORS Hunter for ease of reference). More specifically it does the following:

This mapping will be used in a follow-on PR to generate the service worker payload.

NOTE - After some testing it looks like sublist3r is pretty not great at finding subdomains. OWASP's AMASS tool looks much better (and empirically works much better) so we should convert over to using that tool instead in a future PR.

Impact of Change

Collateral Work

Testing

Full test coverage is included in this PR.