Fix WEP fragment attack.

Whoops.
This commit is contained in:
derv82
2017-06-12 03:33:15 -04:00
parent db5aaf78f5
commit aa75970ad1

View File

@@ -291,7 +291,8 @@ class Aireplay(Thread):
''' Finds the last .xor file in the directory ''' ''' Finds the last .xor file in the directory '''
xor = None xor = None
for fil in os.listdir(Configuration.temp()): for fil in os.listdir(Configuration.temp()):
if fil.startswith('replay_') and fil.endswith('.xor'): if fil.startswith('replay_') and fil.endswith('.xor') or \
fil.startswith('fragment-') and fil.endswith('.xor'):
xor = fil xor = fil
return xor return xor