mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-23 15:38:18 -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 );
|
buildDeauth(from, to, 0xc0, settings.deauthReason );
|
||||||
if(send()) packetsCounter[0]++;
|
if(send()) packetsCounter[0]++;
|
||||||
buildDeauth(from, to, 0xa0, settings.deauthReason );
|
buildDeauth(from, to, 0xa0, settings.deauthReason );
|
||||||
send();
|
if(send()) packetsCounter[0]++;
|
||||||
buildDeauth(to, from, 0xc0, settings.deauthReason );
|
delay(3);
|
||||||
send();
|
|
||||||
buildDeauth(to, from, 0xa0, settings.deauthReason );
|
|
||||||
send();
|
|
||||||
delay(5);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user