Update 'server/first_packet.py'

This commit is contained in:
Sana147 2023-05-03 03:17:34 +00:00
parent a6be8617e7
commit 76a8559005

View File

@ -1,3 +1,5 @@
# Using the source code and instructions from: https://inc0x0.com/tcp-ip-packets-introduction/tcp-ip-packets-3-manually-create-and-send-raw-tcp-ip-packets/
import socket import socket
s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_TCP) s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_TCP)