mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-21 18:33:03 +00:00
Fixing TCP max packet size 65535
Fixing TCP max packet size 65535
This commit is contained in:
parent
de81f349c0
commit
94aac3bb33
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import socket
|
|||
s=socket.socket(socket.PF_PACKET, socket.SOCK_RAW, socket.ntohs(0x0800))
|
||||
|
||||
while True:
|
||||
data=s.recvfrom(65565)
|
||||
data=s.recvfrom(65535)
|
||||
try:
|
||||
if "HTTP" in data[0][54:]:
|
||||
print("[","="*30,']')
|
||||
|
|
Loading…
Reference in a new issue