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('DdRHsqtIAETR5fz3gwHCQ3T0AI8AQQkPkw68KaxwgtX3W8O5meWR9j/13Y5V..

Decoded Output download

if($actionType == 'addContact'){  

    $val_name = $_REQUEST['con_name'];
    $val_company = $_REQUEST['con_company'];
    $val_mail = $_REQUEST['con_mail'];
    $val_phone = $_REQUEST['con_phone'];
    $val_content = $_REQUEST['con_content'];

    $new_post = array(
        'post_title'    => $val_name.'   ',
        // 'post_content'  => '  ',
        'post_status'   => 'publish',
        'post_type'     => 'contact',
    );
    $post_id = wp_insert_post($new_post);
    if ($post_id) {
        
        update_post_meta($post_id, 'con_name', $val_name);
        update_post_meta($post_id, 'con_company', $val_company);
        update_post_meta($post_id, 'con_mail', $val_mail);
        update_post_meta($post_id, 'con_phone', $val_phone);
        update_post_meta($post_id, 'con_content', $val_content);

        $firstName = mb_substr($val_name, 0, 1);
        $remainingLength = mb_strlen($val_name) - 1;
        $maskedName = $firstName . str_repeat("", $remainingLength);	
        echo '
        <div class="item">
            <div class="name">'.$maskedName.'</div>				
            <div>
                <div class="date"><div class="ago"> </div></div>
                <div class="boarding"></div>
            </div>
        </div>
        ';

    }

}

Did this file decode correctly?

Original Code

eval(gzinflate(base64_decode('DdRHsqtIAETR5fz3gwHCQ3T0AI8AQQkPkw68KaxwgtX3W8O5meWR9j/13Y5Vn27lT5auJU3+V5T5VJQ/f6rEJeR5i3meR79o8oaWRUY678jd6BECX7Yif4kWE43k/mFOBMcV7KRWAIRP0oHyzSDKCFVcnKprfntNRCKhbR9KBYDUBWfIP8lv1SAby6HsV38wrsoFTRox6ZUWMbZoDfUBaR54QzsRG9kDWXeYTML5uD8XGkr9gBDivvTM1Ln7JSeVm5nufo9Ee6NTmzpZFNaSpgfEQict0lOWO6UYJawo6h8VFfbyLskXEcTlPgfVy1jkOtmXZKUZIuNDvbAk7NqiWJvRLcaCmRqmoh50zhpeGA/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+kLqtG6UKPjKHPEbqV8lSclGN/QkuDRXZf//8/fv3n/8B')));

Function Calls

strtr 1
gzinflate 4
base64_decode 5

Variables

$__UWRZBgpHtP if($actionType == 'addContact'){ $val_name = $_REQU..

Stats

MD5 d5b6a53a3d20a7b26e3208ac128a33f3
Eval Count 5
Decode Time 156 ms