Initial commit

This commit is contained in:
Korneliusz Osmenda
2022-08-21 21:45:33 +02:00
commit b376a8e508
29 changed files with 1837 additions and 0 deletions
Executable
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env python3
import tlay2_client
import socket
conn = tlay2_client.Tlay2_out(0)
while True:
packet = conn.recv()
if packet == b'[SUBSCRIBED]\n':
s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
s.connect(("127.0.0.1",4444))
s.send(b"reset\n")
s.close()