G
Ryan's Git Repos
xdp-packet-dropper
files
log
graph
refs
Ref
main
ping_senders/packet_sender.py
main
· 169 B · 7 lines
raw
1
from
scapy.all
import
Ether, IP, UDP, sendp
2
3
input_ip =
input
(
"Enter destination IP: "
)
4
5
p = Ether()/IP(dst=input_ip, src=
'223.255.254.115'
)/UDP(
b
"A Payload"
)
6
7
sendp(p)