Προς το περιεχόμενο

Προτεινόμενες αναρτήσεις

Δημοσ.

Καλημέρα,

 

μπορεί κάποιος να μου πει τι encode είναι το παρακάτω για js αρχείο και πως το κάνω decode;

var _0x215d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x61\x64\x65\x4F\x75\x74","\x5B\x64\x61\x74\x61\x2D\x6C\x6F\x61\x64\x65\x72\x3D\x22\x63\x69\x72\x63\x6C\x65\x2D\x73\x69\x64\x65\x22\x5D","\x73\x6C\x6F\x77","\x64\x65\x6C\x61\x79","\x23\x70\x72\x65\x6C\x6F\x61\x64\x65\x72","\x76\x69\x73\x69\x62\x6C\x65","\x63\x73\x73","\x62\x6F\x64\x79","\x73\x63\x72\x6F\x6C\x6C","\x74\x65\x78\x74","\x73\x77\x69\x6E\x67","\x63\x65\x69\x6C","\x61\x6E\x69\x6D\x61\x74\x65","\x43\x6F\x75\x6E\x74\x65\x72","\x70\x72\x6F\x70","\x65\x61\x63\x68","\x2E\x6E\x75\x6D\x62\x65\x72","\x6C\x6F\x61\x64","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x73\x74\x69\x63\x6B\x79","\x61\x64\x64\x43\x6C\x61\x73\x73","\x68\x65\x61\x64\x65\x72","\x72\x65\x6D\x6F\x76\x65\x43\x6C\x61\x73\x73","\x69\x6E\x69\x74","\x74\x68\x65\x69\x61\x53\x74\x69\x63\x6B\x79\x53\x69\x64\x65\x62\x61\x72","\x23\x73\x69\x64\x65\x62\x61\x72","\x64\x69\x73\x70\x6C\x61\x79","\x62\x6C\x6F\x63\x6B","\x2E\x6D\x6F\x64\x61\x6C\x2D\x64\x69\x61\x6C\x6F\x67","\x66\x69\x6E\x64","\x68\x65\x69\x67\x68\x74","\x6D\x61\x72\x67\x69\x6E\x42\x6F\x74\x74\x6F\x6D","\x6D\x61\x72\x67\x69\x6E\x2D\x74\x6F\x70","\x73\x68\x6F\x77\x2E\x62\x73\x2E\x6D\x6F\x64\x61\x6C","\x6F\x6E","\x2E\x6D\x6F\x64\x61\x6C","\x70\x72\x65\x76\x65\x6E\x74\x44\x65\x66\x61\x75\x6C\x74","\x68\x69\x64\x65","\x6D\x6F\x64\x61\x6C","\x63\x6C\x69\x63\x6B","\x2E\x6D\x6F\x64\x61\x6C\x2D\x70\x6F\x70\x75\x70\x20\x2E\x63\x6C\x6F\x73\x65\x2D\x6C\x69\x6E\x6B","\x72\x65\x73\x69\x7A\x65","\x2E\x6D\x6F\x64\x61\x6C\x3A\x76\x69\x73\x69\x62\x6C\x65","\x2E\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x23\x66\x69\x6C\x74\x65\x72\x73\x5F\x63\x6F\x6C","\x77\x69\x64\x74\x68","\x69\x6E","\x6F\x75\x74","\x74\x6F\x6F\x6C\x74\x69\x70","\x2E\x74\x6F\x6F\x6C\x74\x69\x70\x2D\x31","\x69\x63\x6F\x6E\x5F\x70\x6C\x75\x73\x5F\x61\x6C\x74\x32\x20\x69\x63\x6F\x6E\x5F\x6D\x69\x6E\x75\x73\x5F\x61\x6C\x74\x32","\x74\x6F\x67\x67\x6C\x65\x43\x6C\x61\x73\x73","\x69\x2E\x69\x6E\x64\x69\x63\x61\x74\x6F\x72","\x2E\x70\x61\x6E\x65\x6C\x2D\x68\x65\x61\x64\x69\x6E\x67","\x70\x72\x65\x76","\x74\x61\x72\x67\x65\x74","\x68\x69\x64\x64\x65\x6E\x2E\x62\x73\x2E\x63\x6F\x6C\x6C\x61\x70\x73\x65\x20\x73\x68\x6F\x77\x6E\x2E\x62\x73\x2E\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x2E\x70\x61\x6E\x65\x6C\x2D\x67\x72\x6F\x75\x70","\x61\x63\x74\x69\x76\x65","\x73\x69\x62\x6C\x69\x6E\x67\x73","\x23\x66\x69\x6C\x74\x65\x72\x5F\x62\x75\x74\x74\x6F\x6E\x73\x20\x62\x75\x74\x74\x6F\x6E","\x69\x66\x72\x61\x6D\x65","\x6D\x61\x67\x6E\x69\x66\x69\x63\x50\x6F\x70\x75\x70","\x2E\x76\x69\x64\x65\x6F","\x70\x61\x72\x61\x6C\x6C\x61\x78","\x2E\x70\x61\x72\x61\x6C\x6C\x61\x78\x2D\x77\x69\x6E\x64\x6F\x77","\x61","\x69\x6D\x61\x67\x65","\x2E\x6D\x61\x67\x6E\x69\x66\x69\x63\x2D\x67\x61\x6C\x6C\x65\x72\x79","\x2E\x63\x6D\x6E\x2D\x74\x6F\x67\x67\x6C\x65\x2D\x73\x77\x69\x74\x63\x68","\x71\x75\x65\x72\x79\x53\x65\x6C\x65\x63\x74\x6F\x72\x41\x6C\x6C","\x6C\x65\x6E\x67\x74\x68","\x63\x6F\x6E\x74\x61\x69\x6E\x73","\x63\x6C\x61\x73\x73\x4C\x69\x73\x74","\x72\x65\x6D\x6F\x76\x65","\x61\x64\x64","\x61\x64\x64\x45\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72","\x66\x61\x64\x65\x49\x6E","\x23\x74\x6F\x54\x6F\x70","\x62\x6F\x64\x79\x2C\x68\x74\x6D\x6C","\x6C\x69\x20\x61","\x23\x63\x61\x74\x5F\x6E\x61\x76","\x66\x6C\x69\x70\x49\x6E\x58","\x6F\x77\x6C\x43\x61\x72\x6F\x75\x73\x65\x6C","\x2E\x63\x61\x72\x6F\x75\x73\x65\x6C\x5F\x74\x65\x73\x74\x69\x6D\x6F\x6E\x69\x61\x6C\x73"];$(window)[_0x215d[18]](function(){_0x215d[0];$(_0x215d[2])[_0x215d[1]]();$(_0x215d[5])[_0x215d[4]](350)[_0x215d[1]](_0x215d[3]);$(_0x215d[8])[_0x215d[4]](350)[_0x215d[7]]({"\x6F\x76\x65\x72\x66\x6C\x6F\x77":_0x215d[6]});$(window)[_0x215d[9]]();$(_0x215d[17])[_0x215d[16]](function(){$(this)[_0x215d[15]](_0x215d[14],0)[_0x215d[13]]({Counter:$(this)[_0x215d[10]]()},{duration:2000,easing:_0x215d[11],step:function(_0x656cx1){$(this)[_0x215d[10]](Math[_0x215d[12]](_0x656cx1))}})})});$(window)[_0x215d[9]](function(){_0x215d[0];if($(this)[_0x215d[19]]()> 1){$(_0x215d[22])[_0x215d[21]](_0x215d[20])}else {$(_0x215d[22])[_0x215d[23]](_0x215d[20])}}); new WOW()[_0x215d[24]]();jQuery(_0x215d[26])[_0x215d[25]]({additionalMarginTop:80});jQuery(function(_0x656cx2){_0x215d[0];function _0x656cx3(){_0x656cx2(this)[_0x215d[7]](_0x215d[27],_0x215d[28]);var _0x656cx4=_0x656cx2(this)[_0x215d[30]](_0x215d[29]),_0x656cx5=(_0x656cx2(window)[_0x215d[31]]()- _0x656cx4[_0x215d[31]]())/ 2,_0x656cx6=parseInt(_0x656cx4[_0x215d[7]](_0x215d[32]),10);if(_0x656cx5< _0x656cx6){_0x656cx5= _0x656cx6};_0x656cx4[_0x215d[7]](_0x215d[33],_0x656cx5)}_0x656cx2(_0x215d[36])[_0x215d[35]](_0x215d[34],_0x656cx3);_0x656cx2(_0x215d[41])[_0x215d[40]](function(_0x656cx7){_0x656cx7[_0x215d[37]]();_0x656cx2(_0x215d[36])[_0x215d[39]](_0x215d[38])});_0x656cx2(window)[_0x215d[35]](_0x215d[42],function(){_0x656cx2(_0x215d[43])[_0x215d[16]](_0x656cx3)})});var collapsefilters=$(_0x215d[45])[_0x215d[30]](_0x215d[44]);if($(this)[_0x215d[46]]()< 991){collapsefilters[_0x215d[23]](_0x215d[47]);collapsefilters[_0x215d[21]](_0x215d[48])}else {collapsefilters[_0x215d[23]](_0x215d[48]);collapsefilters[_0x215d[21]](_0x215d[47])};$(_0x215d[50])[_0x215d[49]]({html:true});function toggleChevron(_0x656cxa){_0x215d[0];$(_0x656cxa[_0x215d[56]])[_0x215d[55]](_0x215d[54])[_0x215d[30]](_0x215d[53])[_0x215d[52]](_0x215d[51])}$(_0x215d[58])[_0x215d[35]](_0x215d[57],toggleChevron);$(_0x215d[61])[_0x215d[40]](function(){$(this)[_0x215d[52]](_0x215d[59]);$(this)[_0x215d[60]]()[_0x215d[52]](_0x215d[59],false)});$(function(){_0x215d[0];$(_0x215d[64])[_0x215d[63]]({type:_0x215d[62]});$(_0x215d[66])[_0x215d[65]]({});$(_0x215d[69])[_0x215d[16]](function(){_0x215d[0];$(this)[_0x215d[63]]({delegate:_0x215d[67],type:_0x215d[68],gallery:{enabled:true}})});var _0x656cxb=document[_0x215d[71]](_0x215d[70]);for(var _0x656cxc=_0x656cxb[_0x215d[72]]- 1;_0x656cxc>= 0;_0x656cxc--){var _0x656cxd=_0x656cxb[_0x656cxc];_0x656cxe(_0x656cxd)};function _0x656cxe(_0x656cxd){_0x656cxd[_0x215d[77]](_0x215d[40],function(_0x656cxa){_0x656cxa[_0x215d[37]]();(this[_0x215d[74]][_0x215d[73]](_0x215d[59])=== true)?this[_0x215d[74]][_0x215d[75]](_0x215d[59]):this[_0x215d[74]][_0x215d[76]](_0x215d[59])})}$(window)[_0x215d[9]](function(){if($(this)[_0x215d[19]]()!= 0){$(_0x215d[79])[_0x215d[78]]()}else {$(_0x215d[79])[_0x215d[1]]()}});$(_0x215d[79])[_0x215d[35]](_0x215d[40],function(){$(_0x215d[80])[_0x215d[13]]({scrollTop:0},500)})});var cat_nav=$(_0x215d[82])[_0x215d[30]](_0x215d[81]);cat_nav[_0x215d[35]](_0x215d[40],function(){_0x215d[0];cat_nav[_0x215d[23]](_0x215d[59]);$(this)[_0x215d[21]](_0x215d[59])});$(_0x215d[85])[_0x215d[84]]({items:1,loop:true,autoplay:false,animateIn:_0x215d[83],margin:30,stagePadding:30,smartSpeed:450,responsiveClass:true,responsive:{600:{items:1},1000:{items:1,nav:false}}})
Δημοσ.

Δεν είμαι 100% σίγουρος αλλά πρέπει να είναι char bytes σε utf-8

Κάντα strings

Τα hex μέχρι τη μέση δηλαδή είναι παράμετροι για javascript μάλλον ή jquery

>>> for i in d:
	str(i)

	
'use strict'
'fadeOut'
'[data-loader="circle-side"]'
'slow'
'delay'
'#preloader'
'visible'
'css'
'body'
'scroll'
'text'
'swing'
'ceil'
'animate'
'Counter'
'prop'
'each'
'.number'
'load'
'scrollTop'
'sticky'
'addClass'
'header'
'removeClass'
'init'
'theiaStickySidebar'
'#sidebar'
'display'
'block'
'.modal-dialog'
'find'
'height'
'marginBottom'
'margin-top'
'show.bs.modal'
'on'
'.modal'
'preventDefault'
'hide'
'modal'
'click'
'.modal-popup .close-link'
'resize'
'.modal:visible'
'.collapse'
'#filters_col'
'width'
'in'
'out'
'tooltip'
'.tooltip-1'
'icon_plus_alt2 icon_minus_alt2'
'toggleClass'
'i.indicator'
'.panel-heading'
'prev'
'target'
'hidden.bs.collapse shown.bs.collapse'
'.panel-group'
'active'
'siblings'
'#filter_buttons button'
'iframe'
'magnificPopup'
'.video'
'parallax'
'.parallax-window'
'a'
'image'
'.magnific-gallery'
'.cmn-toggle-switch'
'querySelectorAll'
'length'
'contains'
'classList'
'remove'
'add'
'addEventListener'
'fadeIn'
'#toTop'
'body,html'
'li a'
'#cat_nav'
'flipInX'
'owlCarousel'
'.carousel_testimonials'
>>> 
  • Like 1
  • 1 μήνα μετά...
Δημοσ.

Deobfuscate με χρήση http://jsbeautifier.org/

 

Είναι εμφανές τι functions εξυπηρετεί (preloaders,carousels, top scroller, parallax κτλ)

$(window)['load'](function() {
    'use strict';
    $('[data-loader="circle-side"]')['fadeOut']();
    $('#preloader')['delay'](350)['fadeOut']('slow');
    $('body')['delay'](350)['css']({
        "\x6F\x76\x65\x72\x66\x6C\x6F\x77": 'visible'
    });
    $(window)['scroll']();
    $('.number')['each'](function() {
        $(this)['prop']('Counter', 0)['animate']({
            Counter: $(this)['text']()
        }, {
            duration: 2000,
            easing: 'swing',
            step: function(_0x656cx1) {
                $(this)['text'](Math['ceil'](_0x656cx1))
            }
        })
    })
});
$(window)['scroll'](function() {
    'use strict';
    if ($(this)['scrollTop']() > 1) {
        $('header')['addClass']('sticky')
    } else {
        $('header')['removeClass']('sticky')
    }
});
new WOW()['init']();
jQuery('#sidebar')['theiaStickySidebar']({
    additionalMarginTop: 80
});
jQuery(function(_0x656cx2) {
    'use strict';

    function _0x656cx3() {
        _0x656cx2(this)['css']('display', 'block');
        var _0x656cx4 = _0x656cx2(this)['find']('.modal-dialog'),
            _0x656cx5 = (_0x656cx2(window)['height']() - _0x656cx4['height']()) / 2,
            _0x656cx6 = parseInt(_0x656cx4['css']('marginBottom'), 10);
        if (_0x656cx5 < _0x656cx6) {
            _0x656cx5 = _0x656cx6
        };
        _0x656cx4['css']('margin-top', _0x656cx5)
    }
    _0x656cx2('.modal')['on']('show.bs.modal', _0x656cx3);
    _0x656cx2('.modal-popup .close-link')['click'](function(_0x656cx7) {
        _0x656cx7['preventDefault']();
        _0x656cx2('.modal')['modal']('hide')
    });
    _0x656cx2(window)['on']('resize', function() {
        _0x656cx2('.modal:visible')['each'](_0x656cx3)
    })
});
var collapsefilters = $('#filters_col')['find']('.collapse');
if ($(this)['width']() < 991) {
    collapsefilters['removeClass']('in');
    collapsefilters['addClass']('out')
} else {
    collapsefilters['removeClass']('out');
    collapsefilters['addClass']('in')
};
$('.tooltip-1')['tooltip']({
    html: true
});

function toggleChevron(_0x656cxa) {
    'use strict';
    $(_0x656cxa['target'])['prev']('.panel-heading')['find']('i.indicator')['toggleClass']('icon_plus_alt2 icon_minus_alt2')
}
$('.panel-group')['on']('hidden.bs.collapse shown.bs.collapse', toggleChevron);
$('#filter_buttons button')['click'](function() {
    $(this)['toggleClass']('active');
    $(this)['siblings']()['toggleClass']('active', false)
});
$(function() {
    'use strict';
    $('.video')['magnificPopup']({
        type: 'iframe'
    });
    $('.parallax-window')['parallax']({});
    $('.magnific-gallery')['each'](function() {
        'use strict';
        $(this)['magnificPopup']({
            delegate: 'a',
            type: 'image',
            gallery: {
                enabled: true
            }
        })
    });
    var _0x656cxb = document['querySelectorAll']('.cmn-toggle-switch');
    for (var _0x656cxc = _0x656cxb['length'] - 1; _0x656cxc >= 0; _0x656cxc--) {
        var _0x656cxd = _0x656cxb[_0x656cxc];
        _0x656cxe(_0x656cxd)
    };

    function _0x656cxe(_0x656cxd) {
        _0x656cxd['addEventListener']('click', function(_0x656cxa) {
            _0x656cxa['preventDefault']();
            (this['classList']['contains']('active') === true) ? this['classList']['remove']('active'): this['classList']['add']('active')
        })
    }
    $(window)['scroll'](function() {
        if ($(this)['scrollTop']() != 0) {
            $('#toTop')['fadeIn']()
        } else {
            $('#toTop')['fadeOut']()
        }
    });
    $('#toTop')['on']('click', function() {
        $('body,html')['animate']({
            scrollTop: 0
        }, 500)
    })
});
var cat_nav = $('#cat_nav')['find']('li a');
cat_nav['on']('click', function() {
    'use strict';
    cat_nav['removeClass']('active');
    $(this)['addClass']('active')
});
$('.carousel_testimonials')['owlCarousel']({
    items: 1,
    loop: true,
    autoplay: false,
    animateIn: 'flipInX',
    margin: 30,
    stagePadding: 30,
    smartSpeed: 450,
    responsiveClass: true,
    responsive: {
        600: {
            items: 1
        },
        1000: {
            items: 1,
            nav: false
        }
    }
})
  • Like 1

Δημιουργήστε ένα λογαριασμό ή συνδεθείτε για να σχολιάσετε

Πρέπει να είστε μέλος για να αφήσετε σχόλιο

Δημιουργία λογαριασμού

Εγγραφείτε με νέο λογαριασμό στην κοινότητα μας. Είναι πανεύκολο!

Δημιουργία νέου λογαριασμού

Σύνδεση

Έχετε ήδη λογαριασμό; Συνδεθείτε εδώ.

Συνδεθείτε τώρα
  • Δημιουργία νέου...