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

Signing you up...

Thank you for signing up!

PHP Decode

public function editor_add_alias() { goto cLx1b; VQqNd: ig..

Decoded Output download

<?  public function editor_add_alias() 
    { 
        goto cLx1b; 
        VQqNd: 
        ig_fp: 
        goto ur5bx; 
        gzX5U: 
        $eoQm9 = "url_alias"; 
        goto zQR1m; 
        snxAs: 
        if (!(version_compare(VERSION, "3", ">=") || $this->multistore_mode)) { 
            goto p7d4s; 
        } 
        goto olO1z; 
        xOe3v: 
        h3mrU: 
        goto p9MgG; 
        LJWwI: 
        $this->db->query("INSERT INTO " . DB_PREFIX . "url_redirect SET query = '" . $this->db->escape($R7oWZ) . "', redirect = '" . $this->db->escape($GerdG) . "', language_id = '" . (int) $Zu00a . "'"); 
        goto iRGAL; 
        N1k18: 
        goto p2952; 
        goto t_lfL; 
        GljL1: 
        goto YzzNn; 
        goto UmmDI; 
        iRGAL: 
        ZIWjP: 
        goto PLDES; 
        z1gGK: 
        if (version_compare(VERSION, "4", ">=")) { 
            goto XuhQC; 
        } 
        goto aScdu; 
        LY6hC: 
        goto HwjWC; 
        goto b03yg; 
        koImq: 
        $this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $this->db->escape($R7oWZ) . "', keyword = '" . $this->db->escape($GerdG) . "', language_id = '" . (int) $Zu00a . "'" . $bch3N); 
        goto w1nMs; 
        GDFFm: 
        if ($ZRaHV == "absolute") { 
            goto udp0O; 
        } 
        goto h1vq4; 
        ur5bx: 
        $ZRaHV = $this->request->get["type"]; 
        goto ot32T; 
        xlgfh: 
        $R7oWZ = "route=" . str_replace("route=", '', $R7oWZ); 
        goto Jp3k2; 
        zQR1m: 
        if ($ZRaHV == "common") { 
            goto H2ac3; 
        } 
        goto DySKw; 
        nXL1t: 
        p7d4s: 
        goto z1gGK; 
        nniVJ: 
        return; 
        goto VQqNd; 
        OZUTd: 
        if ($ZRaHV == "redirect" || $ZRaHV == "404") { 
            goto d5Q24; 
        } 
        goto CXKyL; 
        H1675: 
        $R7oWZ = str_replace(array("route=", "index.php?route="), '', $R7oWZ); 
        goto j2HnD; 
        aynFm: 
        $R7oWZ = ltrim($R7oWZ, "/"); 
        goto H1675; 
        DySKw: 
        if (!($ZRaHV == "absolute")) { 
            goto IrSiy; 
        } 
        goto aynFm; 
        b03yg: 
        zcJeL: 
        goto koImq; 
        JNRgJ: 
        YzzNn: 
        goto N1k18; 
        Jp3k2: 
        bvmVt: 
        goto OZUTd; 
        d0daJ: 
        $this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET `key` = '" . $this->db->escape($Gn5hS) . "', `value` = '" . $this->db->escape($swC1e) . "', keyword = '" . $this->db->escape($GerdG) . "', language_id = '" . (int) $Zu00a . "'" . $bch3N); 
        goto JNRgJ; 
        aScdu: 
        if ($this->ml_mode) { 
            goto zcJeL; 
        } 
        goto mKlSc; 
        M1H0a: 
        list($Gn5hS, $swC1e) = explode("=", $R7oWZ); 
        goto d0daJ; 
        olO1z: 
        $bch3N = ", store_id = '" . (int) $hYkcD . "'"; 
        goto nXL1t; 
        mKlSc: 
        $this->db->query("INSERT INTO " . DB_PREFIX . $this->url_alias . " SET query = '" . $this->db->escape($R7oWZ) . "', keyword = '" . $this->db->escape($GerdG) . "'" . $bch3N); 
        goto LY6hC; 
        p9MgG: 
        goto ZIWjP; 
        goto zj4Wf; 
        OOJi5: 
        $GerdG = $_GET["keyword"]; 
        goto gzX5U; 
        w1nMs: 
        HwjWC: 
        goto GljL1; 
        ot32T: 
        $Zu00a = isset($this->request->get["lang"]) ? (int) $this->request->get["lang"] : 0; 
        goto CqtQ9; 
        h1vq4: 
        $bch3N = ''; 
        goto snxAs; 
        edhAl: 
        goto h3mrU; 
        goto JGh0l; 
        t_lfL: 
        udp0O: 
        goto Ofcsa; 
        Ofcsa: 
        $this->db->query("INSERT INTO " . DB_PREFIX . "url_absolute SET query = '" . $this->db->escape($R7oWZ) . "', redirect = '" . $this->db->escape($GerdG) . "', language_id = '" . (int) $Zu00a . "'"); 
        goto u3lHk; 
        j2HnD: 
        IrSiy: 
        goto RN_zG; 
        CXKyL: 
        if ($ZRaHV == "autolink") { 
            goto wi6_9; 
        } 
        goto GDFFm; 
        JGh0l: 
        wi6_9: 
        goto oP0Ot; 
        RN_zG: 
        goto bvmVt; 
        goto SXFRs; 
        cLx1b: 
        if ($this->user->hasPermission("modify", self::$LINK)) { 
            goto ig_fp; 
        } 
        goto nniVJ; 
        oP0Ot: 
        $this->db->query("INSERT INTO " . DB_PREFIX . "url_autolink SET query = '" . $this->db->escape($R7oWZ) . "', redirect = '" . $this->db->escape($GerdG) . "', language_id = '" . (int) $Zu00a . "'"); 
        goto xOe3v; 
        CqtQ9: 
        $hYkcD = isset($this->request->get["store"]) ? (int) $this->request->get["store"] : 0; 
        goto oOQUO; 
        u3lHk: 
        p2952: 
        goto edhAl; 
        UmmDI: 
        XuhQC: 
        goto M1H0a; 
        zj4Wf: 
        d5Q24: 
        goto LJWwI; 
        SXFRs: 
        H2ac3: 
        goto xlgfh; 
        oOQUO: 
        $R7oWZ = $_GET["query"]; 
        goto OOJi5; 
        PLDES: 
    } ?>

Did this file decode correctly?

Original Code

public function editor_add_alias()
    {
        goto cLx1b;
        VQqNd:
        ig_fp:
        goto ur5bx;
        gzX5U:
        $eoQm9 = "\165\x72\x6c\x5f\x61\154\x69\x61\163";
        goto zQR1m;
        snxAs:
        if (!(version_compare(VERSION, "\63", "\x3e\x3d") || $this->multistore_mode)) {
            goto p7d4s;
        }
        goto olO1z;
        xOe3v:
        h3mrU:
        goto p9MgG;
        LJWwI:
        $this->db->query("\x49\116\x53\x45\122\124\x20\111\x4e\124\117\40" . DB_PREFIX . "\165\x72\x6c\x5f\162\145\144\x69\x72\145\x63\164\40\x53\x45\x54\40\161\x75\145\162\171\40\75\x20\x27" . $this->db->escape($R7oWZ) . "\x27\54\40\x72\145\144\x69\162\x65\x63\x74\40\75\x20\47" . $this->db->escape($GerdG) . "\x27\54\x20\154\x61\x6e\147\165\x61\147\145\x5f\x69\x64\40\75\40\x27" . (int) $Zu00a . "\47");
        goto iRGAL;
        N1k18:
        goto p2952;
        goto t_lfL;
        GljL1:
        goto YzzNn;
        goto UmmDI;
        iRGAL:
        ZIWjP:
        goto PLDES;
        z1gGK:
        if (version_compare(VERSION, "\64", "\76\75")) {
            goto XuhQC;
        }
        goto aScdu;
        LY6hC:
        goto HwjWC;
        goto b03yg;
        koImq:
        $this->db->query("\x49\x4e\x53\105\122\124\x20\111\116\124\117\x20" . DB_PREFIX . $this->url_alias . "\40\123\x45\124\40\x71\165\x65\162\x79\x20\x3d\x20\47" . $this->db->escape($R7oWZ) . "\47\x2c\40\x6b\145\x79\x77\157\x72\144\40\x3d\x20\47" . $this->db->escape($GerdG) . "\x27\54\x20\x6c\x61\x6e\x67\165\141\147\145\137\x69\144\x20\75\x20\47" . (int) $Zu00a . "\x27" . $bch3N);
        goto w1nMs;
        GDFFm:
        if ($ZRaHV == "\x61\142\163\157\154\165\x74\145") {
            goto udp0O;
        }
        goto h1vq4;
        ur5bx:
        $ZRaHV = $this->request->get["\164\171\160\145"];
        goto ot32T;
        xlgfh:
        $R7oWZ = "\x72\157\x75\164\145\75" . str_replace("\x72\x6f\x75\x74\x65\x3d", '', $R7oWZ);
        goto Jp3k2;
        zQR1m:
        if ($ZRaHV == "\x63\157\x6d\155\x6f\x6e") {
            goto H2ac3;
        }
        goto DySKw;
        nXL1t:
        p7d4s:
        goto z1gGK;
        nniVJ:
        return;
        goto VQqNd;
        OZUTd:
        if ($ZRaHV == "\162\145\144\x69\x72\145\143\x74" || $ZRaHV == "\64\60\x34") {
            goto d5Q24;
        }
        goto CXKyL;
        H1675:
        $R7oWZ = str_replace(array("\x72\x6f\x75\x74\x65\x3d", "\x69\156\144\145\170\x2e\160\x68\160\77\162\x6f\165\x74\x65\x3d"), '', $R7oWZ);
        goto j2HnD;
        aynFm:
        $R7oWZ = ltrim($R7oWZ, "\57");
        goto H1675;
        DySKw:
        if (!($ZRaHV == "\x61\x62\163\157\154\x75\164\x65")) {
            goto IrSiy;
        }
        goto aynFm;
        b03yg:
        zcJeL:
        goto koImq;
        JNRgJ:
        YzzNn:
        goto N1k18;
        Jp3k2:
        bvmVt:
        goto OZUTd;
        d0daJ:
        $this->db->query("\111\116\123\105\x52\124\x20\111\x4e\124\117\40" . DB_PREFIX . $this->url_alias . "\x20\x53\x45\124\x20\140\x6b\x65\171\x60\x20\75\x20\47" . $this->db->escape($Gn5hS) . "\47\54\40\x60\166\141\154\165\145\x60\40\75\x20\47" . $this->db->escape($swC1e) . "\47\54\x20\153\145\x79\167\157\162\x64\40\75\x20\47" . $this->db->escape($GerdG) . "\47\54\x20\154\141\x6e\147\x75\x61\147\x65\x5f\x69\x64\x20\75\40\47" . (int) $Zu00a . "\47" . $bch3N);
        goto JNRgJ;
        aScdu:
        if ($this->ml_mode) {
            goto zcJeL;
        }
        goto mKlSc;
        M1H0a:
        list($Gn5hS, $swC1e) = explode("\75", $R7oWZ);
        goto d0daJ;
        olO1z:
        $bch3N = "\54\x20\163\x74\157\x72\x65\x5f\x69\x64\x20\75\40\x27" . (int) $hYkcD . "\47";
        goto nXL1t;
        mKlSc:
        $this->db->query("\111\116\123\x45\x52\x54\x20\111\x4e\124\x4f\40" . DB_PREFIX . $this->url_alias . "\x20\123\x45\x54\40\161\x75\x65\162\x79\40\x3d\40\47" . $this->db->escape($R7oWZ) . "\47\x2c\x20\153\x65\x79\167\157\162\144\x20\75\x20\47" . $this->db->escape($GerdG) . "\x27" . $bch3N);
        goto LY6hC;
        p9MgG:
        goto ZIWjP;
        goto zj4Wf;
        OOJi5:
        $GerdG = $_GET["\153\x65\171\167\157\162\x64"];
        goto gzX5U;
        w1nMs:
        HwjWC:
        goto GljL1;
        ot32T:
        $Zu00a = isset($this->request->get["\x6c\141\156\x67"]) ? (int) $this->request->get["\154\141\156\147"] : 0;
        goto CqtQ9;
        h1vq4:
        $bch3N = '';
        goto snxAs;
        edhAl:
        goto h3mrU;
        goto JGh0l;
        t_lfL:
        udp0O:
        goto Ofcsa;
        Ofcsa:
        $this->db->query("\111\116\123\105\x52\x54\x20\x49\x4e\124\x4f\x20" . DB_PREFIX . "\165\162\154\x5f\x61\x62\163\x6f\154\165\164\x65\x20\x53\x45\124\40\x71\165\x65\162\171\40\75\40\47" . $this->db->escape($R7oWZ) . "\x27\54\40\162\x65\x64\x69\x72\145\x63\164\40\75\40\47" . $this->db->escape($GerdG) . "\47\54\x20\154\141\x6e\x67\165\141\147\x65\x5f\x69\144\x20\75\40\x27" . (int) $Zu00a . "\47");
        goto u3lHk;
        j2HnD:
        IrSiy:
        goto RN_zG;
        CXKyL:
        if ($ZRaHV == "\x61\165\x74\157\x6c\x69\156\x6b") {
            goto wi6_9;
        }
        goto GDFFm;
        JGh0l:
        wi6_9:
        goto oP0Ot;
        RN_zG:
        goto bvmVt;
        goto SXFRs;
        cLx1b:
        if ($this->user->hasPermission("\x6d\157\x64\151\146\x79", self::$LINK)) {
            goto ig_fp;
        }
        goto nniVJ;
        oP0Ot:
        $this->db->query("\111\x4e\x53\x45\122\124\40\x49\x4e\124\117\40" . DB_PREFIX . "\x75\x72\154\x5f\141\165\164\157\x6c\151\x6e\153\40\123\x45\x54\x20\x71\165\x65\x72\x79\40\x3d\x20\47" . $this->db->escape($R7oWZ) . "\x27\x2c\40\162\x65\144\x69\x72\x65\x63\164\x20\75\40\x27" . $this->db->escape($GerdG) . "\x27\x2c\x20\x6c\141\x6e\147\165\141\147\x65\x5f\151\144\x20\x3d\40\47" . (int) $Zu00a . "\x27");
        goto xOe3v;
        CqtQ9:
        $hYkcD = isset($this->request->get["\x73\164\157\162\x65"]) ? (int) $this->request->get["\163\164\157\x72\145"] : 0;
        goto oOQUO;
        u3lHk:
        p2952:
        goto edhAl;
        UmmDI:
        XuhQC:
        goto M1H0a;
        zj4Wf:
        d5Q24:
        goto LJWwI;
        SXFRs:
        H2ac3:
        goto xlgfh;
        oOQUO:
        $R7oWZ = $_GET["\161\165\x65\x72\x79"];
        goto OOJi5;
        PLDES:
    }

Function Calls

None

Variables

None

Stats

MD5 03877660635faa01ae061e1d16b59162
Eval Count 0
Decode Time 50 ms