mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-07 04:34:04 -05:00
fragattack: bugfix in eapfrag test
This commit is contained in:
parent
6de61875e7
commit
f8d04e7485
@ -21,7 +21,7 @@ class BcastEapFragTest(Test):
|
|||||||
if len(actions) != 2:
|
if len(actions) != 2:
|
||||||
log(ERROR, f"eapfrag: invalid arguments, should give 2 inject action (gave {len(actions)}).")
|
log(ERROR, f"eapfrag: invalid arguments, should give 2 inject action (gave {len(actions)}).")
|
||||||
quit(1)
|
quit(1)
|
||||||
elif actions[0].enc:
|
elif actions[0].encrypted:
|
||||||
log(ERROR, f"eapfrag: first inject action should not be encrypted.")
|
log(ERROR, f"eapfrag: first inject action should not be encrypted.")
|
||||||
quit(1)
|
quit(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user