Skip to content

Commit

Permalink
fixing typo in php version
Browse files Browse the repository at this point in the history
  • Loading branch information
its-a-feature committed Sep 28, 2024
1 parent a39dc32 commit dbbab0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Payload_Type/arachne/arachne/agent_code/arachne.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit dbbab0e

Please sign in to comment.