mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 22:59:59 -07:00
Fix TSCM WiFi detection, SDR capabilities, layout, and correlation/cluster emission
- Use networksetup instead of deprecated airport utility for macOS WiFi detection - Fix SDRDevice attribute access (use getattr instead of dict .get()) - Move Detected Threats panel next to RF Signals in 2-column grid - Always run correlation/identity analysis at sweep end, even if stopped by user Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -372,8 +372,10 @@ def _detect_rf_capabilities(caps: SweepCapabilities, sdr_device: Any) -> None:
|
||||
if devices:
|
||||
device = devices[0] # Use first device
|
||||
rf_cap.available = True
|
||||
rf_cap.device_type = device.get('type', 'unknown')
|
||||
rf_cap.driver = device.get('driver', '')
|
||||
rf_cap.device_type = getattr(device, 'sdr_type', 'unknown')
|
||||
if hasattr(rf_cap.device_type, 'value'):
|
||||
rf_cap.device_type = rf_cap.device_type.value
|
||||
rf_cap.driver = getattr(device, 'driver', '')
|
||||
|
||||
# Set frequency ranges based on device type
|
||||
if 'rtl' in rf_cap.device_type.lower():
|
||||
|
||||
Reference in New Issue
Block a user