MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _safe_resolve

Function _safe_resolve

recon_engine.py:591–597  ·  view source on GitHub ↗
(resolver, name: str, rdtype: str)

Source from the content-addressed store, hash-verified

589 state = self.get_scan_state(scan_id)
590 if not state:
591 return list(subdomains)
592 target_host, _ = _split_host_port(state.target, default_port=443)
593 target_domain = _registrable_domain(target_host)
594 if not target_domain or force:
595 return []
596 violations = []
597 for sub in subdomains:
598 sub_domain = _registrable_domain(sub)
599 if sub_domain != target_domain:
600 violations.append(sub)

Callers 1

_run_dns_passiveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected