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 namespace OTP\Helper; if (defined("\101\x42\123\x50\101\x54\110")) { go..

Decoded Output download

<?php 
 
 
namespace OTP\Helper; 
 
if (defined("ABSPATH")) { 
    goto UK9; 
} 
exit; 
UK9: 
if (class_exists("MoDisplayMessages")) { 
    goto bLZ; 
} 
class MoDisplayMessages 
{ 
    private $message; 
    private $type; 
    public function __construct($c2, $jw) 
    { 
        $this->message = $c2; 
        $this->type = $jw; 
        add_action("admin_notices", array($this, "render")); 
    } 
    public function render() 
    { 
        switch ($this->type) { 
            case "CUSTOM_MESSAGE": 
                echo esc_html(mo_($this->message)); 
                goto HOl; 
            case "NOTICE": 
                echo "<div style="margin-top:1%;"" . "class="is-dismissible notice notice-warning mo-admin-notif">" . "<p>" . wp_kses(mo_($this->message), array("p" => array())) . "</p>" . "</div>"; 
                goto HOl; 
            case "ERROR": 
                echo "<div style="margin-top:1%;"" . "class="notice mo-notice-error notice-error is-dismissible mo-admin-notif">" . "<p>" . wp_kses(mo_($this->message), array("p" => array())) . "</p>" . "</div>"; 
                goto HOl; 
            case "SUCCESS": 
                echo "<div  style="margin-top:1%;"" . "class="notice mo-notice-success notice-success is-dismissible mo-admin-notif">" . "<p>" . wp_kses(mo_($this->message), array("p" => array())) . "</p>" . "</div>"; 
                goto HOl; 
        } 
        Xc3: 
        HOl: 
    } 
    public function show_message_div_addons() 
    { 
        switch ($this->type) { 
            case "MO_ADDON_MESSAGE_CUSTOM_MESSAGE_SUCCESS": 
                echo "<div  style="margin-top:1%;"" . "class="notice mo-notice-success notice-success is-dismissible mo-admin-notif">" . "<p>" . wp_kses(mo_($this->message), array("p" => array())) . "</p>" . "</div>"; 
                goto tyB; 
            case "MO_ADDON_MESSAGE_CUSTOM_MESSAGE_ERROR": 
                echo "<div style="margin-top:1%;"" . "class="notice mo-notice-error notice-error is-dismissible mo-admin-notif">" . "<p>" . wp_kses(mo_($this->message), array("p" => array())) . "</p>" . "</div>"; 
                goto tyB; 
        } 
        t4P: 
        tyB: 
    } 
} 
bLZ: 
 ?>

Did this file decode correctly?

Original Code

<?php


namespace OTP\Helper;

if (defined("\101\x42\123\x50\101\x54\110")) {
    goto UK9;
}
exit;
UK9:
if (class_exists("\115\x6f\104\151\163\x70\154\x61\171\x4d\x65\x73\x73\141\147\x65\x73")) {
    goto bLZ;
}
class MoDisplayMessages
{
    private $message;
    private $type;
    public function __construct($c2, $jw)
    {
        $this->message = $c2;
        $this->type = $jw;
        add_action("\141\144\x6d\x69\x6e\x5f\x6e\157\x74\x69\x63\145\x73", array($this, "\x72\x65\156\144\145\162"));
    }
    public function render()
    {
        switch ($this->type) {
            case "\103\125\123\124\x4f\x4d\x5f\x4d\105\123\x53\x41\107\x45":
                echo esc_html(mo_($this->message));
                goto HOl;
            case "\x4e\117\124\x49\103\x45":
                echo "\74\x64\x69\x76\40\x73\164\x79\154\x65\x3d\42\155\141\x72\x67\151\156\x2d\164\157\160\x3a\x31\45\x3b\x22" . "\x63\x6c\141\x73\163\x3d\42\x69\x73\55\x64\151\163\155\x69\163\x73\x69\x62\154\x65\40\x6e\157\164\151\143\x65\x20\156\x6f\x74\151\143\145\x2d\167\x61\162\x6e\151\156\x67\x20\155\x6f\x2d\141\x64\155\151\x6e\55\x6e\x6f\x74\x69\x66\42\76" . "\74\160\76" . wp_kses(mo_($this->message), array("\160" => array())) . "\x3c\x2f\x70\76" . "\x3c\x2f\144\151\166\x3e";
                goto HOl;
            case "\x45\x52\x52\x4f\x52":
                echo "\x3c\144\151\166\40\x73\164\171\154\x65\75\x22\155\141\x72\x67\151\x6e\55\x74\157\160\72\x31\45\x3b\42" . "\x63\154\x61\x73\x73\75\x22\x6e\157\164\x69\143\145\40\x6d\157\x2d\x6e\157\164\x69\143\145\55\x65\x72\x72\157\x72\40\156\x6f\x74\151\x63\145\x2d\145\x72\x72\157\x72\x20\151\x73\55\x64\151\163\x6d\x69\163\x73\151\x62\x6c\x65\x20\x6d\157\55\x61\144\x6d\151\x6e\55\x6e\x6f\x74\151\x66\42\x3e" . "\74\160\x3e" . wp_kses(mo_($this->message), array("\160" => array())) . "\74\57\x70\76" . "\x3c\x2f\x64\x69\x76\x3e";
                goto HOl;
            case "\123\125\x43\103\105\x53\123":
                echo "\74\x64\x69\x76\40\40\163\164\x79\x6c\x65\75\42\x6d\141\162\147\151\x6e\x2d\x74\x6f\160\x3a\x31\45\73\x22" . "\143\x6c\141\163\163\75\x22\156\x6f\164\x69\x63\x65\40\x6d\x6f\x2d\156\157\164\x69\143\145\55\163\165\x63\143\145\x73\x73\x20\156\157\x74\x69\143\145\55\x73\165\143\x63\x65\163\x73\x20\151\163\x2d\144\x69\x73\155\151\x73\x73\x69\142\x6c\x65\x20\x6d\157\x2d\141\144\x6d\151\x6e\55\x6e\x6f\x74\151\x66\x22\x3e" . "\74\x70\x3e" . wp_kses(mo_($this->message), array("\160" => array())) . "\74\57\x70\76" . "\74\57\144\151\x76\x3e";
                goto HOl;
        }
        Xc3:
        HOl:
    }
    public function show_message_div_addons()
    {
        switch ($this->type) {
            case "\x4d\x4f\137\101\104\104\x4f\x4e\x5f\115\105\x53\123\101\x47\105\x5f\x43\x55\123\x54\x4f\115\137\115\105\x53\x53\x41\107\105\137\x53\x55\x43\103\105\123\x53":
                echo "\74\x64\151\x76\x20\40\163\x74\x79\154\x65\x3d\x22\155\x61\162\147\x69\156\55\164\x6f\160\72\x31\45\73\42" . "\143\154\x61\x73\x73\75\x22\x6e\157\x74\x69\143\145\x20\x6d\x6f\55\x6e\157\x74\151\143\x65\x2d\x73\x75\143\x63\x65\x73\163\x20\x6e\157\164\x69\143\145\55\x73\165\143\143\x65\x73\x73\x20\151\x73\55\x64\151\x73\x6d\x69\x73\x73\151\142\154\145\x20\155\157\x2d\x61\x64\155\x69\x6e\x2d\156\x6f\164\151\x66\42\76" . "\x3c\x70\76" . wp_kses(mo_($this->message), array("\160" => array())) . "\x3c\x2f\x70\x3e" . "\74\57\x64\x69\166\x3e";
                goto tyB;
            case "\115\117\x5f\x41\x44\104\117\x4e\x5f\115\105\123\x53\101\107\105\137\x43\x55\x53\x54\x4f\115\x5f\x4d\x45\123\123\101\x47\105\137\105\122\122\117\122":
                echo "\x3c\144\x69\x76\40\x73\164\x79\x6c\x65\75\42\155\141\x72\x67\x69\156\55\x74\157\160\72\x31\x25\73\x22" . "\x63\x6c\141\163\x73\x3d\x22\x6e\x6f\x74\151\x63\x65\x20\155\x6f\x2d\x6e\157\164\x69\x63\145\55\145\x72\162\157\x72\40\156\x6f\164\x69\143\x65\55\x65\162\x72\157\162\x20\x69\x73\x2d\144\151\163\x6d\151\163\163\151\142\154\145\x20\155\x6f\55\141\x64\x6d\x69\156\x2d\156\x6f\164\x69\x66\x22\x3e" . "\x3c\x70\76" . wp_kses(mo_($this->message), array("\160" => array())) . "\x3c\x2f\x70\x3e" . "\74\57\144\x69\x76\76";
                goto tyB;
        }
        t4P:
        tyB:
    }
}
bLZ:

Function Calls

None

Variables

None

Stats

MD5 6fa9f3ebd9138a509e74340ef2e126c0
Eval Count 0
Decode Time 36 ms