From 75572e3a09acf8a275f59cb48ffff697acfc1ef4 Mon Sep 17 00:00:00 2001 From: Tristan Smith Date: Sat, 1 Jun 2024 01:43:10 -0400 Subject: [PATCH] added a packet i use for testing --- packet.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packet.py diff --git a/packet.py b/packet.py new file mode 100644 index 0000000..f3d18d2 --- /dev/null +++ b/packet.py @@ -0,0 +1,13 @@ +from scapy.all import send, IP, UDP + +# Define the destination IP address and UDP ports +destination_ip = '255.255.255.255' # Destination IP address +source_ip = '192.168.1.111' # Source IP address (change as needed) +source_port = 14236 # Source port +destination_port = 14235 # Destination port + +# Construct the packet +packet = IP(src=source_ip, dst=destination_ip) / UDP(sport=source_port, dport=destination_port) + +# Send the packet +send(packet)