We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe53d7c commit 1db9b02Copy full SHA for 1db9b02
Jiyu_udp_attack/sender.py
@@ -138,10 +138,6 @@ def send_packet(
138
dst_ip (str): The destination IP address.
139
dst_port (int): The destination port number.
140
payload (bytes): The data payload to include in the packet.
141
-
142
- Note:
143
- This function uses Scapy to construct and send the packet.
144
- Ensure that Scapy is installed and properly configured in your environment.
145
"""
146
client = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_RAW)
147
client.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)
0 commit comments