Skip to content

Commit 1db9b02

Browse files
committed
fix/docs: Remove outdated note about Scapy from send_packet documentation
1 parent fe53d7c commit 1db9b02

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Jiyu_udp_attack/sender.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ def send_packet(
138138
dst_ip (str): The destination IP address.
139139
dst_port (int): The destination port number.
140140
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.
145141
"""
146142
client = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_RAW)
147143
client.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)

0 commit comments

Comments
 (0)