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

Method cancel_scan

recon_engine.py:193–200  ·  view source on GitHub ↗
(self, scan_id: str)

Source from the content-addressed store, hash-verified

191 target=self._run_scan,
192 args=(scan_id, target, recon_types, timeout),
193 name=f"recon-{scan_id}",
194 daemon=True,
195 ).start()
196
197 logger.info(f"Started recon scan {scan_id} against {target} ({[r.value for r in recon_types]})")
198 return scan_id
199
200 def get_scan_state(self, scan_id: str) -> Optional[ReconScanState]:
201 with self._lock:
202 return self.active_scans.get(scan_id)
203

Calls 1

getMethod · 0.45