From c5323dbc78fac616b73fe6c5c11a38361afd760a Mon Sep 17 00:00:00 2001
From: divinity76
Date: Tue, 27 Aug 2019 00:25:51 +0200
Subject: [PATCH] admin.php protection against XSS and CSRF (#367)
admin.php protection against XSS and CSRF
see https://github.com/Znote/ZnoteAAC/issues/361 for more info
---
admin.php | 58 +++++++++++++++++++++++++------------
engine/function/general.php | 31 ++++++++++++++++++++
2 files changed, 71 insertions(+), 18 deletions(-)
diff --git a/admin.php b/admin.php
index 8e727af..a136aa0 100644
--- a/admin.php
+++ b/admin.php
@@ -1,4 +1,12 @@
";
-echo "Last cached on: ". getClock($basic['cached'], true) .".
";
+echo "Running Znote AAC Version: ". hhb_tohtml($basic['version']) .".
";
+echo "Last cached on: ". hhb_tohtml(getClock($basic['cached'], true)) .".
";
?>
-
Permanently delete/erase character from database:
-
Ban character and/or account: