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

Function _split_host_port

recon_engine.py:535–547  ·  view source on GitHub ↗
(target: str, default_port: int)

Source from the content-addressed store, hash-verified

533 return result
534 except Exception as exc:
535 result.status = "error"
536 result.error_message = f"ffuf failed: {exc}"
537 result.duration_seconds = time.monotonic() - started
538 return result
539
540 hits: List[Dict[str, Any]] = []
541 if proc.stdout.strip():
542 try:
543 data = json.loads(proc.stdout)
544 for entry in data.get("results", []):
545 hits.append({
546 "path": entry.get("input", {}).get("FUZZ", ""),
547 "url": entry.get("url", ""),
548 "status": entry.get("status", 0),
549 "length": entry.get("length", 0),
550 "words": entry.get("words", 0),

Calls 1

countMethod · 0.80