spelling: delete

This commit is contained in:
Josh Soref 2019-10-26 22:13:18 -04:00
parent d3d4df2500
commit 8a87bbeb90

View File

@ -28,7 +28,7 @@ def on_handshake(agent, filename, access_point, client_station):
if result: if result:
logging.info("[AircrackOnly] contains handshake") logging.info("[AircrackOnly] contains handshake")
else: else:
todetele = 1 todelete = 1
if todelete == 0: if todelete == 0:
result = subprocess.run(('/usr/bin/aircrack-ng '+ filename +' | grep "PMKID" | awk \'{print $2}\''),shell=True, stdout=subprocess.PIPE) result = subprocess.run(('/usr/bin/aircrack-ng '+ filename +' | grep "PMKID" | awk \'{print $2}\''),shell=True, stdout=subprocess.PIPE)
@ -36,7 +36,7 @@ def on_handshake(agent, filename, access_point, client_station):
if result: if result:
logging.info("[AircrackOnly] contains PMKID") logging.info("[AircrackOnly] contains PMKID")
else: else:
todetele = 1 todelete = 1
if todelete == 1: if todelete == 1:
os.remove(filename) os.remove(filename)