16 lines
370 B
Python
16 lines
370 B
Python
|
import socket
|
||
|
|
||
|
acc = ""
|
||
|
|
||
|
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
|
||
|
s.connect(("0.0.0.0", 12345))
|
||
|
s.send(b"givacc")
|
||
|
acc = s.recv(1024)
|
||
|
print(acc)
|
||
|
s.close()
|
||
|
|
||
|
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
|
||
|
s.connect(("0.0.0.0", 12345))
|
||
|
s.send(b"remacc|t788egrvdp@wwjmp.com")
|
||
|
print(s.recv(1024))
|
||
|
s.close()
|