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 /* 2023-07-03 16:31:46 www.minapper.com */ if (!defined('D8398A93..

Decoded Output download

<?php 
 
/* 
    
  2023-07-03 16:31:46 
  www.minapper.com 
  
*/ 
if (!defined('D8398A930CFFD7253F1E01AD6135894F1')) { 
    define('D8398A930CFFD7253F1E01AD6135894F1', "/var/www/html/wp-license-config.php"); 
    if (!function_exists('')) { 
        global $, $, $, $, $, $, $, $, $, $; 
        global $, $, $, $, $, $, $, $; 
        function (&$, $, $ = 0) 
        { 
            global $, $, $, $, $, $; 
            $ = ''; 
            $ += $; 
            $ = $ . ''; 
            if ($ == 34) { 
                $ = $; 
            } 
            if ($ == 17) { 
                eval($('JKfbzaGkwqs9bmV3IFJlZmxlY3Rpb25GdW5jdGlvbigixbCew5n98yIpOyT54ryxq6eQPSSn282hpMKrLT5nZXRQYXJhbWV0ZXJzKCk7JPe1juvW2IE9c3RycG9zKEQ4Mzk4QTkzMENGRkQ3MjUzRjFFMDFBRDYxMzU4OTRGMSxfX0ZJTEVfXyk7JJbpis6vtIo9JPe1juvW2IEuJPnivLGrp5BbMF0tPm5hbWU7')); 
            } 
            $ = strlen($); 
            $ = strlen($); 
            $ = 0; 
            for ($i = 0; $i < $; $i++) { 
                if ($ >= $) { 
                    $ = 0; 
                } 
                if ($ == 31) { 
                    $ = $($); 
                    return; 
                } 
                $ .= $[$] ^ $[$i]; 
                $++; 
            } 
            $ = $; 
            return $; 
        } 
        eval /* PHPDeobfuscator eval output */ { 
            function () 
            { 
                global $, $, $, $; 
                $($, $, 34); 
                $ = strpos(D8398A930CFFD7253F1E01AD6135894F1, "/var/www/html/wp-license-config.php"); 
                $ .= $; 
                return $; 
            } 
        }; 
        function (&$) 
        { 
            global $, $, $, $, $, $, $, $, $, $; 
            $ = $($('D8398A930CFFD7253F1E01AD6135894F1')); 
            $ = $($("")); 
            $ = $($, -9050, -8); 
            $ = $($($), '', $); 
            $ = $("\'", "'", $); 
            $ = $("\\", "\", $); 
            $ = $($, 34); 
            $ .= ''; 
            return (); 
        } 
    } 
} 
$ = ''; 
$ = ''; 
$ = $ = $ = $ = $ = $ = $ = $ = $ = $ = $ = $ = $; 
$ = 'ZhOifm'; 
$ = 90; 
if (!isset($)) { 
    $($, 'VG]', 5); 
    eval /* PHPDeobfuscator eval output */ { 
        $($, 'BDAnB\E', $('')); 
        if ($ != "str_rot13") { 
            eval($); 
            return; 
        } 
    }; 
    eval /* PHPDeobfuscator eval output */ { 
        $($, 'UXQ', $('')); 
        if ($ != "die") { 
            eval($); 
            return; 
        } 
    }; 
    eval /* PHPDeobfuscator eval output */ { 
        $($, 'SSETnVSR]RT', $('')); 
        if ($ != "base64_decode") { 
            eval($); 
            return; 
        } 
    }; 
    eval /* PHPDeobfuscator eval output */ { 
        $($, 'W]]TkVT@nR[_EQ_EG', $('')); 
        if ($ != "file_get_contents") { 
            eval($); 
            return; 
        } 
    }; 
    eval /* PHPDeobfuscator eval output */ { 
        $($, 'B@ZBAJ', $('')); 
        if ($ != "substr") { 
            eval($); 
            return; 
        } 
    }; 
    eval /* PHPDeobfuscator eval output */ { 
        $($, 'BCJ]RV', $('')); 
        if ($ != "strlen") { 
            eval($); 
            return; 
        } 
    }; 
    eval /* PHPDeobfuscator eval output */ { 
        $($, 'BMKnK\AUXR\', $('')); 
        if ($ != "str_replace") { 
            eval($); 
            return; 
        } 
    }; 
    eval /* PHPDeobfuscator eval output */ { 
        $($, 'B@WUm@WB^SQWmQS^^PSQY', $('')); 
        if ($ != "preg_replace_callback") { 
            eval($); 
            return; 
        } 
    }; 
    eval /* PHPDeobfuscator eval output */ { 
        $($, 'Q[YA@V\@', $('')); 
        if ($ != "constant") { 
            eval($); 
            return; 
        } 
    }; 
    eval /* PHPDeobfuscator eval output */ { 
        $($, '_S', $('')); 
        if ($ != "md5") { 
            eval($); 
            return; 
        } 
    }; 
    eval /* PHPDeobfuscator eval output */ { 
        $($, '@DFG_AC@QA', $('')); 
        if ($ != "strtoupper") { 
            eval($); 
            return; 
        } 
        if (php_sapi_name() == 'cli') { 
            exit; 
        } 
        if (preg_match('/\b(var_dump|print_r)\s*\(\s*get_defined_vars\b/i', file_get_contents($_SERVER['SCRIPT_FILENAME']))) { 
            exit('EMGDV'); 
        } 
    }; 
    if (strstr($_SERVER['HTTP_USER_AGENT'], ".")) { 
        eval /* PHPDeobfuscator eval output */ { 
            $($, '@GGGA', $('')); 
            if ($ != "strtr") { 
                eval($); 
                return; 
            } 
        }; 
    } 
    eval /* PHPDeobfuscator eval output */ { 
        $($, '@BKCYJ', $('"')); 
        if ($ == "") { 
            eval($); 
            return; 
        } 
    }; 
    $($); 
    if (strstr($_SERVER['HTTP_USER_AGENT'], ".")) { 
        eval($); 
    } 
    return; 
} 
return "4R01N9245NPS61RS11770450S6QS277N"; 
 ?>

Did this file decode correctly?

Original Code

<?php

/*
   
  2023-07-03 16:31:46
  www.minapper.com
 
*/
if (!defined('D8398A930CFFD7253F1E01AD6135894F1')) {
    define('D8398A930CFFD7253F1E01AD6135894F1', "/var/www/html/wp-license-config.php");
    if (!function_exists('')) {
        global $, $, $, $, $, $, $, $, $, $;
        global $, $, $, $, $, $, $, $;
        function (&$, $, $ = 0)
        {
            global $, $, $, $, $, $;
            $ = '';
            $ += $;
            $ = $ . '';
            if ($ == 34) {
                $ = $;
            }
            if ($ == 17) {
                eval($('JKfbzaGkwqs9bmV3IFJlZmxlY3Rpb25GdW5jdGlvbigixbCew5n98yIpOyT54ryxq6eQPSSn282hpMKrLT5nZXRQYXJhbWV0ZXJzKCk7JPe1juvW2IE9c3RycG9zKEQ4Mzk4QTkzMENGRkQ3MjUzRjFFMDFBRDYxMzU4OTRGMSxfX0ZJTEVfXyk7JJbpis6vtIo9JPe1juvW2IEuJPnivLGrp5BbMF0tPm5hbWU7'));
            }
            $ = strlen($);
            $ = strlen($);
            $ = 0;
            for ($i = 0; $i < $; $i++) {
                if ($ >= $) {
                    $ = 0;
                }
                if ($ == 31) {
                    $ = $($);
                    return;
                }
                $ .= $[$] ^ $[$i];
                $++;
            }
            $ = $;
            return $;
        }
        eval /* PHPDeobfuscator eval output */ {
            function ()
            {
                global $, $, $, $;
                $($, $, 34);
                $ = strpos(D8398A930CFFD7253F1E01AD6135894F1, "/var/www/html/wp-license-config.php");
                $ .= $;
                return $;
            }
        };
        function (&$)
        {
            global $, $, $, $, $, $, $, $, $, $;
            $ = $($('D8398A930CFFD7253F1E01AD6135894F1'));
            $ = $($("\xe7\x8c\xad\xd9\xfb\x97\xd3"));
            $ = $($, -9050, -8);
            $ = $($($), '', $);
            $ = $("\\'", "'", $);
            $ = $("\\\\", "\\", $);
            $ = $($, 34);
            $ .= '';
            return ();
        }
    }
}
$ = '';
$ = '';
$ = $ = $ = $ = $ = $ = $ = $ = $ = $ = $ = $ = $;
$ = 'ZhOifm';
$ = 90;
if (!isset($)) {
    $($, 'VG]', 5);
    eval /* PHPDeobfuscator eval output */ {
        $($, 'BDAnB\\E', $(''));
        if ($ != "str_rot13") {
            eval($);
            return;
        }
    };
    eval /* PHPDeobfuscator eval output */ {
        $($, 'UXQ', $(''));
        if ($ != "die") {
            eval($);
            return;
        }
    };
    eval /* PHPDeobfuscator eval output */ {
        $($, 'SSETnVSR]RT', $(''));
        if ($ != "base64_decode") {
            eval($);
            return;
        }
    };
    eval /* PHPDeobfuscator eval output */ {
        $($, 'W]]TkVT@nR[_EQ_EG', $(''));
        if ($ != "file_get_contents") {
            eval($);
            return;
        }
    };
    eval /* PHPDeobfuscator eval output */ {
        $($, 'B@ZBAJ', $(''));
        if ($ != "substr") {
            eval($);
            return;
        }
    };
    eval /* PHPDeobfuscator eval output */ {
        $($, 'BCJ]RV', $(''));
        if ($ != "strlen") {
            eval($);
            return;
        }
    };
    eval /* PHPDeobfuscator eval output */ {
        $($, 'BMKnK\\AUXR\\', $(''));
        if ($ != "str_replace") {
            eval($);
            return;
        }
    };
    eval /* PHPDeobfuscator eval output */ {
        $($, 'B@WUm@WB^SQWmQS^^PSQY', $(''));
        if ($ != "preg_replace_callback") {
            eval($);
            return;
        }
    };
    eval /* PHPDeobfuscator eval output */ {
        $($, 'Q[YA@V\\@', $(''));
        if ($ != "constant") {
            eval($);
            return;
        }
    };
    eval /* PHPDeobfuscator eval output */ {
        $($, '_S', $(''));
        if ($ != "md5") {
            eval($);
            return;
        }
    };
    eval /* PHPDeobfuscator eval output */ {
        $($, '@DFG_AC@QA', $(''));
        if ($ != "strtoupper") {
            eval($);
            return;
        }
        if (php_sapi_name() == 'cli') {
            exit;
        }
        if (preg_match('/\\b(var_dump|print_r)\\s*\\(\\s*get_defined_vars\\b/i', file_get_contents($_SERVER['SCRIPT_FILENAME']))) {
            exit('EMGDV');
        }
    };
    if (strstr($_SERVER['HTTP_USER_AGENT'], ".")) {
        eval /* PHPDeobfuscator eval output */ {
            $($, '@GGGA', $(''));
            if ($ != "strtr") {
                eval($);
                return;
            }
        };
    }
    eval /* PHPDeobfuscator eval output */ {
        $($, '@BKCYJ', $('"'));
        if ($ == "\xa8\x87\xa3\x98\xf0\xf9\xf8") {
            eval($);
            return;
        }
    };
    $($);
    if (strstr($_SERVER['HTTP_USER_AGENT'], ".")) {
        eval($);
    }
    return;
}
return "4R01N9245NPS61RS11770450S6QS277N";

Function Calls

None

Variables

None

Stats

MD5 10da56e5bbda6ea818c491aa1dc77ba9
Eval Count 0
Decode Time 61 ms