mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
[pitboss/grind] deferred session-0029 (20260517T044708Z-e058)
This commit is contained in:
parent
72ec25238e
commit
19d13a085d
16 changed files with 578 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
import flask
|
||||
|
||||
app = flask.Flask(__name__)
|
||||
|
||||
|
||||
@app.route('/run', methods=['POST'])
|
||||
def run():
|
||||
cmd = flask.request.json.get('cmd')
|
||||
return {'out': eval(cmd)}
|
||||
Loading…
Add table
Add a link
Reference in a new issue