auto-t: hostapd.py: add resend_m3

This forces hostapd to resend message 3 of the 4-way handshake
This commit is contained in:
James Prestwood 2021-10-07 13:49:55 -07:00 committed by Denis Kenzior
parent f1b106f6eb
commit 119de8ec55
1 changed files with 4 additions and 0 deletions

View File

@ -212,6 +212,10 @@ class HostapdCLI(object):
cmd = 'REKEY_GTK'
self.ctrl_sock.sendall(cmd.encode('utf-8'))
def resend_m3(self, address):
cmd = 'RESEND_M3 %s' % address
self.ctrl_sock.sendall(cmd.encode('utf-8'))
@property
def bssid(self):
cmd = self.cmdline + ['status']