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 define("\127\x50\x47\122\101\102\102\x45\x52\137\x43\x4f\x52\105\x5f\126\x45\12..

Decoded Output download

<?php 
 
 
define("WPGRABBER_CORE_VERSION", "3.0.5"); 
define("WPGRABBER_PLUGIN_INSTALL_DIR", WPGRABBER_PLUGIN_DIR . "install" . DIRECTORY_SEPARATOR); 
define("WPGRABBER_PLUGIN_CORE_DIR", WPGRABBER_PLUGIN_DIR . "core" . DIRECTORY_SEPARATOR); 
define("WPGRABBER_PLUGIN_TPL_DIR", WPGRABBER_PLUGIN_DIR . "tmpl" . DIRECTORY_SEPARATOR); 
function wpgIsDemo() 
{ 
    return $_SERVER["HTTP_HOST"] == "wpgrabber.ru.com"; 
} 
function wpgIsDebug() 
{ 
    return is_file(WPGRABBER_PLUGIN_DIR . "debug"); 
} 
if (!wpgIsDebug()) { 
    goto qjSRc; 
} 
ini_set("display_errors", true); 
error_reporting(E_ALL ^ E_NOTICE); 
qjSRc: 
function wpgIsPro() 
{ 
    if (!defined("WPGRABBER_VERSION")) { 
        goto IRWrD; 
    } 
    $i_iBe = explode(" ", WPGRABBER_VERSION); 
    return isset($i_iBe[1]) and $i_iBe[1] == "Professional"; 
    IRWrD: 
    return false; 
} 
function wpgIsStandard() 
{ 
    if (!wpgIsPro()) { 
        goto lHKv6; 
    } 
    return true; 
    lHKv6: 
    if (!defined("WPGRABBER_VERSION")) { 
        goto T8PUA; 
    } 
    $i_iBe = explode(" ", WPGRABBER_VERSION); 
    return isset($i_iBe[1]) and $i_iBe[1] == "Standard"; 
    T8PUA: 
    return false; 
} 
function wpgIsLite() 
{ 
    if (!wpgIsStandard()) { 
        goto eIv29; 
    } 
    return true; 
    eIv29: 
    if (!defined("WPGRABBER_VERSION")) { 
        goto YlRUA; 
    } 
    $i_iBe = explode(" ", WPGRABBER_VERSION); 
    return isset($i_iBe[1]) and $i_iBe[1] == "Lite"; 
    YlRUA: 
    return false; 
} 
function wpgPlugin() 
{ 
    if (wpgIsPro()) { 
        goto ieO1T; 
    } 
    if (wpgIsStandard()) { 
        goto Y23AA; 
    } 
    if (wpgIsLite()) { 
        goto jvT6O; 
    } 
    return "WPGPlugin"; 
    goto q3Qv_; 
    ieO1T: 
    return "WPGPluginPro"; 
    goto q3Qv_; 
    Y23AA: 
    return "WPGPluginStandard"; 
    goto q3Qv_; 
    jvT6O: 
    return "WPGPluginLite"; 
    q3Qv_: 
} 
require_once WPGRABBER_PLUGIN_CORE_DIR . "WPGPlugin.php"; 
require_once WPGRABBER_PLUGIN_CORE_DIR . "WPGErrorHandler.php"; 
require_once WPGRABBER_PLUGIN_CORE_DIR . "WPGHelper.php"; 
require_once WPGRABBER_PLUGIN_CORE_DIR . "WPGTable.php"; 
require_once WPGRABBER_PLUGIN_CORE_DIR . "WPGTools.php"; 
require_once WPGRABBER_PLUGIN_CORE_DIR . "WPGWordPressDB.php"; 
require_once WPGRABBER_PLUGIN_CORE_DIR . "TGrabberCore.php"; 
require_once WPGRABBER_PLUGIN_CORE_DIR . "TGrabberWordPress.php"; 
require_once WPGRABBER_PLUGIN_CORE_DIR . "TGrabberWPOptions.php"; 
include_once WPGRABBER_PLUGIN_DIR . "tz/cron.php"; 
if (class_exists("simple_html_dom_node")) { 
    goto GM70y; 
} 
if (version_compare(PHP_VERSION, "7.3.0") >= 0) { 
    goto mb8n0; 
} 
require_once WPGRABBER_PLUGIN_CORE_DIR . "simple_html_dom.php"; 
goto G_NxL; 
mb8n0: 
require_once WPGRABBER_PLUGIN_CORE_DIR . "simple_html_dom__1.9.1.php"; 
G_NxL: 
GM70y: 
if (!function_exists("is_countable")) { 
    function is_countable($grmUR) : bool 
    { 
        return is_array($grmUR) || is_object($grmUR) && $grmUR instanceof Countable; 
    } 
} 
call_user_func(array(wpgPlugin(), "load")); 
 ?>

Did this file decode correctly?

Original Code

<?php


define("\127\x50\x47\122\101\102\102\x45\x52\137\x43\x4f\x52\105\x5f\126\x45\122\x53\111\x4f\116", "\x33\x2e\60\x2e\65");
define("\x57\x50\x47\x52\x41\102\102\x45\x52\x5f\x50\x4c\125\x47\111\116\x5f\111\x4e\x53\124\101\114\114\137\x44\111\x52", WPGRABBER_PLUGIN_DIR . "\151\x6e\163\x74\x61\x6c\x6c" . DIRECTORY_SEPARATOR);
define("\x57\x50\107\x52\x41\102\102\105\122\137\x50\x4c\125\107\111\116\x5f\x43\x4f\122\105\x5f\104\x49\122", WPGRABBER_PLUGIN_DIR . "\143\x6f\162\145" . DIRECTORY_SEPARATOR);
define("\127\x50\107\x52\101\x42\x42\105\x52\137\120\x4c\x55\107\x49\x4e\137\x54\120\x4c\137\x44\x49\122", WPGRABBER_PLUGIN_DIR . "\164\x6d\160\154" . DIRECTORY_SEPARATOR);
function wpgIsDemo()
{
    return $_SERVER["\110\124\x54\120\137\x48\x4f\x53\124"] == "\167\x70\147\x72\x61\142\x62\x65\x72\56\x72\165\56\143\x6f\x6d";
}
function wpgIsDebug()
{
    return is_file(WPGRABBER_PLUGIN_DIR . "\x64\145\x62\x75\x67");
}
if (!wpgIsDebug()) {
    goto qjSRc;
}
ini_set("\144\x69\x73\160\154\x61\171\137\x65\x72\162\x6f\162\163", true);
error_reporting(E_ALL ^ E_NOTICE);
qjSRc:
function wpgIsPro()
{
    if (!defined("\x57\x50\x47\122\x41\102\x42\x45\x52\x5f\126\105\122\123\x49\x4f\x4e")) {
        goto IRWrD;
    }
    $i_iBe = explode("\x20", WPGRABBER_VERSION);
    return isset($i_iBe[1]) and $i_iBe[1] == "\x50\162\157\146\145\x73\x73\x69\x6f\x6e\x61\154";
    IRWrD:
    return false;
}
function wpgIsStandard()
{
    if (!wpgIsPro()) {
        goto lHKv6;
    }
    return true;
    lHKv6:
    if (!defined("\127\120\x47\x52\101\102\x42\x45\x52\x5f\x56\105\x52\123\111\x4f\x4e")) {
        goto T8PUA;
    }
    $i_iBe = explode("\x20", WPGRABBER_VERSION);
    return isset($i_iBe[1]) and $i_iBe[1] == "\x53\x74\141\x6e\144\141\162\x64";
    T8PUA:
    return false;
}
function wpgIsLite()
{
    if (!wpgIsStandard()) {
        goto eIv29;
    }
    return true;
    eIv29:
    if (!defined("\x57\120\x47\x52\101\102\x42\x45\x52\x5f\x56\x45\122\123\x49\117\116")) {
        goto YlRUA;
    }
    $i_iBe = explode("\x20", WPGRABBER_VERSION);
    return isset($i_iBe[1]) and $i_iBe[1] == "\114\151\x74\x65";
    YlRUA:
    return false;
}
function wpgPlugin()
{
    if (wpgIsPro()) {
        goto ieO1T;
    }
    if (wpgIsStandard()) {
        goto Y23AA;
    }
    if (wpgIsLite()) {
        goto jvT6O;
    }
    return "\127\120\x47\120\154\165\147\x69\x6e";
    goto q3Qv_;
    ieO1T:
    return "\x57\120\107\120\x6c\x75\x67\x69\x6e\120\x72\157";
    goto q3Qv_;
    Y23AA:
    return "\x57\x50\107\x50\x6c\x75\x67\x69\x6e\x53\x74\x61\156\x64\x61\x72\144";
    goto q3Qv_;
    jvT6O:
    return "\x57\120\107\120\x6c\x75\147\x69\x6e\x4c\x69\x74\145";
    q3Qv_:
}
require_once WPGRABBER_PLUGIN_CORE_DIR . "\x57\x50\x47\x50\x6c\165\x67\151\x6e\56\x70\150\160";
require_once WPGRABBER_PLUGIN_CORE_DIR . "\127\x50\107\105\x72\x72\157\x72\110\141\156\x64\x6c\x65\162\x2e\160\x68\x70";
require_once WPGRABBER_PLUGIN_CORE_DIR . "\x57\x50\x47\110\x65\x6c\160\145\x72\56\160\150\160";
require_once WPGRABBER_PLUGIN_CORE_DIR . "\127\120\x47\x54\x61\142\x6c\x65\56\160\150\x70";
require_once WPGRABBER_PLUGIN_CORE_DIR . "\127\120\107\124\157\157\154\163\x2e\x70\x68\x70";
require_once WPGRABBER_PLUGIN_CORE_DIR . "\127\120\107\x57\x6f\x72\144\120\162\145\163\x73\104\102\56\x70\150\160";
require_once WPGRABBER_PLUGIN_CORE_DIR . "\x54\107\x72\x61\142\142\145\162\103\157\x72\145\56\160\150\x70";
require_once WPGRABBER_PLUGIN_CORE_DIR . "\x54\x47\162\x61\142\142\145\x72\127\x6f\x72\144\x50\x72\x65\163\163\56\160\150\x70";
require_once WPGRABBER_PLUGIN_CORE_DIR . "\124\x47\162\x61\x62\x62\145\x72\127\120\x4f\160\164\x69\x6f\x6e\x73\x2e\160\150\160";
include_once WPGRABBER_PLUGIN_DIR . "\164\172\57\x63\x72\157\156\x2e\x70\150\x70";
if (class_exists("\x73\x69\x6d\x70\x6c\145\137\x68\x74\155\154\137\144\x6f\155\137\156\157\144\145")) {
    goto GM70y;
}
if (version_compare(PHP_VERSION, "\x37\56\63\x2e\x30") >= 0) {
    goto mb8n0;
}
require_once WPGRABBER_PLUGIN_CORE_DIR . "\x73\x69\x6d\x70\x6c\x65\x5f\150\x74\x6d\x6c\137\144\157\x6d\x2e\160\x68\x70";
goto G_NxL;
mb8n0:
require_once WPGRABBER_PLUGIN_CORE_DIR . "\x73\151\x6d\x70\x6c\145\x5f\150\164\x6d\154\137\144\x6f\x6d\x5f\137\x31\x2e\71\56\61\56\160\x68\160";
G_NxL:
GM70y:
if (!function_exists("\151\x73\x5f\x63\x6f\165\x6e\x74\141\142\x6c\x65")) {
    function is_countable($grmUR) : bool
    {
        return is_array($grmUR) || is_object($grmUR) && $grmUR instanceof Countable;
    }
}
call_user_func(array(wpgPlugin(), "\154\x6f\x61\x64"));

Function Calls

None

Variables

None

Stats

MD5 6bdafac9312debdb48bb86cb65982b2b
Eval Count 0
Decode Time 47 ms