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

Class ReconResult

recon_engine.py:82–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80@dataclass
81class ReconResult:
82 recon_type: ReconType
83 target: str
84 findings: List[VulnerabilityFinding] = field(default_factory=list)
85 artifacts: Dict[str, Any] = field(default_factory=dict)
86 duration_seconds: float = 0.0
87 status: str = "pending"
88 error_message: str = ""
89
90 def to_dict(self) -> Dict[str, Any]:
91 return {
92 "recon_type": self.recon_type.value,
93 "target": self.target,
94 "findings": [f.to_dict() for f in self.findings],
95 "artifacts": self.artifacts,
96 "duration_seconds": self.duration_seconds,
97 "status": self.status,
98 "error_message": self.error_message,
99 }
100
101
102@dataclass
103class ReconScanState:

Callers 8

ok_runnerFunction · 0.90
slow_ok_runnerFunction · 0.90
_run_scanMethod · 0.85
_run_tls_auditMethod · 0.85
_run_dns_passiveMethod · 0.85

Calls

no outgoing calls

Tested by 4

ok_runnerFunction · 0.72
slow_ok_runnerFunction · 0.72