Compare commits
No commits in common. "82d11e868f3c8480fcf08193e82ed13457529af8" and "0ec9d70cd6209149d801c7ca9cada40ed7854aa9" have entirely different histories.
82d11e868f
...
0ec9d70cd6
19
replay.py
19
replay.py
|
@ -1,19 +0,0 @@
|
||||||
#replay the "trigger" packet.
|
|
||||||
#this packets will start the source broadcasting its packets.
|
|
||||||
|
|
||||||
import base64
|
|
||||||
from scapy.all import *
|
|
||||||
|
|
||||||
# Base64 encoded packet data
|
|
||||||
encoded_packet = "////////AAFsWfAKCABFAAA4KB0AAIARkEfAqAABwKgA/x+bH5wA2QAAASABgBtAACAAAAAAAAAADwAAAAEAAAEAACArAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//////////////////////////////////////////AAAAAAAAAAIBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
|
|
||||||
|
|
||||||
|
|
||||||
# Decode the Base64 encoded packet
|
|
||||||
decoded_packet = base64.b64decode(encoded_packet)
|
|
||||||
|
|
||||||
# Load packet with Scapy
|
|
||||||
packet = Ether(decoded_packet)
|
|
||||||
#print(packet.show(dump=True))
|
|
||||||
|
|
||||||
# (packet)
|
|
||||||
sendp(packet, iface="enp1s0f0")
|
|
Loading…
Reference in New Issue
Block a user