Spaces:
Paused
Paused
BinaryONe commited on
Commit ·
0d765c3
1
Parent(s): f45a7ca
Changes
Browse files- WebSSH/AppHandler.py +1 -0
- WebSSH/requirements.txt +1 -0
WebSSH/AppHandler.py
CHANGED
|
@@ -16,6 +16,7 @@ class AppHandler(tornado.web.RequestHandler):
|
|
| 16 |
self.write("Function One Called")
|
| 17 |
|
| 18 |
def run_commands(self):
|
|
|
|
| 19 |
data = json.loads(self.request.body)
|
| 20 |
command = data.get("command")
|
| 21 |
print(f"Command: {command}")
|
|
|
|
| 16 |
self.write("Function One Called")
|
| 17 |
|
| 18 |
def run_commands(self):
|
| 19 |
+
print(self.request)
|
| 20 |
data = json.loads(self.request.body)
|
| 21 |
command = data.get("command")
|
| 22 |
print(f"Command: {command}")
|
WebSSH/requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
tornado
|
| 2 |
webssh
|
| 3 |
paramiko
|
|
|
|
| 1 |
+
json
|
| 2 |
tornado
|
| 3 |
webssh
|
| 4 |
paramiko
|