diff options
author | Erich Eckner <git@eckner.net> | 2023-12-27 17:28:21 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-12-27 17:28:21 +0100 |
commit | 07727b30c8e779ba43cc99e5d7597811c4d601c0 (patch) | |
tree | 23999ebc769874e830c88701b1bce38507de4301 | |
parent | f64ffda854b322763880584f23314fbfc19ce4f8 (diff) | |
download | computer-time-limit-07727b30c8e779ba43cc99e5d7597811c4d601c0.tar.xz |
stub for manipulation
-rw-r--r-- | computer-time-limit.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/computer-time-limit.php b/computer-time-limit.php index 22b7992..a6372a1 100644 --- a/computer-time-limit.php +++ b/computer-time-limit.php @@ -2,6 +2,11 @@ $db = new SQLite3('../backstage/computer-time-limit.sqlite'); +if (array_key_exists('gpg', $_POST)) { + print(shell_exec('echo "' . base64_encode($_POST['gpg']) .'" | base64 -d | gpg --verify 2>&1')); + die(); +} + $result = $db->query('select * from `computer_time`'); ?><html><body><table><?php |