Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

{ return "\x6d\x69\x6e\151\157\x72\141\156\x67\x65\x5f\x72\145\x70\157\x72\16..

Decoded Output download

<?      { 
        return "miniorange_reports"; 
    } 
    public function buildForm(array $form, FormStateInterface $form_state) 
    { 
        $Wz = FALSE; 
        $form["markup_library"] = array("#attached" => array("library" => array("miniorange_oauth_client/miniorange_oauth_client.admin", "miniorange_oauth_client/miniorange_oauth_client.style_settings"))); 
        $form["markup_top"] = array("#markup" => "<div class="mo_oauth_table_layout_reports"><div class="mo_oauth_table_layout mo_oauth_container_reports">"); 
        $form["miniorange_oauth_client_report_submit"] = array("#type" => "submit", "#value" => t("Clear Report"), "#suffix" => "<br><br>", "#disabled" => $Wz); 
        $form["miniorange_oauth_client_report"] = array("#disabled" => TRUE, "#markup" => " \xa                <table class='mo_oauth_customer_reports'>                                    \xa	\x9            <tr>\xa\x9\x9                <th>Username </th>
\x9\x9                <th>Status </th>\xa		                <th>Application </th>
\x9	                <th>Date and Time </th>\xa\x9\x9                <th>Email </th>\xa\x9\x9                <th>IP Address </th>
\x9	                <th>Navigation URL </th>
                    </tr>                    \xa	\x9"); 
        if ($Wz == FALSE) { 
            goto S2; 
        } 
        $form["miniorange_oauth_client_report_rows"] = array("#markup" => "<tr>
	\x9                <td>-</td>
\x9	                <td>-</td>\xa	\x9                <td>-</td>\xa\x9\x9                <td>-</td>
	\x9                <td>-</td>\xa\x9\x9                <td>-</td>\xa\x9	                <td>-</td>
                    </tr>"); 
        goto EA; 
        S2: 
        $y5 = \Drupal::database()->select("oauth_client_sso_report", "c")->fields("c")->execute()->fetchAllAssoc("nid", \PDO::FETCH_ASSOC); 
        $V8 = ''; 
        foreach ($y5 as $G3 => $bl) { 
            $TQ = "<td class='success_report'>" . $bl["status"] . "</td>"; 
            if (!($bl["status"] != "SUCCESS")) { 
                goto wy; 
            } 
            $TQ = "<td class='failure_report'>" . $bl["status"] . "</td>"; 
            wy: 
            $V8 .= "<tr>"; 
            $V8 .= "<td>" . $bl["username"] . "</td>"; 
            $V8 .= $TQ; 
            $V8 .= "<td>" . $bl["application"] . "</td>"; 
            $V8 .= "<td>" . $bl["date_and_time"] . "</td>"; 
            $V8 .= "<td>" . $bl["email"] . "</td>"; 
            $V8 .= "<td>" . $bl["ip_address"] . "</td>"; 
            $V8 .= "<td>" . $bl["navigation_url"] . "</td>"; 
            $V8 .= "</tr>"; 
            Uj: 
        } 
        nk: 
        $form["miniorange_oauth_client_report_rows"] = array("#markup" => $V8); 
        EA: 
        $form["markup_support_close1"] = array("#markup" => "</table></div>"); 
        Utilities::AddSupportButton($form, $form_state); 
        return $form; ?>

Did this file decode correctly?

Original Code

    {
        return "\x6d\x69\x6e\151\157\x72\141\156\x67\x65\x5f\x72\145\x70\157\x72\164\x73";
    }
    public function buildForm(array $form, FormStateInterface $form_state)
    {
        $Wz = FALSE;
        $form["\x6d\x61\162\x6b\x75\x70\x5f\x6c\151\x62\x72\141\162\x79"] = array("\x23\x61\164\x74\x61\x63\150\x65\144" => array("\x6c\151\142\162\141\x72\171" => array("\x6d\151\156\151\157\162\x61\x6e\x67\145\137\157\x61\x75\164\150\137\x63\154\151\x65\156\x74\x2f\155\x69\x6e\151\157\x72\x61\156\147\145\x5f\157\141\x75\164\150\137\143\x6c\x69\x65\156\164\x2e\141\x64\155\151\x6e", "\155\x69\156\x69\x6f\x72\141\x6e\147\x65\x5f\157\141\165\x74\150\137\x63\154\151\x65\x6e\x74\x2f\155\151\x6e\x69\157\162\141\x6e\x67\145\137\157\141\x75\164\x68\x5f\143\x6c\x69\145\x6e\x74\56\x73\164\x79\x6c\145\x5f\x73\x65\164\x74\151\156\147\x73")));
        $form["\x6d\141\162\x6b\165\160\x5f\164\x6f\x70"] = array("\43\155\141\x72\x6b\165\160" => "\74\x64\151\166\40\143\x6c\x61\x73\163\x3d\42\155\157\137\x6f\x61\165\x74\x68\137\x74\x61\142\154\145\137\154\141\x79\x6f\x75\x74\x5f\x72\145\160\157\x72\x74\163\x22\76\x3c\144\x69\x76\x20\143\154\x61\163\163\x3d\42\155\x6f\x5f\157\x61\165\164\x68\137\x74\x61\x62\x6c\145\x5f\x6c\141\x79\157\165\x74\40\155\x6f\137\157\141\x75\x74\x68\137\x63\x6f\x6e\x74\141\151\x6e\145\x72\x5f\x72\145\160\x6f\x72\164\163\x22\76");
        $form["\155\151\156\151\157\x72\141\x6e\147\x65\137\157\x61\165\x74\x68\x5f\x63\x6c\x69\x65\156\x74\137\x72\145\x70\157\x72\x74\x5f\163\165\142\155\151\164"] = array("\x23\x74\171\160\x65" => "\x73\x75\x62\x6d\x69\x74", "\x23\x76\x61\154\165\145" => t("\103\154\145\141\x72\x20\x52\145\160\157\x72\164"), "\x23\x73\x75\x66\146\x69\x78" => "\74\142\x72\x3e\x3c\x62\162\x3e", "\43\144\x69\163\141\x62\x6c\x65\144" => $Wz);
        $form["\155\151\x6e\151\x6f\x72\x61\156\147\145\137\157\x61\165\x74\150\137\143\154\151\x65\x6e\x74\x5f\x72\x65\160\x6f\x72\x74"] = array("\x23\144\151\x73\141\x62\154\x65\x64" => TRUE, "\43\155\141\162\153\x75\160" => "\40\xa\40\x20\x20\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\40\x3c\164\141\142\x6c\145\40\x63\x6c\x61\163\x73\75\x27\x6d\157\137\x6f\141\x75\x74\150\x5f\x63\x75\163\x74\157\155\145\x72\x5f\162\x65\160\157\x72\164\163\47\x3e\x20\40\x20\40\x20\40\x20\40\x20\x20\x20\40\x20\40\40\40\40\40\40\x20\40\40\x20\x20\40\40\x20\x20\40\x20\x20\x20\40\40\40\x20\xa\11\x9\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\74\x74\x72\76\xa\x9\x9\x20\x20\40\40\x20\40\x20\40\40\40\x20\x20\40\40\x20\x20\x3c\x74\x68\x3e\x55\163\x65\162\156\141\155\x65\x20\74\x2f\x74\150\76\12\x9\x9\40\x20\x20\40\40\x20\40\40\x20\x20\40\40\x20\40\40\40\74\164\x68\x3e\123\164\x61\164\165\163\x20\x3c\x2f\164\x68\76\xa\11\11\x20\40\x20\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\x20\x20\74\164\x68\x3e\x41\160\x70\x6c\x69\x63\x61\164\x69\x6f\x6e\40\74\57\x74\x68\x3e\12\x9\11\x20\x20\40\x20\x20\40\x20\40\x20\40\x20\40\x20\40\40\x20\74\x74\150\76\104\141\x74\145\x20\141\156\144\x20\124\151\155\x65\40\x3c\57\x74\x68\76\xa\x9\x9\x20\x20\x20\40\40\x20\40\40\x20\40\40\40\40\x20\x20\x20\74\164\x68\76\105\x6d\x61\151\154\x20\74\57\x74\150\x3e\xa\x9\x9\40\40\x20\x20\40\40\40\40\40\x20\x20\40\40\x20\x20\x20\74\164\x68\x3e\x49\120\x20\101\x64\144\162\x65\163\163\x20\x3c\57\164\150\76\12\x9\11\x20\x20\40\x20\40\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\74\164\x68\x3e\x4e\x61\x76\151\x67\141\164\x69\x6f\x6e\40\x55\x52\114\40\x3c\57\164\x68\76\12\40\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\40\40\x20\40\74\x2f\164\162\76\40\40\40\40\40\40\40\x20\40\x20\x20\x20\40\x20\x20\x20\x20\40\40\40\xa\11\x9");
        if ($Wz == FALSE) {
            goto S2;
        }
        $form["\155\x69\x6e\151\x6f\x72\x61\156\147\x65\x5f\157\141\x75\x74\150\x5f\143\154\x69\145\156\164\x5f\x72\145\x70\157\x72\x74\137\162\157\167\163"] = array("\x23\155\x61\162\x6b\x75\x70" => "\x3c\164\162\76\12\11\x9\x20\40\x20\40\40\40\x20\40\x20\x20\40\40\x20\40\x20\40\x3c\x74\144\x3e\x2d\x3c\x2f\x74\144\76\12\x9\11\40\40\x20\x20\40\x20\40\x20\40\40\x20\40\40\40\x20\40\x3c\164\144\76\x2d\74\x2f\164\x64\76\xa\11\x9\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x3c\x74\x64\x3e\x2d\x3c\x2f\x74\x64\76\xa\x9\x9\40\40\x20\40\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\x3c\164\144\x3e\x2d\74\x2f\x74\144\76\12\11\x9\x20\40\x20\x20\x20\40\40\x20\40\40\x20\40\40\x20\x20\40\x3c\164\x64\x3e\55\74\x2f\x74\144\x3e\xa\x9\x9\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\x3c\164\x64\x3e\55\74\x2f\x74\144\x3e\xa\x9\11\x20\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\40\40\40\40\x3c\x74\144\76\55\74\57\x74\144\x3e\12\x20\x20\40\x20\40\x20\x20\40\40\x20\40\x20\x20\40\40\40\40\x20\40\x20\74\57\x74\162\x3e");
        goto EA;
        S2:
        $y5 = \Drupal::database()->select("\x6f\141\165\164\x68\x5f\143\154\x69\145\156\164\x5f\x73\163\157\137\162\145\160\157\162\164", "\x63")->fields("\143")->execute()->fetchAllAssoc("\156\x69\x64", \PDO::FETCH_ASSOC);
        $V8 = '';
        foreach ($y5 as $G3 => $bl) {
            $TQ = "\74\x74\144\x20\x63\154\x61\163\x73\75\47\x73\165\x63\x63\x65\163\163\x5f\162\145\160\x6f\162\164\47\x3e" . $bl["\163\x74\141\x74\x75\163"] . "\74\57\x74\144\x3e";
            if (!($bl["\163\164\141\x74\x75\163"] != "\123\x55\x43\x43\105\x53\x53")) {
                goto wy;
            }
            $TQ = "\x3c\164\144\x20\x63\154\141\x73\x73\75\x27\146\141\x69\x6c\165\x72\145\137\x72\x65\160\x6f\x72\164\47\x3e" . $bl["\x73\x74\141\x74\x75\163"] . "\74\x2f\x74\x64\x3e";
            wy:
            $V8 .= "\74\x74\162\76";
            $V8 .= "\x3c\164\x64\76" . $bl["\x75\x73\145\x72\x6e\x61\155\x65"] . "\74\57\164\x64\x3e";
            $V8 .= $TQ;
            $V8 .= "\74\164\144\76" . $bl["\x61\160\x70\x6c\151\143\x61\x74\151\157\x6e"] . "\x3c\x2f\x74\144\76";
            $V8 .= "\74\164\x64\76" . $bl["\144\141\164\x65\x5f\x61\156\x64\x5f\164\x69\x6d\x65"] . "\x3c\x2f\164\x64\76";
            $V8 .= "\x3c\x74\144\76" . $bl["\x65\x6d\141\x69\x6c"] . "\74\57\x74\x64\76";
            $V8 .= "\x3c\x74\144\76" . $bl["\x69\160\x5f\141\x64\x64\162\x65\163\163"] . "\74\x2f\x74\x64\x3e";
            $V8 .= "\x3c\164\144\76" . $bl["\156\x61\x76\151\x67\x61\x74\151\157\156\137\x75\162\x6c"] . "\x3c\57\x74\144\76";
            $V8 .= "\74\57\164\162\76";
            Uj:
        }
        nk:
        $form["\155\151\156\x69\157\x72\x61\x6e\147\x65\x5f\157\x61\x75\164\150\x5f\x63\x6c\x69\145\156\x74\x5f\x72\x65\160\x6f\x72\x74\137\x72\x6f\x77\x73"] = array("\43\x6d\141\162\x6b\165\160" => $V8);
        EA:
        $form["\155\141\x72\x6b\165\160\x5f\163\165\x70\160\157\162\x74\x5f\x63\154\157\163\x65\x31"] = array("\43\x6d\141\162\x6b\165\160" => "\74\x2f\164\x61\x62\154\x65\x3e\x3c\57\144\x69\166\76");
        Utilities::AddSupportButton($form, $form_state);
        return $form;

Function Calls

None

Variables

None

Stats

MD5 3af3018a98b33fa6609adfb091c274d3
Eval Count 0
Decode Time 36 ms