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

Function cancel_recon_scan

webapp_modern.py:17779–17789  ·  view source on GitHub ↗

Cancel an in-flight recon scan

(scan_id)

Source from the content-addressed store, hash-verified

17777 pass
17778
17779 # Add current status
17780 if safe_str(shared_data.ragnarstatustext) and safe_str(shared_data.ragnarstatustext) != "Idle":
17781 activity_logs.append({
17782 'timestamp': current_time.strftime("%H:%M:%S"),
17783 'type': 'status',
17784 'icon': '🤖',
17785 'message': f"Ragnar: {safe_str(shared_data.ragnarstatustext)}",
17786 'details': safe_str(shared_data.ragnarstatustext2) if safe_str(shared_data.ragnarstatustext2) else '',
17787 'severity': 'info'
17788 })
17789
17790 if safe_str(shared_data.ragnarsays) and safe_str(shared_data.ragnarsays).strip():
17791 activity_logs.append({
17792 'timestamp': current_time.strftime("%H:%M:%S"),

Callers

nothing calls this directly

Calls 3

errorMethod · 0.80
get_recon_engineFunction · 0.70
cancel_scanMethod · 0.45

Tested by

no test coverage detected