Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
eval(gzinflate(base64_decode('fZdHErNIEoWP038HC6woiI5egEB4I5yAzUThvfDu9KPFrOcAFZGV+fK9L/Md..
Decoded Output download
eval(gzinflate(base64_decode('vVnZsqpKEv2ZjrgP96ER5+joB8UNG3A4TgXWyw0BBaQA3Tjh13cmIIPDPud0dN8HwwGryGHlypXFP/76y10qrf3mM1D1f/8xkT5sVRA9qn00DJ94qmBtZ1yTTL1uf7mcbZXY28sSaUxEsy0LnbM8OVyCyenmCIPjbr+LAmMR7Rs9u60Ks9bXpiNPTrwL/7F7nDqY7rN9l6HC7bVpTdSI2LmRYBQMhV6w0enJHNjxyqdrTbsKG23ahPu1X6/rKrO5GcmCuZsKU6a7q4MqsK16447pmnAs+NSjYjem2j6i/piBLwEl1nYkLS8rn8RKfLEV3mKk1rnQRd+lurI1fXIwJLqjuPfgA17T/eSS2O5YWnNHbs7ZcPuVffS6wtb+1V/xYN+g74Iv3khSthNpCvbNnIlEIip68Hna0Eh3B7aEdM7QRlsWenYS84FDNY3oqjC9rFgU4Pq1FAb63LMVd2XjvlpswrVuuHYtS5338/XJa+A4smDj/uGadZnhj+N1wHSqTcPntZ69AZ/ytdnr8X/ygLOpRHZmwA6khr/Z6Jeh3PquzjsHpcYlsSn26HcBG5GmLV/ub2mQR2YxnSenVV1prpmFPib26TfHUxfRWHCL/2+nlT0e723/mPcdoy5faLLPfmsEaT6eY3ixR3Mvj1e+76fCSJ3Ehot7y4izboobsQbx0ydS9yRLiI80nhttD/Gcbdc8aQK8KfWvOsZIic29/Jnb7uF1/H0tUboW7EDTHH+0W/KItzmjgyWhS/021sy4sEkZOHy6hjRGvtwwXIdamkJJXQ6/3Ydjogr+GfCa3+R9KYaeptGI8MTT+SPbzHuQm+6Bak3A2XW79pUvKn1ArGZfVE+xabnJHoD5VW28jHisSbznePERK2VbReYbosWo2IE1uK/DNgPFnUiNUNOJqxErViXH1zQ7VGosp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VttLTldKS0/KFttLTldezR9KS0/KFttLTldezR9KSQvIiwgJGhqKSkNCiAgICAgICAgcmVXdXJuICRoajsNCg0KICAgICRoaiA9IGpyZWdfcmVqbGZjZSgiL1tebS05XS8iLCAiIiwgJGhqKTsNCg0KICAgIFl3OFdjaCgkaDhkZSkgew0KICAgICAgICBjZlllIEs6DQogICAgICAgICAgICByZVd1cm4ganJlZ19yZWpsZmNlKCIvKG0xW20tOV0pKFttLTldezR9KShbbS05XXs0fSkkLyIsICJcXDEtKioqKi0qKioqIiwgJGhqKTsNCiAgICAgICAgY2ZZZSAyOg0KICAgICAgICAgICAgcmVXdXJuIGpyZWdfcmVqbGZjZSgiLyhtMVttLTldKShbbS05XXs0fSkoW20tOV17NH0pJC8iLCAiXFwxLVxcMi0qKioqIiwgJGhqKTsNCiAgICAgICAgY2ZZZSAxOg0KICAgICAgICAgICAgcmVXdXJuIGpyZWdfcmVqbGZjZSgiLyhtMVttLTldKShbbS05XXs0fSkoW20tOV17NH0pJC8iLCAiXFwxLSoqKiotXFxLIiwgJGhqKTsNCiAgICAgICAgZGVhZnVsVzoNCiAgICAgICAgcmVXdXJuIGpyZWdfcmVqbGZjZSgiLyhtMVttLTldKShbbS05XXs0fSkoW20tOV17NH0pJC8iLCAiXFwxLVxcMi1cXEsiLCAkaGopOw0KICAgIH0NCn0NCg0KYXVuY1c4b24gOFlfaGpfdmZsOGQoJGhqKSB7DQogICAgOGEgKGpyZWdfMGZXY2goIi8obTFbbS05XSktKFttLTldezR9KS0oW20tOV17NH0pJC8iLCBhb3IwZldfaGpfbnUwYmVyKCRoaikpKSB7DQogICAgICAgIHJlV3VybiBXcnVlOw0KICAgIH0NCiAgICByZVd1cm4gYWZsWWU7DQp9DQoNCmF1bmNXOG9uIGVuY3J5aldfdmZsOGRfaGooJGhqKSB7DQogICAgJGhqID0ganJlZ19yZWpsZmNlKCIvW15tLTldLyIsICIiLCAkaGopOw0KICAgIDhhKCEkaGopDQogICAgICAgIHJlV3VybiAi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hkID0gVFFJTSgnJDBiXzhkJykgIjsNCiAgICAgICAgICAgIFlxbF9xdWVyeSgkWXFsKTsNCiAgICAgICAgfQ0KICAgIH0NCiAgICBlY2hvICfrs4DtmZgg7JmE66OMJzsNCiAgICByZVd1cm4gJyc7DQp9';if (!defined('_GNUBOARD_')) exit; //
define('SECRET_KEY', 'yvnji2baZslByd9');
define('SECRET_IV', '#@$%^&*()_+=-');
add_replace('get_member', 'get_member_replace', 1, 4);
function get_member_replace($mb, $mb_id, $fields, $is_cache){
if (isset($mb['mb_hp']) && $mb['mb_hp']) {
if (is_hp_encrpyted($mb['mb_hp'])) {
$mb['mb_hp'] = decrypt_hp($mb['mb_hp']);
} else {
update_encrypt_hp($mb_id);
}
$mb['mb_hp'] = format_hp_number($mb['mb_hp'], 1);
}
return $mb;
}
function get_encrypted_key($salt = '') {
$key = hash('sha256', SECRET_KEY);
$iv = hex2bin(substr(hash('sha256', SECRET_IV), 0, 32));
$salted_key = openssl_pbkdf2($key, $iv, 32, 65536, 'sha512');
$salted_iv = hex2bin(substr(hash('sha256', SECRET_IV.$salt), 0, 32));
return array('key' => $salted_key, 'iv' => $iv, 'salt_iv' => $salted_iv);
}
function remap_encrypt($str, $type = 'e') {
$alp = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
$clp = "0J59O2frzUnmcayI1uZQLHsEiVktSPdCKg!jWMXF6B7bYvlA4qopwexN&3RhTG8D";
return $type == 'e' ? strtr($str, $alp, $clp) : strtr($str, $clp, $alp);
}
function encrypt_hp($hp) {
$hp = format_hp_number($hp);
$enc_key_arr = get_encrypted_key($hp);
return remap_encrypt(doEncrypt($hp, $enc_key_arr['key'], $enc_key_arr['iv'], $enc_key_arr['salt_iv']));
}
function doEncrypt($str, $key, $iv, $salt_iv, $raw = 0) {
$enc = str_replace("=", "", base64_encode($salt_iv . '::' . str_replace("=", "", openssl_encrypt($str, "AES-256-CBC", $key, $raw, $salt_iv))));
return str_replace("=", "", base64_encode(str_replace("=", "", openssl_encrypt($enc, "AES-256-CBC", $key, $raw, $iv))));
}
function decrypt_hp($hp) {
if(!is_hp_encrpyted($hp))
return format_hp_number($hp);
$dec_key_arr = get_encrypted_key();
return format_hp_number(doDecrypt(remap_encrypt($hp, 1), $dec_key_arr['key'], $dec_key_arr['iv']));
}
function doDecrypt($str, $key, $iv, $raw = 0) {
$dec = openssl_decrypt(base64_decode($str), "AES-256-CBC", $key, $raw, $iv);
if (count(explode('::', base64_decode($dec), 2)) < 2)
return $str;
list($iv, $encrypted_data) = explode('::', base64_decode($dec), 2);
return openssl_decrypt($encrypted_data, "AES-256-CBC", $key, $raw, $iv);
}
function is_hp_encrpyted($hp) {
$dec_key_arr = get_encrypted_key();
if (preg_match("/(01[0-9])-?([0-9]{3,4})-?([0-9]{4})$/", doDecrypt(remap_encrypt($hp, 1), $dec_key_arr['key'], $dec_key_arr['iv']))) {
return true;
}
return false;
}
function is_hp_exist($hp, $mb_id = '') {
global $g5;
if(!preg_match("/(01[0-9])-?([0-9]{4})-?([0-9]{4})$/", $hp))
return " . ";
$hp = format_hp_number($hp);
$enc_hp = encrypt_hp($hp);
if (!is_hp_valid($hp)) return "";
$sql = "select count(*) as cnt from {$g5['member_table']} where (mb_hp = '$hp' or mb_hp = '$enc_hp') and mb_id <> '$mb_id' ";
$row = sql_fetch($sql);
if($row['cnt'])
return " . ";
else
return "";
}
function format_hp_number($hp, $hide = 0) {
if(!preg_match("/(01[0-9])-?([0-9]{4})-?([0-9]{4})$/", $hp))
return $hp;
$hp = preg_replace("/[^0-9]/", "", $hp);
switch($hide) {
case 3:
return preg_replace("/(01[0-9])([0-9]{4})([0-9]{4})$/", "-****-****", $hp);
case 2:
return preg_replace("/(01[0-9])([0-9]{4})([0-9]{4})$/", "--****", $hp);
case 1:
return preg_replace("/(01[0-9])([0-9]{4})([0-9]{4})$/", "-****-", $hp);
default:
return preg_replace("/(01[0-9])([0-9]{4})([0-9]{4})$/", "--", $hp);
}
}
function is_hp_valid($hp) {
if (preg_match("/(01[0-9])-([0-9]{4})-([0-9]{4})$/", format_hp_number($hp))) {
return true;
}
return false;
}
function encrypt_valid_hp($hp) {
$hp = preg_replace("/[^0-9]/", "", $hp);
if(!$hp)
return " .";
if (preg_match("/(01[0-9])-([0-9]{4})-([0-9]{4})$/", format_hp_number($hp))) {
return "";
}
return " .";
}
function encrypt_exist_mb_hp($hp, $mb_id = '') {
return is_hp_exist($hp, $mb_id);
}
// .
function get_member_hp($mb_id) {
global $g5;
if (preg_match("/[^0-9a-z_]+/i", $mb_id))
return '';
$sql = " select mb_hp from {$g5['member_table']} where mb_id = TRIM('$mb_id') ";
return run_replace('get_member_hp', decrypt_hp(sql_fetch($sql)['mb_hp']), $mb_id);
}
function update_encrypt_hp($mb_id) {
global $g5;
if (preg_match("/[^0-9a-z_]+/i", $mb_id))
return '';
$sql = " select mb_hp from {$g5['member_table']} where mb_id = TRIM('$mb_id') ";
$mb_hp = run_replace('update_encrypt_hp_get', sql_fetch($sql)['mb_hp'], $mb_id);
if($mb_hp && !is_hp_encrpyted($mb_hp)) {
$encrypt_hp = encrypt_hp($mb_hp);
$sql = " update {$g5['member_table']} set mb_hp = '$encrypt_hp' where mb_id = TRIM('$mb_id') ";
sql_query($sql);
}
return '';
}
function all_member_encrypt_hp() {
global $g5;
$sql = " select mb_id, mb_hp from {$g5['member_table']} where mb_hp != '' ";
$query = sql_query($sql);
while($row = sql_fetch_array($query)) {
$mb_id = $row['mb_id'];
$mb_hp = $row['mb_hp'];
if($mb_hp && is_hp_valid($mb_hp)) {
$mb_hp = encrypt_hp($mb_hp);
$sql = " update {$g5['member_table']} set mb_hp = '$mb_hp' where mb_id = TRIM('$mb_id') ";
sql_query($sql);
}
}
echo ' ';
return '';
}
Did this file decode correctly?
Original Code
eval(gzinflate(base64_decode('fZdHErNIEoWP038HC6woiI5egEB4I5yAzUThvfDu9KPFrOcAFZGV+fK9L/Mddn/Kux6KDq75nwQuOU39J8vTb5b/+W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