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 $qs = 'SZX4iHUomXL9mahSuyfJSGbIhvD7Hpuh48c8KH/KAEn1P246YGOxQRhr4U2bYP8Qd4f9+KqRl1KS..

Decoded Output download

<?php 
$qs = 'SZX4iHUomXL9mahSuyfJSGbIhvD7Hpuh48c8KH/KAEn1P246YGOxQRhr4U2bYP8Qd4f9+KqRl1KSXN5Mdq9q93EGS4YJwrHiX0ZRX8+3Xz92/UOm128bzbWxf9ciUpVbhu/vbl8g+itaWiBaB03uCLtmHa4ajdm1iWYb/5KIxt6VTKa+eD8BVODTm9hMNJPJiCdF8Z0vDPOa9OSWwOBBNRZkcGv2QT1yAb6KYyEm44nG99X7Y60rRlYp94RZDsvte2MCkDsAjXUrS8sz6c1cCUFgpjxGfzt56h9Bp9r4TmNvD3s1iP4bIywzMw6Z/W5L'; // replace string 
$decoded = base64_decode($qs); 
 
$encryptionKeyBin = pack('H*', '38A7BC99FC9A49877C7AE6C53F0D6C5CFA3B80FB1D64EA156AE2E32D9740867B'); // replace string 
$encryptionVectorBin = pack('H*', 'FBF502CA0994CAF252C0E6C79651E52B'); // replace string 
 
$sslDecoded = openssl_decrypt($decoded, 'aes-256-cbc', $encryptionKeyBin, OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING, $encryptionVectorBin); 
 
parse_str($sslDecoded, $output); 
echo print_r($output, true); ?>

Did this file decode correctly?

Original Code

<?php
$qs = 'SZX4iHUomXL9mahSuyfJSGbIhvD7Hpuh48c8KH/KAEn1P246YGOxQRhr4U2bYP8Qd4f9+KqRl1KSXN5Mdq9q93EGS4YJwrHiX0ZRX8+3Xz92/UOm128bzbWxf9ciUpVbhu/vbl8g+itaWiBaB03uCLtmHa4ajdm1iWYb/5KIxt6VTKa+eD8BVODTm9hMNJPJiCdF8Z0vDPOa9OSWwOBBNRZkcGv2QT1yAb6KYyEm44nG99X7Y60rRlYp94RZDsvte2MCkDsAjXUrS8sz6c1cCUFgpjxGfzt56h9Bp9r4TmNvD3s1iP4bIywzMw6Z/W5L'; // replace string
$decoded = base64_decode($qs);

$encryptionKeyBin = pack('H*', '38A7BC99FC9A49877C7AE6C53F0D6C5CFA3B80FB1D64EA156AE2E32D9740867B'); // replace string
$encryptionVectorBin = pack('H*', 'FBF502CA0994CAF252C0E6C79651E52B'); // replace string

$sslDecoded = openssl_decrypt($decoded, 'aes-256-cbc', $encryptionKeyBin, OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING, $encryptionVectorBin);

parse_str($sslDecoded, $output);
echo print_r($output, true);

Function Calls

pack 2
base64_decode 1

Variables

$qs SZX4iHUomXL9mahSuyfJSGbIhvD7Hpuh48c8KH/KAEn1P246YGOxQRhr4U2b..
$encryptionKeyBin 8I|z? l\;dj-@{
$encryptionVectorBin RQ+

Stats

MD5 18fbdd8981582123a58798c1ade337bd
Eval Count 0
Decode Time 61 ms