From aa75970ad1d961dd6e638a387c117f755e815086 Mon Sep 17 00:00:00 2001 From: derv82 Date: Mon, 12 Jun 2017 03:33:15 -0400 Subject: [PATCH] Fix WEP fragment attack. Whoops. --- py/Aireplay.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py/Aireplay.py b/py/Aireplay.py index 7965212..5249254 100644 --- a/py/Aireplay.py +++ b/py/Aireplay.py @@ -291,7 +291,8 @@ class Aireplay(Thread): ''' Finds the last .xor file in the directory ''' xor = None 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 return xor