summaryrefslogtreecommitdiff
path: root/packet_sender.py
blob: 7703a5fcfdbbc199ec69bd09a28dc9872177df85 (plain)
1
2
3
4
5
6
7
from scapy.all import Ether, IP, UDP, sendp

input_ip = input("Enter destination IP: ")

p = Ether()/IP(dst=input_ip, src='223.255.254.115')/UDP(b"A Payload")

sendp(p)