Repository navigation
Big improvements / Bugfixes
Changelog Summary
🐛 Critical Bug Fixes
-
Fixed missing subprocess import in wifite/attack/all.py that was causing NameError: name 'subprocess' is not defined crashes during attacks
-
Enhanced error handling across multiple modules with specific exception types instead of generic catches
-
Fixed airmon interface parsing to properly handle different airmon-ng output formats and edge cases
🔧 Error Handling & Stability Improvements
- Comprehensive exception handling added to all major modules:
- AttackAll, AttackWEP, AttackWPA, Reaver, Bully, Wash
- Specific handling for subprocess.CalledProcessError, OSError, IOError, ValueError, PermissionError
- Enhanced main error handling in wifite.py with proper cleanup and user-friendly error messages
- Improved process cleanup with new ProcessManager class for tracking and cleaning up zombie processes
🚀 Performance & Memory Optimizations
- Memory management improvements in Scanner:
- Target list size limits (1000 max) to prevent memory bloat
- Periodic cleanup of archived targets (500 max, keep newest 300)
- Automatic garbage collection during long scans
- Output size limits in Process class to prevent memory issues with large command outputs
- File size checking before copying large capture files to prevent memory problems
🛠 Tool & Compatibility Improvements
- Hashcat modernization:
- Updated from deprecated mode 2500 to modern mode 22000 for WPA/WPA2
- Improved hash parsing and error handling
- Better support for WPA3-SAE hashes
- Airmon interface detection improvements for various wireless chipsets and output formats
- Tshark test fixes with temporary file handling to resolve permission issues
🔒 Security & Robustness
- Process management with proper cleanup and signal handling
- File operation safety with error handling for disk space and permission issues
- Input validation improvements for target parsing and configuration
- Graceful shutdown handling with escalating signal termination (SIGINT → SIGTERM → SIGKILL)
📊 User Experience Improvements
- Better error messages with specific error types and helpful context
- Improved target display formatting and alignment
- Enhanced debugging output with verbose mode support
- Safer target validation to filter invalid BSSIDs and handle edge cases
This release significantly improves wifite2's stability, performance, and error handling while laying the groundwork for future enhanced scanning capabilities.