@@ -17,7 +17,7 @@ extern "C" {
17
17
#define deauthsPerSecond 10 // number of deauthentication & disassociation frames sent per second per target.
18
18
19
19
#define beaconPerSecond 10 // number of beacon frames sent per second
20
- #define randomBeacons 50 // number of generated beacon frames
20
+ #define randomBeacons 80 // number of generated beacon frames
21
21
#define SSIDLen 32 // SSID length of random generated APs (random beacon spam)
22
22
#define randomBeaconChange 3 // time in seconds after new beacon frames are generated
23
23
#define beaconChannel 10 // channel to send beacon frames on (only for the packet bytes, it will actually sent on the current channel)
@@ -40,7 +40,7 @@ class Attack
40
40
void stopAll ();
41
41
void stop (int num);
42
42
private:
43
- void generatePacket ();
43
+ void generateBeaconPacket ();
44
44
bool send (uint8_t buf[], int len);
45
45
46
46
const String attackNames[attackNum] = {" deauth selected" ," deauth all" ," beacon spam" ," random beacon spam" };
@@ -80,7 +80,7 @@ class Attack
80
80
uint8_t beaconPacket_header[36 ] = {
81
81
0x80 , 0x00 ,
82
82
0x00 , 0x00 , // beacon
83
- 0xff , 0xff , 0xff , 0xff , 0xff , 0xff , // destination: broadcast
83
+ 0x80 , 0x7a , 0xbf , 0x3f , 0x8c , 0xac , // destination: broadcast
84
84
0x01 , 0x02 , 0x03 , 0x04 , 0x05 , 0x06 , // source
85
85
0x01 , 0x02 , 0x03 , 0x04 , 0x05 , 0x06 , // source
86
86
0xc0 , 0x6c ,
0 commit comments