From 79e30d77b8555cc15be33b9f7a9482257bbc6c01 Mon Sep 17 00:00:00 2001 From: connorgadbois Date: Tue, 29 Sep 2026 11:46:55 -0500 Subject: [PATCH] Fixed key search --- server/altin/c2_routes.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/server/altin/c2_routes.py b/server/altin/c2_routes.py index 3450479..b332b41 100644 --- a/server/altin/c2_routes.py +++ b/server/altin/c2_routes.py @@ -26,14 +26,9 @@ def c2_catchall(path: str): for key in Key.select(): try: decrypted_data = xor_data(key.key, encrypted_data) - except: - continue - - try: data = json.loads(decrypted_data) except: - # Invalid json - pass + continue found_key = True agent_key = str(key.key)