mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-26 13:49:35 -05:00
fragattacks: let amsdu-inject first get IP
This commit is contained in:
parent
68a297795c
commit
fa58503adb
@ -7,7 +7,10 @@ class AmsduInject(Test):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, ptype, target=False):
|
def __init__(self, ptype, target=False):
|
||||||
super().__init__([Action(Action.Connected, Action.Inject, enc=True)])
|
super().__init__([
|
||||||
|
Action(Action.Connected, Action.GetIp, enc=True),
|
||||||
|
Action(Action.Connected, Action.Inject, enc=True)]
|
||||||
|
)
|
||||||
self.ptype = ptype
|
self.ptype = ptype
|
||||||
self.target = target
|
self.target = target
|
||||||
if not self.target in [None, "linux"]:
|
if not self.target in [None, "linux"]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user