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 eval(str_rot13(gzinflate(str_rot13(base64_decode('LUrHDuw4DvyawczenAP25Jxm9nLhnHA7f..

Decoded Output download

require 'config.php';
$domain = $config['domain'];
$lp_protect_key = $config['lp_protect_key'];
$lp_key = $config['lp_key'];
$lp_get = $config['lp_get'];
$recaptcha_site_key = $config['recaptcha_site_key'];
if ($lp_protect_key == 'yes') {
    $key = $lp_key;
    $a = @$_GET["$lp_get"];
    $b = substr($a, 0, 2) . substr($a, 4, 2) . substr($a, 8, 2) . substr($a, 12, 2) . substr($a, 16, 2);
    $c = substr($a, 2, 2) . substr($a, 6, 2) . substr($a, 10, 2) . substr($a, 14, 2);
    $d = md5($key . $_SERVER["HTTP_USER_AGENT"] . $b);
    $d = substr($d, 2, 2) . substr($d, 7, 2) . substr($d, 12, 2) . substr($d, 24, 2);
    if (time() > $b || $d !== $c) {
        header("HTTP/1.0 404 Not Found");
        exit(0);
    }
}
$filePath = "cache/" . $domain . ".txt";
$needToUpdateFile = true;
if (file_exists($filePath)) {
    $lastModified = filemtime($filePath);
    $currentTime = time();
    if ($currentTime - $lastModified < 3600) {
        $needToUpdateFile = false;
    }
}
if ($needToUpdateFile) {
    $urls = [
        "https://topadsclub.com/license/licence_check.php?domain=" . urlencode($domain),
        "https://cdnf0.ru/license/licence_check.php?domain=" . urlencode($domain),
        "https://cdnf2.ru/license/licence_check.php?domain=" . urlencode($domain)
    ];
    foreach ($urls as $url) {
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); 
        $response = curl_exec($ch);
        $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); 
        curl_close($ch);
        if ($response !== false && $httpCode === 200) {
            file_put_contents($filePath, $response);
            break;
        }
    }
}

Did this file decode correctly?

Original Code

<?php
eval(str_rot13(gz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jCym1Mrlbq/u18wPadDCcDebaVfawYSB3fQv98wyhli5RaCxKaxbnPz1yENer5SulMzKQKo2jekXKVqvDjbJL+MkT8vAhXfVd0UGUqJNcYyv/7D0988tqa72VmPIF/Cxk+U5Co5gZpbnqxnV7xXg6eZUS8bHqn0AyycgL2/WBhUTEWMLAb0oqcuAOPHUy3N/cJb6wzzGr1jkcYdqg2ZjH0PFNZIVCrE7UQl8hk7uplTO2WsMpMpeuvfQsNgNJvD2I3gyYSv27Ye/4U+berIMyFRJWp3pGYLcqJSmfuD13CgbIVSvB3C0BgUPg6xzCojr+ZNyQ/Z9guHlgCBFuz+9u8bXAtd8QxLMHhNoP1Q1X3wNG3N11OCg/YeAv7tmU/ds8A6U/UzTC8llBC9j4znHg3qo5UhACB2kQVazXUbFnb7ulVd9zsJrdwCpTtLdimfiqrjITpmPsm8nV2drnK7lCTllhw/coKcR2yH8VuubEEHXQB7yp3ug5rheH03iBT59rnI8pgulHZXTv7xWjtNsRAwONphFLiazRDflPj5dlJQuPeNAgCN+hLqHYgmD6fIZdXllclUWCnSPlcVbDZAIFSosEGpw4icCR9AmaqtgeiDRmnTWrlGskA+xwy+H7YOpSrU78E05dht5L0GB7SBSKqh4HZr5TeR+yX+MLRVh1W/8BpccPHInpkN6s75HW4w7SzzhWDV0ocipL05QE0u4J3riOkqyRaSHS4QeHiGejyfK0GWqvBFkT4IerrMatb1wgvLxfDwfxlDgYsVtGzaEPxCUaHQx1KM49QE57EG0JmI2bh7fdUaaTsqyV2j2wDoCIS2c9TXqMCVY5LeRsSxwI6ovJAs0M4iP0wBlw3Ix4wjRuJIQO5/lDGGSGVuZAbstTXGsjSYLQV83zq2o8mNfKzZjNWbY5blkABpUGZAxe1AlOF/kkFoyWPI2cHW3i+VNHPGcFRwPHzvGcJp6Yb5+7Jt8otDXIES/j8UqXyPW+n/B1t//bD///Rc=')))));
?>

Function Calls

strrev 3
gzinflate 11
str_rot13 11
gzuncompress 4
rawurldecode 1
base64_decode 18

Variables

None

Stats

MD5 b894609febe12d98aeac7ef13cd87941
Eval Count 16
Decode Time 97 ms