xc xc
This commit is contained in:
45
master/Evil-BW16/BW16_defs.h
Normal file
45
master/Evil-BW16/BW16_defs.h
Normal file
@@ -0,0 +1,45 @@
|
||||
#pragma once
|
||||
|
||||
// BLE service + char UUIDs for Evil-BW16 network
|
||||
#define SERVICE_UUID "EVIL1234-5678-9ABC-DEF0-123456789ABC"
|
||||
#define CMD_CHAR_UUID "EVIL1234-5678-9ABC-DEF0-123456789ACD"
|
||||
#define NOTIFY_CHAR_UUID "EVIL1234-5678-9ABC-DEF0-123456789ACE"
|
||||
|
||||
// BLE device role identifiers
|
||||
#define ROLE_MASTER
|
||||
// slaves omit the above define
|
||||
|
||||
// Web server credentials (master only)
|
||||
#define AP_SSID "evilMaster"
|
||||
#define AP_PASS "master"
|
||||
|
||||
// 5GHz Portal credentials
|
||||
#define PORTAL_DEFAULT_SSID "Free WiFi"
|
||||
#define PORTAL_IP "192.168.5.1"
|
||||
|
||||
// Maximum slaves to track
|
||||
#define MAX_SLAVES 8
|
||||
|
||||
// BLE connection parameters for better reliability
|
||||
#define BLE_SCAN_TIMEOUT_MS 10000
|
||||
#define BLE_RECONNECT_INTERVAL_MS 30000
|
||||
#define BLE_CONNECTION_TIMEOUT_MS 5000
|
||||
|
||||
// Attack coordination
|
||||
#define ATTACK_SYNC_DELAY_MS 100
|
||||
#define DEAUTH_FRAME_COUNT 5
|
||||
#define BEACON_FLOOD_INTERVAL_MS 100
|
||||
|
||||
// Channel definitions
|
||||
#define CHANNELS_2GHZ_COUNT 13
|
||||
#define CHANNELS_5GHZ_COUNT 25
|
||||
extern const int CHANNELS_2GHZ[CHANNELS_2GHZ_COUNT];
|
||||
extern const int CHANNELS_5GHZ[CHANNELS_5GHZ_COUNT];
|
||||
|
||||
// Frame types for 802.11 attacks
|
||||
#define FRAME_TYPE_BEACON 0x80
|
||||
#define FRAME_TYPE_DEAUTH 0xC0
|
||||
#define FRAME_TYPE_DISASSOC 0xA0
|
||||
#define FRAME_TYPE_AUTH 0xB0
|
||||
#define FRAME_TYPE_ASSOC_REQ 0x00
|
||||
#define FRAME_TYPE_PROBE_REQ 0x40
|
||||
Reference in New Issue
Block a user