mirror of
https://github.com/Kkevsterrr/geneva
synced 2024-12-26 11:25:11 +01:00
Fixing bug
This commit is contained in:
parent
0cc829642c
commit
226b299257
@ -25,6 +25,8 @@ from scapy.all import *
|
||||
import actions.utils
|
||||
from plugins.plugin import Plugin
|
||||
|
||||
import layers.packet
|
||||
|
||||
BASEPATH = os.path.dirname(os.path.abspath(__file__))
|
||||
PROJECT_ROOT = os.path.dirname(os.path.dirname(BASEPATH))
|
||||
|
||||
@ -129,7 +131,7 @@ class AmplificationPluginRunner(Plugin):
|
||||
IP(dst=dst)/TCP(sport=sport, dport=dport, flags="A", ack=ack, seq=seq+1),
|
||||
IP(dst=dst)/TCP(sport=sport, dport=dport, flags="PA", ack=ack, seq=seq+1)/Raw(payload)
|
||||
]
|
||||
packets = [actions.packet.Packet(packet) for packet in packets]
|
||||
packets = [layers.packet.Packet(packet) for packet in packets]
|
||||
|
||||
packets_to_send = []
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user