solved secure
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import socket
|
||||
from struct import pack, unpack
|
||||
from time import time, sleep
|
||||
from binascii import unhexlify
|
||||
|
||||
def sock():
|
||||
addr = ("localhost", 13370)
|
||||
@@ -9,8 +10,10 @@ def sock():
|
||||
return s
|
||||
|
||||
def test(s):
|
||||
s.sendall(b"\x0010x snoeperfloep,123x sapperflap\n")
|
||||
s.sendall(b"\x04\x01\x0010x snoeperfloep,123x sapperflap\x11")
|
||||
print(s.recv(1024))
|
||||
s.close()
|
||||
|
||||
test(sock())
|
||||
def insane(s): s.sendall(unhexlify("03050105050500"))
|
||||
|
||||
insane(sock())
|
||||
Reference in New Issue
Block a user