Karma v2 - #2829
Open
Ninja-jr wants to merge 21 commits into
Open
Conversation
Enhanced various structures and configurations for better tracking and attack management, including new fields for retry counts, success rates, and additional parameters for broadcast and client behavior.
Updated comments for clarity and added detailed descriptions for various structures and enums in karma_attack.h.
Refactor KarmaRuntimeState and related functions for better organization and efficiency.
Removed numerous macro definitions for state access in karma_attack.cpp.
Removed unused macro definitions related to attackConfig, selectedTemplate, and pendingPortals. Updated the remaining macro definitions for state access.
Ninja-jr
pushed a commit
to Ninja-jr/Bruce_firmware
that referenced
this pull request
Aug 25, 2026
Ninja-jr
pushed a commit
to Ninja-jr/Bruce_firmware
that referenced
this pull request
Aug 25, 2026
Implement adaptive channel rotation and band detection for WiFi attacks.
Added BandType enum and SupportedBands structure for better band management.
Ninja-jr
pushed a commit
to Ninja-jr/Bruce_firmware
that referenced
this pull request
Aug 26, 2026
Ninja-jr
pushed a commit
to Ninja-jr/Bruce_firmware
that referenced
this pull request
Aug 26, 2026
Removed unused BandType enum and SupportedBands struct.
Ninja-jr
pushed a commit
to Ninja-jr/Bruce_firmware
that referenced
this pull request
Aug 26, 2026
Ninja-jr
pushed a commit
to Ninja-jr/Bruce_firmware
that referenced
this pull request
Aug 26, 2026
Removed duplicate band types definition from karma_attack.h.
Ninja-jr
pushed a commit
to Ninja-jr/Bruce_firmware
that referenced
this pull request
Aug 26, 2026
Ninja-jr
marked this pull request as draft
August 26, 2026 21:54
Updated header comments and version information for the Karma attack module.
Added functions for detecting and managing supported Wi-Fi bands.
Ninja-jr
marked this pull request as ready for review
August 26, 2026 22:10
Contributor
Author
|
All good now...ready to merge. Tested and works as intended and even better |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Major performance and capability enhancements to the Karma attack module. Optimized for large SSID databases (15,000+ entries) with improved targeting, evasion, success tracking, and now automatic multi-band channel adaptation.
Changes Made
1. SSID Database Optimization
2. PMKID Detection
3. Client Success Tracking
4. Detection Evasion
5. Smart Portal Management
6. Deauth Integration
7. NEW: Multi-Band Channel Adaptation
buildKarmaChannelList(): Builds channel list based on detected bandskarmaAdaptiveHop(): Replaces fixed channel rotation with adaptive hoppingisKarmaChannelValid()validates channels against hardware supportMemory Impact
Compatibility
Configuration Changes
New KarmaConfig fields:
rateLimitPerTarget: Rate limiting per clientrateLimitWindow: Rate limit window (ms)enableDetectionEvasion: Toggle evasion featuresbeaconJitterPercent: Jitter percentage for beaconsenablePermanentTargets: Toggle permanent targetingpermanentThreshold: Interactions before permanent promotionNew AttackConfig fields:
enableTemplateABTesting: Template rotationtemplateRotationInterval: Rotation interval (minutes)enableContextualTemplate: Context-based template selectionPerformance Improvements