developer shell added which doesn't do any magic
authorConstantin Berhard <constantin@exxxtremesys.lu>
Mon, 30 Sep 2013 14:38:52 +0000 (16:38 +0200)
committerConstantin Berhard <constantin@exxxtremesys.lu>
Mon, 30 Sep 2013 14:38:52 +0000 (16:38 +0200)
new file:   tryshell

tryshell [new file with mode: 0755]

diff --git a/tryshell b/tryshell
new file mode 100755 (executable)
index 0000000..3d4e3ed
--- /dev/null
+++ b/tryshell
@@ -0,0 +1,15 @@
+#!/usr/bin/python3
+
+import readline
+import socket
+
+tuerSock = "/run/tuer.sock"
+
+while True:
+       command = input("# ") # EOFError used to exit
+       s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
+       s.connect(tuerSock)
+       s.send(command.encode())
+       data = s.recv(64)
+       s.close()
+       print(str(data))