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 class mo_line { public $color = "\43\60\x30\102\71\60\60"; public $s..

Decoded Output download

<?php 
 
 
class mo_line 
{ 
    public $color = "#00B900"; 
    public $scope = "profile email openid"; 
    public $video_url = "https://www.youtube.com/embed/9uVn-y-ov7o"; 
    public $instructions; 
    public function __construct() 
    { 
        if (get_option("permalink_structure") !== '') { 
            goto z9g; 
        } 
        $this->instructions = "<strong style='color: red;font-weight: bold'><br>You have selected plain permalink and LINE doesnot support it.</strong><br><br> Please change the permalink to continue further.Follow the steps given below:<br>1. Go to settings from the left panel and select the permalinks option.<br>2. Plain permalink is selected ,so please select any other permalink and click on save button.<br> <strong class='mo_openid_note_style' style='color: red;font-weight: bold'> When you will change the permalink ,then you have to re-configure the already set up custom apps because that will change the redirect URL.</strong>"; 
        goto G1x; 
        z9g: 
        $this->site_url = get_option("siteurl"); 
        $this->instructions = "Download the Line Application(app) and sign up/login into the app in the mobile.\xd\xa            ## Goto <a href="https://developers.line.biz/console/register/line-login/provider/" target="_blank">https://developers.line.biz/console/register/line-login/provider/</a>. ##Click on <b> login with LINE Account </b> then either use Login credential of your mobile application or Select New QR code login and scan the code through mobile phone.
            ##On create channel page, from channel type dropdown select LINE login, Enter all the required fields and click on <b>web</b> for App type. Click on create.\xd
            ##Click on LINE login tab and edit callback URL as <b><code id='19'>" . mo_get_permalink("line") . "</code><i style= "width: 11px;height: 9px;padding-left:2px;padding-top:3px" class="fa fa-fw fa-lg fa-copy mo_copy mo_openid_copytooltip" onclick="copyToClipboard(this, '#19', '#shortcode_url19_copy')"><span id="shortcode_url19_copy" class="mo_openid_copytooltiptext">Copy to Clipboard</span></i></b>, <b> Click on Update </b>.
\xa            ##Click on Basic setting tab, Paste your <b>Channel ID</b> and <b>Channel Secret</b> provided by line into the fields above, Click on <b> Save & Test Configuration </b>. \xd
            ##Go to Customise Social Login Icons tab and configure the icons."; 
        G1x: 
    } 
    function mo_openid_get_app_code() 
    { 
        $r4 = time(); 
        $i0 = maybe_unserialize(get_option("mo_openid_apps_list")); 
        $vA = get_social_app_redirect_uri("line"); 
        mo_openid_start_session(); 
        $_SESSION["appname"] = "line"; 
        $cS = $i0["line"]["clientid"]; 
        $jI = $i0["line"]["scope"]; 
        $Ur = "https://access.line.me/oauth2/v2.1/authorize?client_id=" . $cS . "&redirect_uri=" . $vA . "&response_type=code&scope=" . $jI . "&state=" . $r4; 
        header("Location:" . $Ur); 
        exit; 
    } 
    function mo_openid_get_access_token() 
    { 
        $Ee = mo_openid_validate_code(); 
        $vA = get_social_app_redirect_uri("line"); 
        $i0 = maybe_unserialize(get_option("mo_openid_apps_list")); 
        $cS = $i0["line"]["clientid"]; 
        $ZA = $i0["line"]["clientsecret"]; 
        $Ux = "https://api.line.me/oauth2/v2.1/token"; 
        $K0 = "client_id=" . $cS . "&redirect_uri=" . $vA . "&client_secret=" . $ZA . "&code=" . $Ee . "&grant_type=authorization_code"; 
        $cb = mo_openid_get_access_token($K0, $Ux, "line"); 
        $UN = isset($cb["access_token"]) ? $cb["access_token"] : ''; 
        mo_openid_start_session(); 
        $t9 = "https://api.line.me/v2/profile?access_token=" . $cb["access_token"]; 
        $Er = mo_openid_get_social_app_data($UN, $t9, "line"); 
        if (!(is_user_logged_in() && get_option("mo_openid_test_configuration") == 1)) { 
            goto LEO; 
        } 
        mo_openid_app_test_config($Er); 
        LEO: 
        $l4 = $XL = $SW = $gG = $EK = $Go = $Zo = ''; 
        $Ku = $Me = $JC = $Du = $u1 = $ww = $QD = ''; 
        $SW = isset($Er["email"]) ? $Er["email"] : ''; 
        $gG = isset($Er["displayName"]) ? $Er["displayName"] : ''; 
        $Go = isset($Er["pictureUrl"]) ? $Er["pictureUrl"] : ''; 
        $Zo = isset($Er["userId"]) ? $Er["userId"] : ''; 
        $De = array("first_name" => $l4, "email" => $SW, "user_name" => $gG, "user_picture" => $Go, "social_user_id" => $Zo, "location_city" => $Ku); 
        return $De; 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php


class mo_line
{
    public $color = "\43\60\x30\102\71\60\60";
    public $scope = "\160\162\157\x66\151\154\145\40\x65\155\x61\x69\x6c\40\157\x70\x65\x6e\151\x64";
    public $video_url = "\x68\x74\164\x70\x73\x3a\x2f\x2f\x77\167\167\56\x79\157\x75\x74\x75\x62\145\x2e\143\x6f\x6d\57\145\x6d\142\145\144\57\x39\165\x56\x6e\x2d\171\x2d\157\x76\x37\x6f";
    public $instructions;
    public function __construct()
    {
        if (get_option("\160\145\162\x6d\x61\154\x69\156\x6b\x5f\163\x74\162\x75\x63\x74\165\x72\145") !== '') {
            goto z9g;
        }
        $this->instructions = "\x3c\x73\x74\x72\x6f\156\147\x20\x73\x74\x79\x6c\x65\x3d\x27\143\x6f\x6c\157\x72\72\x20\162\145\144\73\146\x6f\x6e\164\55\x77\145\151\x67\x68\164\x3a\x20\x62\157\x6c\x64\47\x3e\x3c\142\x72\76\131\157\x75\x20\x68\141\x76\145\x20\163\x65\154\x65\143\164\145\x64\x20\x70\x6c\x61\x69\156\40\x70\x65\x72\155\x61\x6c\151\x6e\x6b\40\x61\156\x64\40\114\x49\x4e\x45\40\144\157\x65\x73\x6e\157\164\x20\163\165\160\160\157\162\164\40\x69\x74\56\74\57\x73\x74\162\x6f\x6e\147\x3e\74\142\x72\x3e\74\142\x72\x3e\x20\120\154\145\x61\x73\x65\x20\143\x68\141\156\147\x65\40\164\150\145\x20\x70\145\162\x6d\x61\x6c\x69\156\x6b\x20\x74\x6f\40\x63\157\156\164\x69\156\x75\x65\40\146\165\162\x74\x68\145\162\56\106\157\x6c\154\x6f\x77\40\x74\150\145\x20\x73\164\145\160\163\40\x67\151\x76\145\x6e\40\x62\145\x6c\157\x77\x3a\x3c\x62\x72\76\61\56\x20\107\x6f\40\164\157\x20\163\x65\x74\x74\151\156\147\163\x20\146\162\157\155\x20\164\150\x65\40\x6c\145\146\x74\40\x70\x61\156\x65\x6c\40\x61\x6e\x64\x20\163\145\x6c\x65\x63\164\x20\x74\150\x65\x20\x70\x65\162\155\141\x6c\x69\156\153\x73\40\157\x70\164\151\x6f\156\x2e\x3c\142\x72\76\62\x2e\x20\x50\x6c\x61\x69\156\x20\160\145\x72\x6d\141\x6c\x69\x6e\153\40\151\163\x20\163\x65\x6c\145\x63\x74\x65\x64\x20\x2c\x73\157\x20\160\154\145\x61\163\x65\x20\x73\x65\154\145\x63\x74\40\141\156\x79\40\x6f\164\150\145\162\40\160\145\162\x6d\141\154\151\x6e\153\x20\x61\x6e\x64\x20\x63\154\151\143\x6b\x20\157\x6e\40\x73\x61\166\x65\40\142\x75\x74\x74\157\156\56\x3c\142\162\76\x20\x3c\163\x74\162\x6f\x6e\x67\x20\143\x6c\x61\x73\163\75\47\x6d\157\137\x6f\x70\145\x6e\151\x64\137\x6e\157\164\145\137\163\164\x79\154\x65\47\40\x73\164\171\x6c\145\x3d\x27\x63\157\154\x6f\162\72\x20\162\x65\x64\73\146\157\x6e\164\x2d\167\x65\151\x67\x68\164\x3a\40\142\157\154\144\x27\76\x20\127\x68\x65\x6e\x20\x79\x6f\x75\x20\x77\x69\x6c\154\x20\x63\x68\141\156\147\x65\x20\164\x68\145\40\160\x65\162\155\141\x6c\x69\156\153\40\x2c\x74\x68\145\156\40\171\x6f\165\40\x68\141\166\145\40\x74\157\40\x72\x65\x2d\x63\157\156\x66\x69\x67\x75\x72\x65\40\x74\x68\x65\40\x61\x6c\162\x65\x61\144\171\x20\x73\x65\164\40\165\x70\x20\143\165\163\x74\157\155\40\141\x70\x70\x73\40\142\145\x63\141\165\163\x65\x20\x74\150\141\164\x20\x77\x69\x6c\x6c\x20\143\x68\x61\156\147\145\40\164\150\145\40\162\145\144\x69\x72\x65\x63\164\x20\125\x52\114\x2e\x3c\57\163\x74\162\157\156\x67\76";
        goto G1x;
        z9g:
        $this->site_url = get_option("\x73\x69\x74\145\x75\x72\x6c");
        $this->instructions = "\104\157\x77\156\x6c\157\141\144\40\164\150\x65\x20\x4c\151\x6e\145\40\x41\160\160\154\151\x63\x61\x74\151\x6f\156\50\141\160\160\51\x20\x61\156\x64\40\163\x69\x67\156\x20\165\x70\57\x6c\157\147\151\156\x20\151\x6e\x74\157\40\164\x68\145\x20\141\160\160\x20\151\156\40\164\150\x65\x20\x6d\x6f\142\x69\154\145\x2e\xd\xa\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\40\43\43\x20\x47\x6f\x74\157\40\x3c\x61\40\150\162\x65\146\75\x22\150\x74\x74\x70\x73\x3a\x2f\57\144\145\166\145\154\x6f\x70\145\x72\x73\x2e\x6c\151\156\x65\56\x62\151\x7a\57\x63\157\x6e\x73\157\x6c\145\x2f\162\145\147\151\x73\x74\x65\x72\x2f\x6c\x69\156\145\55\x6c\157\x67\x69\156\57\160\x72\x6f\x76\151\144\145\162\57\42\40\164\x61\x72\147\x65\164\75\x22\x5f\142\x6c\141\x6e\x6b\x22\76\150\164\x74\160\x73\72\x2f\x2f\x64\145\166\145\x6c\x6f\160\x65\x72\163\56\154\x69\x6e\145\56\142\151\172\57\143\x6f\x6e\163\157\154\x65\x2f\x72\145\147\151\163\164\145\x72\57\x6c\151\x6e\145\55\154\x6f\147\x69\x6e\x2f\160\162\157\x76\151\x64\145\162\x2f\74\x2f\x61\76\56\x20\43\x23\x43\x6c\151\x63\x6b\40\x6f\156\40\74\142\76\x20\x6c\x6f\x67\x69\x6e\40\167\x69\x74\150\40\x4c\111\x4e\x45\40\x41\x63\143\157\165\x6e\164\40\74\x2f\x62\x3e\40\x74\x68\145\x6e\40\145\151\x74\x68\145\x72\x20\165\x73\145\x20\114\157\147\151\x6e\40\143\x72\145\144\x65\x6e\164\151\141\154\40\x6f\146\x20\x79\157\165\162\x20\155\157\x62\151\x6c\x65\x20\x61\160\x70\154\x69\143\141\x74\151\157\156\40\x6f\162\x20\x53\145\x6c\x65\143\164\40\x4e\x65\167\40\121\x52\40\143\x6f\x64\145\40\154\157\147\151\156\x20\141\x6e\x64\40\x73\x63\141\156\x20\164\x68\145\x20\143\x6f\144\145\40\x74\x68\x72\157\x75\147\150\x20\x6d\x6f\x62\151\154\145\40\160\150\x6f\x6e\x65\x2e\15\12\40\40\x20\40\40\40\40\40\40\x20\40\40\x23\43\117\156\40\143\162\145\141\164\x65\40\x63\150\x61\156\x6e\145\154\40\160\x61\147\145\54\x20\x66\162\157\155\x20\143\x68\x61\x6e\x6e\x65\154\40\x74\x79\x70\x65\40\x64\x72\157\160\x64\157\167\x6e\x20\163\145\154\x65\x63\164\x20\x4c\111\x4e\105\40\154\x6f\x67\151\156\54\x20\105\x6e\x74\x65\x72\40\x61\x6c\x6c\40\164\x68\145\40\162\x65\x71\x75\x69\162\145\144\x20\146\151\145\x6c\x64\x73\x20\x61\156\144\40\x63\x6c\x69\x63\x6b\x20\157\156\40\x3c\x62\76\x77\x65\142\74\57\142\76\x20\x66\157\x72\x20\x41\x70\160\40\164\x79\160\145\56\x20\103\x6c\151\x63\x6b\x20\157\x6e\40\143\x72\x65\x61\164\x65\x2e\xd\12\40\x20\x20\40\x20\40\40\40\x20\x20\x20\40\x23\43\x43\x6c\151\x63\x6b\40\x6f\x6e\40\114\x49\116\x45\40\x6c\x6f\x67\x69\156\40\164\x61\142\x20\141\156\144\x20\145\144\x69\x74\40\143\x61\154\x6c\x62\x61\x63\153\x20\125\122\114\x20\x61\163\x20\74\142\76\x3c\x63\x6f\x64\x65\x20\x69\144\x3d\x27\x31\x39\x27\x3e" . mo_get_permalink("\154\151\156\x65") . "\x3c\57\143\157\x64\145\x3e\74\151\x20\x73\164\171\x6c\x65\75\x20\x22\167\151\x64\164\x68\72\40\61\61\x70\x78\x3b\x68\x65\x69\x67\x68\x74\72\x20\71\x70\x78\73\160\x61\144\x64\151\156\147\55\154\x65\x66\x74\x3a\x32\160\170\73\x70\x61\x64\x64\151\156\147\55\164\x6f\160\72\63\x70\170\x22\40\143\154\141\163\x73\x3d\42\146\x61\x20\x66\x61\55\146\x77\x20\x66\x61\55\x6c\x67\40\146\x61\55\143\157\x70\x79\x20\155\x6f\137\x63\157\x70\171\40\x6d\157\137\x6f\160\x65\x6e\x69\x64\x5f\x63\157\x70\171\164\x6f\157\154\x74\x69\x70\x22\x20\x6f\x6e\143\154\x69\x63\x6b\75\x22\x63\x6f\160\171\124\157\x43\x6c\x69\160\x62\x6f\x61\x72\x64\50\164\150\x69\163\x2c\40\x27\x23\61\x39\47\54\x20\x27\x23\x73\150\157\162\164\x63\157\144\145\137\165\x72\154\x31\x39\137\143\157\x70\x79\47\x29\42\76\74\163\160\141\156\40\x69\144\75\42\x73\150\x6f\x72\x74\143\x6f\x64\145\137\165\x72\x6c\61\x39\x5f\143\x6f\x70\171\x22\40\143\x6c\141\x73\x73\75\42\x6d\x6f\x5f\x6f\160\x65\x6e\x69\144\137\x63\157\x70\171\x74\x6f\x6f\x6c\164\x69\x70\x74\x65\x78\x74\x22\76\x43\x6f\160\x79\40\164\x6f\x20\x43\x6c\x69\x70\x62\x6f\141\162\x64\74\57\x73\160\x61\156\x3e\x3c\x2f\x69\x3e\74\x2f\142\76\54\x20\x3c\142\x3e\40\x43\x6c\151\x63\x6b\x20\157\x6e\40\x55\x70\144\141\x74\x65\40\x3c\57\x62\x3e\x2e\15\xa\40\40\40\x20\40\x20\40\40\40\x20\x20\x20\43\x23\x43\154\151\x63\153\x20\x6f\156\40\x42\141\x73\x69\x63\x20\163\x65\164\164\151\x6e\x67\x20\x74\x61\x62\54\40\120\141\x73\x74\x65\40\x79\x6f\x75\162\40\74\x62\x3e\x43\150\x61\x6e\x6e\x65\x6c\x20\111\104\x3c\x2f\x62\76\x20\x61\x6e\x64\40\74\x62\76\103\x68\x61\x6e\156\x65\154\40\123\x65\x63\162\145\x74\x3c\57\x62\x3e\x20\160\162\157\x76\x69\x64\x65\144\40\142\171\40\154\x69\156\x65\x20\x69\x6e\164\x6f\40\164\x68\x65\x20\146\x69\x65\154\x64\x73\x20\x61\142\157\166\x65\x2c\x20\103\x6c\x69\x63\x6b\40\x6f\x6e\40\74\142\x3e\40\123\141\166\145\40\x26\40\124\145\x73\164\40\103\157\156\x66\151\147\165\x72\141\164\x69\157\x6e\x20\x3c\x2f\142\x3e\x2e\40\xd\12\40\x20\x20\40\40\40\x20\x20\40\x20\x20\x20\43\43\x47\157\x20\x74\x6f\40\x43\165\163\x74\157\155\151\163\145\x20\123\157\x63\x69\x61\154\40\x4c\x6f\x67\151\x6e\40\111\x63\x6f\156\163\x20\x74\141\142\x20\141\156\144\40\x63\157\156\x66\x69\147\165\x72\x65\40\x74\150\x65\40\x69\143\157\x6e\x73\x2e";
        G1x:
    }
    function mo_openid_get_app_code()
    {
        $r4 = time();
        $i0 = maybe_unserialize(get_option("\155\x6f\137\x6f\x70\x65\156\151\144\137\x61\160\160\163\137\x6c\x69\163\x74"));
        $vA = get_social_app_redirect_uri("\x6c\151\x6e\x65");
        mo_openid_start_session();
        $_SESSION["\141\x70\160\x6e\141\x6d\145"] = "\154\151\156\145";
        $cS = $i0["\154\151\156\x65"]["\x63\154\151\x65\156\x74\151\x64"];
        $jI = $i0["\x6c\151\x6e\x65"]["\x73\143\157\160\145"];
        $Ur = "\150\164\164\160\163\x3a\x2f\57\141\x63\x63\145\163\163\x2e\154\x69\156\x65\x2e\x6d\145\x2f\157\x61\x75\x74\150\x32\x2f\x76\62\x2e\x31\57\141\165\164\150\157\162\151\172\145\77\x63\154\151\x65\x6e\164\137\151\144\x3d" . $cS . "\46\162\145\144\151\162\x65\143\164\137\x75\162\x69\x3d" . $vA . "\46\x72\145\x73\x70\x6f\x6e\x73\x65\137\x74\x79\160\145\75\143\x6f\x64\145\46\x73\x63\157\x70\145\75" . $jI . "\46\x73\x74\141\164\x65\x3d" . $r4;
        header("\114\157\x63\x61\164\x69\157\156\x3a" . $Ur);
        exit;
    }
    function mo_openid_get_access_token()
    {
        $Ee = mo_openid_validate_code();
        $vA = get_social_app_redirect_uri("\154\x69\156\x65");
        $i0 = maybe_unserialize(get_option("\155\157\x5f\x6f\160\x65\156\151\x64\137\x61\160\160\163\137\154\151\163\164"));
        $cS = $i0["\x6c\x69\156\x65"]["\143\x6c\151\145\156\164\x69\144"];
        $ZA = $i0["\x6c\x69\x6e\145"]["\x63\x6c\x69\145\x6e\x74\x73\145\x63\162\145\x74"];
        $Ux = "\150\164\x74\x70\163\72\57\57\x61\x70\x69\56\154\x69\x6e\145\56\x6d\145\x2f\157\141\165\x74\x68\x32\57\166\62\56\x31\57\x74\x6f\153\145\x6e";
        $K0 = "\x63\154\x69\x65\156\164\137\151\x64\x3d" . $cS . "\x26\162\x65\x64\151\162\x65\x63\x74\137\165\162\151\75" . $vA . "\x26\143\154\x69\145\x6e\164\x5f\163\x65\x63\162\145\164\75" . $ZA . "\46\x63\x6f\144\x65\75" . $Ee . "\x26\147\162\x61\156\164\137\164\171\160\x65\x3d\x61\x75\x74\x68\157\162\x69\172\x61\164\x69\x6f\x6e\x5f\x63\x6f\144\x65";
        $cb = mo_openid_get_access_token($K0, $Ux, "\x6c\151\156\145");
        $UN = isset($cb["\141\x63\143\x65\x73\163\137\x74\x6f\153\145\x6e"]) ? $cb["\141\x63\143\x65\163\x73\x5f\164\x6f\x6b\145\x6e"] : '';
        mo_openid_start_session();
        $t9 = "\150\164\164\x70\x73\72\57\57\141\x70\x69\56\154\x69\156\145\56\x6d\x65\x2f\166\62\x2f\x70\162\157\x66\151\x6c\145\x3f\141\x63\x63\145\x73\x73\137\164\x6f\153\145\156\x3d" . $cb["\141\143\x63\145\x73\x73\137\164\x6f\x6b\145\x6e"];
        $Er = mo_openid_get_social_app_data($UN, $t9, "\154\151\x6e\x65");
        if (!(is_user_logged_in() && get_option("\155\157\137\x6f\x70\x65\156\x69\144\x5f\x74\145\x73\x74\x5f\143\x6f\156\x66\x69\x67\165\x72\x61\x74\x69\157\x6e") == 1)) {
            goto LEO;
        }
        mo_openid_app_test_config($Er);
        LEO:
        $l4 = $XL = $SW = $gG = $EK = $Go = $Zo = '';
        $Ku = $Me = $JC = $Du = $u1 = $ww = $QD = '';
        $SW = isset($Er["\x65\x6d\x61\151\154"]) ? $Er["\145\155\x61\x69\154"] : '';
        $gG = isset($Er["\x64\151\x73\160\x6c\141\171\x4e\141\155\x65"]) ? $Er["\144\151\x73\160\154\141\x79\x4e\x61\x6d\145"] : '';
        $Go = isset($Er["\x70\x69\x63\x74\x75\162\x65\x55\162\154"]) ? $Er["\160\151\143\164\165\162\145\x55\x72\x6c"] : '';
        $Zo = isset($Er["\165\163\145\x72\x49\144"]) ? $Er["\x75\x73\145\x72\x49\x64"] : '';
        $De = array("\146\151\162\163\164\137\x6e\141\155\145" => $l4, "\145\x6d\x61\x69\x6c" => $SW, "\x75\x73\145\x72\137\x6e\x61\155\x65" => $gG, "\x75\163\x65\162\x5f\x70\x69\x63\164\x75\162\x65" => $Go, "\x73\x6f\x63\x69\x61\154\137\165\163\145\162\137\x69\144" => $Zo, "\x6c\157\x63\x61\164\x69\157\x6e\137\143\x69\x74\171" => $Ku);
        return $De;
    }
}

Function Calls

None

Variables

None

Stats

MD5 cfadd3263827bd269dddbd348ce719be
Eval Count 0
Decode Time 47 ms