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 goto dJGhC; dJGhC: $key = "\60\x41\67\66\105\x44\x44\x34\x38\103\62\x44\62\63\71\x..

Decoded Output download

<?php 
 goto dJGhC; dJGhC: $key = "0A76EDD48C2D239BE4BF77B8E2E2C308"; goto tyZ2P; eAMOa: echo "Encrypted + base 64:" . $encryptedStringBase64 . "
"; goto xmSIc; tX5IE: $encryptedString = openssl_encrypt("123-AM0712F-XK-383047820-1547628141", "aes-256-cbc", $key, OPENSSL_RAW_DATA, $vector); goto JHYHv; xu4PO: $encryptedStringBase64 = base64_encode($encryptedString); goto eAMOa; tyZ2P: $vector = chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0); goto tX5IE; JHYHv: echo "Encrypted: " . $encryptedString . "
"; goto xu4PO; xmSIc: echo "Decrypted:" . openssl_decrypt(base64_decode($encryptedStringBase64), "aes-256-cbc", $key, OPENSSL_RAW_DATA, $vector) . "
"; ?>

Did this file decode correctly?

Original Code

<?php
 goto dJGhC; dJGhC: $key = "\60\x41\67\66\105\x44\x44\x34\x38\103\62\x44\62\63\71\x42\105\x34\x42\106\67\x37\x42\x38\x45\62\105\62\103\63\x30\x38"; goto tyZ2P; eAMOa: echo "\105\156\143\x72\171\160\164\145\144\40\53\40\x62\x61\x73\145\40\x36\x34\x3a" . $encryptedStringBase64 . "\12"; goto xmSIc; tX5IE: $encryptedString = openssl_encrypt("\x31\x32\x33\55\101\115\x30\67\x31\62\106\x2d\130\113\55\x33\x38\63\60\64\67\70\62\x30\55\61\65\64\x37\66\62\x38\x31\64\61", "\141\x65\163\55\62\65\66\x2d\143\x62\x63", $key, OPENSSL_RAW_DATA, $vector); goto JHYHv; xu4PO: $encryptedStringBase64 = base64_encode($encryptedString); goto eAMOa; tyZ2P: $vector = chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0) . chr(0); goto tX5IE; JHYHv: echo "\x45\x6e\x63\x72\x79\160\x74\145\144\x3a\40" . $encryptedString . "\12"; goto xu4PO; xmSIc: echo "\x44\x65\x63\x72\171\160\164\x65\144\72" . openssl_decrypt(base64_decode($encryptedStringBase64), "\x61\x65\163\55\x32\x35\x36\55\143\142\143", $key, OPENSSL_RAW_DATA, $vector) . "\12";

Function Calls

None

Variables

None

Stats

MD5 22540cd3967f247012a68cc743c44802
Eval Count 0
Decode Time 52 ms