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

Function stop_traffic_capture

webapp_modern.py:16983–16992  ·  view source on GitHub ↗

Stop traffic capture

()

Source from the content-addressed store, hash-verified

16981 """Handle scan start request via WebSocket"""
16982 try:
16983 scan_type = data.get('type', 'all')
16984 target = data.get('target', None)
16985
16986 def scan_callback(event_type, event_data):
16987 socketio.emit('scan_update', {
16988 'type': event_type,
16989 'data': event_data
16990 })
16991
16992 if scan_type == 'single' and target:
16993 def run_single_scan():
16994 try:
16995 from actions.nmap_vuln_scanner import NmapVulnScanner

Callers

nothing calls this directly

Calls 3

errorMethod · 0.80
get_traffic_analyzerFunction · 0.70
stopMethod · 0.45

Tested by

no test coverage detected