auto-t: Add functions to hostapd_cli

This commit is contained in:
Tim Kourt 2016-10-06 11:06:14 -07:00 committed by Denis Kenzior
parent d8cb8d7810
commit 91059e68cd
1 changed files with 8 additions and 0 deletions

View File

@ -6,3 +6,11 @@ class HostapdCLI:
@staticmethod
def wps_push_button():
os.system('hostapd_cli wps_pbc')
@staticmethod
def deauthenticate(client_address):
os.system('hostapd_cli deauthenticate ' + client_address)
@staticmethod
def kill_all():
os.system('killall hostapd')