MCPcopy Create free account
hub / github.com/TheSecuredAnalyst/security-suite / osint_dns

Function osint_dns

cli/main.py:219–230  ·  view source on GitHub ↗

Enumerate DNS records for a domain.

(
    target: str = typer.Argument(..., help="Target domain"),
    verbose: bool = typer.Option(False, "--verbose", "-v", help="Verbose output"),
)

Source from the content-addressed store, hash-verified

217
218@osint_app.command("dns")
219def osint_dns(
220 target: str = typer.Argument(..., help="Target domain"),
221 verbose: bool = typer.Option(False, "--verbose", "-v", help="Verbose output"),
222):
223 """Enumerate DNS records for a domain."""
224 setup_logging(debug=verbose)
225 from modules.osint import DNSEnumerator
226
227 console.print(f"[bold]DNS Enumeration:[/bold] {target}")
228 scanner = DNSEnumerator()
229 result = run_async(scanner.run(Target.from_string(target)))
230 display_result(result)
231
232
233@osint_app.command("whois")

Callers

nothing calls this directly

Calls 6

runMethod · 0.95
setup_loggingFunction · 0.90
DNSEnumeratorClass · 0.90
run_asyncFunction · 0.85
display_resultFunction · 0.85
from_stringMethod · 0.80

Tested by

no test coverage detected