Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php function decryptStringWithKeyAndIV($ciphertext, $key, $iv, $encoding = null) { $decr..
Decoded Output download
<?php function decryptStringWithKeyAndIV($ciphertext, $key, $iv, $encoding = null) { $decryptedText = openssl_decrypt($ciphertext, "AES-256-CBC", $key, OPENSSL_RAW_DATA, $iv); return $decryptedText; } $array = array(); function decr($text) { $ciphertext = $text; //"mIdOANw6TnxHzVMDCKZ/7MtUPwbQ9dFWElQDTYTtbk4="; $key = "JAp2VxtQjpyjjcZWMNkJqdQWY3kvmyzUyDo6AkUAytY"; $iv = "Y&@NKS&SIQ**~~*?"; // $decryptedText = decryptStringWithKeyAndIV(base64_decode($ciphertext), base64_decode($key), $iv); if ($decryptedText !== false) { $t = $decryptedText; } else { $t = "err0t"; } return $t; } $filePath = 'hashes'; $memoryLimit = '5G'; // ini_set('memory_limit', $memoryLimit); $handle = fopen($filePath, 'r'); if ($handle) { while (($line = fgets($handle)) !== false) { $s = trim($line); $array[$s]=decr($s); } fclose($handle); } else { echo " ."; } file_put_contents("hashesarray.dat", serialize($array)); ?>
Did this file decode correctly?
Original Code
<?php function decryptStringWithKeyAndIV($ciphertext, $key, $iv, $encoding = null) { $decryptedText = openssl_decrypt($ciphertext, "AES-256-CBC", $key, OPENSSL_RAW_DATA, $iv); return $decryptedText; } $array = array(); function decr($text) { $ciphertext = $text; //"mIdOANw6TnxHzVMDCKZ/7MtUPwbQ9dFWElQDTYTtbk4="; $key = "JAp2VxtQjpyjjcZWMNkJqdQWY3kvmyzUyDo6AkUAytY"; $iv = "Y&@NKS&SIQ**~~*?"; // $decryptedText = decryptStringWithKeyAndIV(base64_decode($ciphertext), base64_decode($key), $iv); if ($decryptedText !== false) { $t = $decryptedText; } else { $t = "err0t"; } return $t; } $filePath = 'hashes'; $memoryLimit = '5G'; // ini_set('memory_limit', $memoryLimit); $handle = fopen($filePath, 'r'); if ($handle) { while (($line = fgets($handle)) !== false) { $s = trim($line); $array[$s]=decr($s); } fclose($handle); } else { echo " ."; } file_put_contents("hashesarray.dat", serialize($array));
Function Calls
None |
Stats
MD5 | 84ecc4e4d12f71560d4ab187fa593f8b |
Eval Count | 0 |
Decode Time | 59 ms |