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

Function get_recon_engine

webapp_modern.py:17696–17710  ·  view source on GitHub ↗

Get or create recon engine instance (thread-safe)

()

Source from the content-addressed store, hash-verified

17694 scan_type = data.get('type', 'all')
17695 target = data.get('target', None)
17696
17697 def scan_callback(event_type, event_data):
17698 socketio.emit('scan_update', {
17699 'type': event_type,
17700 'data': event_data
17701 })
17702
17703 if scan_type == 'single' and target:
17704 def run_single_scan():
17705 try:
17706 from actions.nmap_vuln_scanner import NmapVulnScanner
17707 scanner = NmapVulnScanner(shared_data)
17708 scanner.scan_single_host_realtime(
17709 ip=target.get('ip', ''),
17710 hostname=target.get('hostname', ''),
17711 mac=target.get('mac', ''),
17712 ports=target.get('ports', ''),
17713 callback=scan_callback

Callers 6

get_recon_statusFunction · 0.70
start_recon_scanFunction · 0.70
get_recon_scanFunction · 0.70
cancel_recon_scanFunction · 0.70
handoff_recon_to_zapFunction · 0.70

Calls 2

ReconEngineClass · 0.90
warningMethod · 0.80

Tested by

no test coverage detected