mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-23 07:29:20 -08:00
Improved Deuth function
Most people use broadcast instead of a selected client and sending a packet to the AP with FF:FF:FF:FF:FF:FF as sender wouldn't make much sense.
This commit is contained in:
@@ -139,12 +139,8 @@ void Attack::sendDeauths(Mac from, Mac to){
|
||||
buildDeauth(from, to, 0xc0, settings.deauthReason );
|
||||
if(send()) packetsCounter[0]++;
|
||||
buildDeauth(from, to, 0xa0, settings.deauthReason );
|
||||
send();
|
||||
buildDeauth(to, from, 0xc0, settings.deauthReason );
|
||||
send();
|
||||
buildDeauth(to, from, 0xa0, settings.deauthReason );
|
||||
send();
|
||||
delay(5);
|
||||
if(send()) packetsCounter[0]++;
|
||||
delay(3);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user