Projects STRLCPY geneva Commits 40dcb7c8
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    plugins/amplification/plugin.py
    skipped 24 lines
    25 25  import actions.utils
    26 26  from plugins.plugin import Plugin
    27 27   
     28 +import layers.packet
     29 + 
    28 30  BASEPATH = os.path.dirname(os.path.abspath(__file__))
    29 31  PROJECT_ROOT = os.path.dirname(os.path.dirname(BASEPATH))
    30 32   
    skipped 98 lines
    129 131   IP(dst=dst)/TCP(sport=sport, dport=dport, flags="A", ack=ack, seq=seq+1),
    130 132   IP(dst=dst)/TCP(sport=sport, dport=dport, flags="PA", ack=ack, seq=seq+1)/Raw(payload)
    131 133   ]
    132  - packets = [actions.packet.Packet(packet) for packet in packets]
     134 + packets = [layers.packet.Packet(packet) for packet in packets]
    133 135   
    134 136   packets_to_send = []
    135 137   try:
    skipped 73 lines
Please wait...
Page is in error, reload to recover