diff --git a/README.md b/README.md index 289d877..812a9ac 100644 --- a/README.md +++ b/README.md @@ -32,5 +32,6 @@ Kritbit uses the following projects - [jQuery](https://jquery.com/) - [jQuery confirm](http://craftpip.github.io/jquery-confirm/) - [bootstrap fullscreen](http://craftpip.github.io/bootstrap-fullscreen-select/) +- [dynatable](http://www.dynatable.com/) Made with <3 by Nathan Adams \ No newline at end of file diff --git a/scripts/runcommand.py b/scripts/runcommand.py index 0c17388..b6062ef 100644 --- a/scripts/runcommand.py +++ b/scripts/runcommand.py @@ -106,8 +106,7 @@ total = time.time() - start_time nonce = ''.join(random.SystemRandom().choice(string.hexdigits + string.digits) for _ in range(10)) message = {} message["nonce"] = nonce -message["message"] = json.dumps({"output":out, "time_taken": total, "result": exitcode}) +message["message"] = json.dumps({"output":out, "time_taken": total, "result": 1}) message["signature"] = hashlib.sha256(message["message"] + nonce + HASH).hexdigest() -print hashlib.sha256(message["message"]).hexdigest() message["message"] = encrypt(SHARED_KEY, message["message"]) print curl_post(URL, {"data": json.dumps(message)}).getvalue() \ No newline at end of file diff --git a/web/application/views/base.html b/web/application/views/base.html index a6185e5..bc331a2 100644 --- a/web/application/views/base.html +++ b/web/application/views/base.html @@ -8,6 +8,7 @@ + @@ -19,6 +20,7 @@ +