Важно Декодировать IonCube

  • Автор темы Автор темы killoff
  • Дата начала Дата начала
Важно
Добрый день, а кто-то может декодировать несколько строк кода js ?

Например кусок кода
JavaScript:
function GoTo(e){window.open(e.replace("_","http://"))}function base64_decode(e){if("undefined"==typeof window)return new Buffer(e,"base64").toString("utf-8");if(void 0!==window.atob)return decodeURIComponent(escape(window.atob(e)));var t,a,n,s,o,i,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l=0,d=0,u="",c=[];if(!e)return e;for(e+="";t=(i=r.indexOf(e.charAt(l++))<<18|r.indexOf(e.charAt(l++))<<12|(s=r.indexOf(e.charAt(l++)))<<6|(o=r.indexOf(e.charAt(l++))))>>16&255,a=i>>8&255,n=255&i,c[d++]=64===s?String.fromCharCode(t):64===o?String.fromCharCode(t,a):String.fromCharCode(t,a,n),l<e.length;);return u=c.join(""),decodeURIComponent(escape(u.replace(/\0+$/,"")))}function createCookie(e,t,a){var n;if(a){var s=new Date;s.setTime(s.getTime()+24*a*60*60*1e3),n="; expires="+s.toGMTString()}else n="";document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+n+"; path=/"}function readCookie(e){for(var t=encodeURIComponent(e)+"=",a=document.cookie.split(";"),n=0;n<a.length;n++){for(var s=a[n];" "===s.charAt(0);)s=s.substring(1,s.length);if(0===s.indexOf(t))return decodeURIComponent(s.substring(t.length,s.length))}return null}function eraseCookie(e){createCookie(e,"",-1)}jQuery(function(e){console.log(123),e("table").after('<div class="interview animated"><span class="question animated active">Вам звонили с номера?</span>
 
Добрый день, а кто-то может декодировать несколько строк кода js ?

Например кусок кода
JavaScript:
function GoTo(e){window.open(e.replace("_","http://"))}function base64_decode(e){if("undefined"==typeof window)return new Buffer(e,"base64").toString("utf-8");if(void 0!==window.atob)return decodeURIComponent(escape(window.atob(e)));var t,a,n,s,o,i,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l=0,d=0,u="",c=[];if(!e)return e;for(e+="";t=(i=r.indexOf(e.charAt(l++))<<18|r.indexOf(e.charAt(l++))<<12|(s=r.indexOf(e.charAt(l++)))<<6|(o=r.indexOf(e.charAt(l++))))>>16&255,a=i>>8&255,n=255&i,c[d++]=64===s?String.fromCharCode(t):64===o?String.fromCharCode(t,a):String.fromCharCode(t,a,n),l<e.length;);return u=c.join(""),decodeURIComponent(escape(u.replace(/\0+$/,"")))}function createCookie(e,t,a){var n;if(a){var s=new Date;s.setTime(s.getTime()+24*a*60*60*1e3),n="; expires="+s.toGMTString()}else n="";document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+n+"; path=/"}function readCookie(e){for(var t=encodeURIComponent(e)+"=",a=document.cookie.split(";"),n=0;n<a.length;n++){for(var s=a[n];" "===s.charAt(0);)s=s.substring(1,s.length);if(0===s.indexOf(t))return decodeURIComponent(s.substring(t.length,s.length))}return null}function eraseCookie(e){createCookie(e,"",-1)}jQuery(function(e){console.log(123),e("table").after('<div class="interview animated"><span class="question animated active">Вам звонили с номера?</span>
Этот код не зашифрован, а просто сжат
JavaScript:
function GoTo(e) {
        window.open(e.replace("_", "http://"))
}
function base64_decode(e) {
        if ("undefined" == typeof window) return new Buffer(e, "base64").toString("utf-8");
        if (void 0 !== window.atob) return decodeURIComponent(escape(window.atob(e)));
        var t, a, n, s, o, i, r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
                l = 0,
                d = 0,
                u = "",
                c = [];
        if (!e) return e;
        for (e += ""; t = (i = r.indexOf(e.charAt(l++)) << 18 | r.indexOf(e.charAt(l++)) << 12 | (s = r.indexOf(e.charAt(l++))) << 6 | (o = r.indexOf(e.charAt(l++)))) >> 16 & 255, a = i >> 8 & 255, n = 255 & i, c[d++] = 64 === s ? String.fromCharCode(t) : 64 === o ? String.fromCharCode(t, a) : String.fromCharCode(t, a, n), l < e.length;);
        return u = c.join(""),
        decodeURIComponent(escape(u.replace(/\0+$/, "")))
}
function createCookie(e, t, a) {
        var n;
        if (a) {
                var s = new Date;
                s.setTime(s.getTime() + 24 * a * 60 * 60 * 1e3),
                n = "; expires=" + s.toGMTString()
        } else n = "";
        document.cookie = encodeURIComponent(e) + "=" + encodeURIComponent(t) + n + "; path=/"
}
function readCookie(e) {
        for (var t = encodeURIComponent(e) + "=", a = document.cookie.split(";"), n = 0; n < a.length; n++) {
                for (var s = a[n];
                " " === s.charAt(0);) s = s.substring(1, s.length);
                if (0 === s.indexOf(t)) return decodeURIComponent(s.substring(t.length, s.length))
        }
        return null
}
function eraseCookie(e) {
        createCookie(e, "", -1)
}
jQuery(function (e) {
        console.log(123),
        e("table").after('<div class="interview animated"><span class="question animated active">Вам звонили с номера?</span>
 
Этот код не зашифрован, а просто сжат
JavaScript:
function GoTo(e) {
        window.open(e.replace("_", "http://"))
}
function base64_decode(e) {
        if ("undefined" == typeof window) return new Buffer(e, "base64").toString("utf-8");
        if (void 0 !== window.atob) return decodeURIComponent(escape(window.atob(e)));
        var t, a, n, s, o, i, r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
                l = 0,
                d = 0,
                u = "",
                c = [];
        if (!e) return e;
        for (e += ""; t = (i = r.indexOf(e.charAt(l++)) << 18 | r.indexOf(e.charAt(l++)) << 12 | (s = r.indexOf(e.charAt(l++))) << 6 | (o = r.indexOf(e.charAt(l++)))) >> 16 & 255, a = i >> 8 & 255, n = 255 & i, c[d++] = 64 === s ? String.fromCharCode(t) : 64 === o ? String.fromCharCode(t, a) : String.fromCharCode(t, a, n), l < e.length;);
        return u = c.join(""),
        decodeURIComponent(escape(u.replace(/\0+$/, "")))
}
function createCookie(e, t, a) {
        var n;
        if (a) {
                var s = new Date;
                s.setTime(s.getTime() + 24 * a * 60 * 60 * 1e3),
                n = "; expires=" + s.toGMTString()
        } else n = "";
        document.cookie = encodeURIComponent(e) + "=" + encodeURIComponent(t) + n + "; path=/"
}
function readCookie(e) {
        for (var t = encodeURIComponent(e) + "=", a = document.cookie.split(";"), n = 0; n < a.length; n++) {
                for (var s = a[n];
                " " === s.charAt(0);) s = s.substring(1, s.length);
                if (0 === s.indexOf(t)) return decodeURIComponent(s.substring(t.length, s.length))
        }
        return null
}
function eraseCookie(e) {
        createCookie(e, "", -1)
}
jQuery(function (e) {
        console.log(123),
        e("table").after('<div class="interview animated"><span class="question animated active">Вам звонили с номера?</span>
Я имею ввиду про этот кусок к примеру

Код:
function base64_decode(e) {
        if ("undefined" == typeof window) return new Buffer(e, "base64").toString("utf-8");
        if (void 0 !== window.atob) return decodeURIComponent(escape(window.atob(e)));
        var t, a, n, s, o, i, r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
                l = 0,
                d = 0,
                u = "",
                c = [];
        if (!e) return e;
        for (e += ""; t = (i = r.indexOf(e.charAt(l++)) << 18 | r.indexOf(e.charAt(l++)) << 12 | (s = r.indexOf(e.charAt(l++))) << 6 | (o = r.indexOf(e.charAt(l++)))) >> 16 & 255, a = i >> 8 & 255, n = 255 & i, c[d++] = 64 === s ? String.fromCharCode(t) : 64 === o ? String.fromCharCode(t, a) : String.fromCharCode(t, a, n), l < e.length;);
        return u = c.join(""),
        decodeURIComponent(escape(u.replace(/\0+$/, "")))
}
 
Добрый день, а кто-то может декодировать несколько строк кода js ?

Например кусок кода
Выложи полный код. Это без куска кода, который обрывается.
JavaScript:
function GoTo(v) {
  window.open(v.replace("_", "http://"));
}
function base64_decode(data) {
  if ("undefined" == typeof window) {
    return (new Buffer(data, "base64")).toString("utf-8");
  }
  if (void 0 !== window.atob) {
    return decodeURIComponent(escape(window.atob(data)));
  }
  var b;
  var type;
  var length;
  var Path;
  var undefined;
  var keepmask;
  var related_node_ids = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
  var i = 0;
  var xp = 0;
  var u = "";
  var c = [];
  if (!data) {
    return data;
  }
  data = data + "";
  for (; b = (keepmask = related_node_ids.indexOf(data.charAt(i++)) << 18 | related_node_ids.indexOf(data.charAt(i++)) << 12 | (Path = related_node_ids.indexOf(data.charAt(i++))) << 6 | (undefined = related_node_ids.indexOf(data.charAt(i++)))) >> 16 & 255, type = keepmask >> 8 & 255, length = 255 & keepmask, c[xp++] = 64 === Path ? String.fromCharCode(b) : 64 === undefined ? String.fromCharCode(b, type) : String.fromCharCode(b, type, length), i < data.length;) {
  }
  return u = c.join(""), decodeURIComponent(escape(u.replace(/\0+$/, "")));
}
function createCookie(name, value, days) {
  var resizewidth;
  if (days) {
    var dateExpires = new Date;
    dateExpires.setTime(dateExpires.getTime() + 24 * days * 60 * 60 * 1e3);
    resizewidth = "; expires=" + dateExpires.toGMTString();
  } else {
    resizewidth = "";
  }
  document.cookie = encodeURIComponent(name) + "=" + encodeURIComponent(value) + resizewidth + "; path=/";
}
function readCookie(name) {
  var prefix = encodeURIComponent(name) + "=";
  var attpath = document.cookie.split(";");
  var i = 0;
  for (; i < attpath.length; i++) {
    var s = attpath[i];
    for (; " " === s.charAt(0);) {
      s = s.substring(1, s.length);
    }
    if (0 === s.indexOf(prefix)) {
      return decodeURIComponent(s.substring(prefix.length, s.length));
    }
  }
  return null;
}
function eraseCookie(name) {
  createCookie(name, "", -1);
}
;
 
Выложи полный код. Это без куска кода, который обрывается.
JavaScript:
function GoTo(v) {
  window.open(v.replace("_", "http://"));
}
function base64_decode(data) {
  if ("undefined" == typeof window) {
    return (new Buffer(data, "base64")).toString("utf-8");
  }
  if (void 0 !== window.atob) {
    return decodeURIComponent(escape(window.atob(data)));
  }
  var b;
  var type;
  var length;
  var Path;
  var undefined;
  var keepmask;
  var related_node_ids = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
  var i = 0;
  var xp = 0;
  var u = "";
  var c = [];
  if (!data) {
    return data;
  }
  data = data + "";
  for (; b = (keepmask = related_node_ids.indexOf(data.charAt(i++)) << 18 | related_node_ids.indexOf(data.charAt(i++)) << 12 | (Path = related_node_ids.indexOf(data.charAt(i++))) << 6 | (undefined = related_node_ids.indexOf(data.charAt(i++)))) >> 16 & 255, type = keepmask >> 8 & 255, length = 255 & keepmask, c[xp++] = 64 === Path ? String.fromCharCode(b) : 64 === undefined ? String.fromCharCode(b, type) : String.fromCharCode(b, type, length), i < data.length;) {
  }
  return u = c.join(""), decodeURIComponent(escape(u.replace(/\0+$/, "")));
}
function createCookie(name, value, days) {
  var resizewidth;
  if (days) {
    var dateExpires = new Date;
    dateExpires.setTime(dateExpires.getTime() + 24 * days * 60 * 60 * 1e3);
    resizewidth = "; expires=" + dateExpires.toGMTString();
  } else {
    resizewidth = "";
  }
  document.cookie = encodeURIComponent(name) + "=" + encodeURIComponent(value) + resizewidth + "; path=/";
}
function readCookie(name) {
  var prefix = encodeURIComponent(name) + "=";
  var attpath = document.cookie.split(";");
  var i = 0;
  for (; i < attpath.length; i++) {
    var s = attpath[i];
    for (; " " === s.charAt(0);) {
      s = s.substring(1, s.length);
    }
    if (0 === s.indexOf(prefix)) {
      return decodeURIComponent(s.substring(prefix.length, s.length));
    }
  }
  return null;
}
function eraseCookie(name) {
  createCookie(name, "", -1);
}
;
Код:
function GoTo(e){window.open(e.replace("_","http://"))}function base64_decode(e){if("undefined"==typeof window)return new Buffer(e,"base64").toString("utf-8");if(void 0!==window.atob)return decodeURIComponent(escape(window.atob(e)));var t,a,n,s,o,i,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l=0,d=0,u="",c=[];if(!e)return e;for(e+="";t=(i=r.indexOf(e.charAt(l++))<<18|r.indexOf(e.charAt(l++))<<12|(s=r.indexOf(e.charAt(l++)))<<6|(o=r.indexOf(e.charAt(l++))))>>16&255,a=i>>8&255,n=255&i,c[d++]=64===s?String.fromCharCode(t):64===o?String.fromCharCode(t,a):String.fromCharCode(t,a,n),l<e.length;);return u=c.join(""),decodeURIComponent(escape(u.replace(/\0+$/,"")))}function createCookie(e,t,a){var n;if(a){var s=new Date;s.setTime(s.getTime()+24*a*60*60*1e3),n="; expires="+s.toGMTString()}else n="";document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+n+"; path=/"}function readCookie(e){for(var t=encodeURIComponent(e)+"=",a=document.cookie.split(";"),n=0;n<a.length;n++){for(var s=a[n];" "===s.charAt(0);)s=s.substring(1,s.length);if(0===s.indexOf(t))return decodeURIComponent(s.substring(t.length,s.length))}return null}function eraseCookie(e){createCookie(e,"",-1)}jQuery(function(e){console.log(123),e("table").after('<div class="interview animated"><span class="question animated active">Вам звонили с номера?</span><div class="in animated"><span data-id="1" data-step="1">Да</span><span data-id="2" data-step="1">Нет</span></div></div>'),e("body").on("click",".interview .in span",function(){var t=e(this).data("id"),a=e(this).data("step");4==a?ym(57181168,"reachGoal","step3"):ym(57181168,"reachGoal","step"+a),e(".interview .question").fadeOut(500),jQuery.ajax({type:"POST",url:"/js/interview.php?id="+t+"&step="+a}).done(function(t){e(".interview .question").fadeIn(500);var a=JSON.parse(t);if(e(".interview .question").html(a.question),e(".interview .in").html(""),e.each(a.btn,function(t,a){e(".interview .in").append(a)}),a.item&&(e(".form-control [value='"+a.item+"']").attr("selected","selected"),e(".form-control [value='"+a.item+"']").prop("selected",!0)),a.goto){e(".interview").remove(),e("#commentform").before('<div class="interview"><span class="question active">'+a.question+"</span></div>");e("html, body").animate({scrollTop:e("#rew").offset().top-0},1e3)}})})}),jQuery(function(e){"use strict";if(e(document).on("click",".js-table-of-contents-hide",function(){var t=e(this).parents(".table-of-contents");t.toggleClass("open"),t.hasClass("open")?(eraseCookie("wpshop_toc_hide"),e(".js-table-of-contents-list").slideDown()):(createCookie("wpshop_toc_hide","hide"),e(".js-table-of-contents-list").slideUp())}),e(document).on("click",'.table-of-contents a[href*="#"]',function(t){e("html,body").stop().animate({scrollTop:e(this.hash).offset().top-100},500),t.preventDefault()}),e(".entry-content table").wrap(e("<div class='table-responsive' />")),e(".js-social-link").click(function(){var e=jQuery(this).data("uri");window.open(e,"_blank")}),e("body").hasClass("single-paged")){var t=e("#main").offset().top;e("html,body").animate({scrollTop:t},800)}var a=e(".mob-hamburger"),n=e("#site-navigation"),s=e("#header_menu"),o=e("#top_menu"),i=e(".widget-mobile-menu ul"),r=o.clone(),l=i.clone();r.find("li").addClass("only-hamburger"),l.find("li").addClass("only-hamburger"),a.on("click",function(){a.toggleClass("active"),n.slideToggle()}),"undefined"!=typeof top_menu_mobile_position&&"bottom"==top_menu_mobile_position?s.append(r.html()):s.prepend(r.html()),s.append(l.html()),"undefined"!=typeof fixed_main_menu&&"yes"==fixed_main_menu&&(e("#site-navigation").clone().attr("id","").addClass("site-navigation-fixed").appendTo("body"),e(window).scroll(function(){e(this).scrollTop()>e(".site-header").outerHeight()&&974<e(window).width()?(e(".site-navigation-fixed").show(),e(".site-navigation-fixed").css("width",e("#site-navigation").outerWidth()),e(".site-navigation-fixed").css("left",e("#site-navigation").offset().left)):e(".site-navigation-fixed").hide()}),e(window).resize(function(){e(".site-navigation-fixed").is(":visible")&&(e(".site-navigation-fixed").css("width",e("#site-navigation").outerWidth()),e(".site-navigation-fixed").css("left",e("#site-navigation").offset().left))})),jQuery(document).on("click",".js-link",function(e){var t=jQuery(this).data("href");if("http"!=t.substring(0,4)){var a=base64_decode(t);"http"==a.substring(0,4)&&(t=a)}var n="self";"blank"!=jQuery(this).data("target")&&"_blank"!=jQuery(this).data("target")&&"blank"!=jQuery(this).attr("target")&&"_blank"!=jQuery(this).attr("target")||(n="blank"),"blank"==n?window.open(t):document.location.href=t});var d,u=e(window).width(),c=e(".js-scrolltop");function m(){jQuery(".top-menu .menu-item .sub-menu, .main-navigation .menu-item .sub-menu, .sidebar-navigation .menu-item .sub-menu").slideUp(200)}c.click(function(){return e("body,html").animate({scrollTop:0},500)}),e(window).scroll(function(){100<e(this).scrollTop()?u<991?"on"==c.data("mob")&&c.fadeIn():c.fadeIn():c.fadeOut()}),991<u&&(jQuery(".top-menu .menu-item a, .top-menu .menu-item .removed-link, .main-navigation .menu-item a, .main-navigation .menu-item .removed-link").on("mouseenter",function(){jQuery(this).parent().parent().find(".sub-menu:visible").hide(),jQuery(this).parent().find(".sub-menu:first").show(),clearTimeout(d)}),jQuery(".top-menu, .main-navigation").on({mouseenter:function(){clearTimeout(d)},mouseleave:function(){d=setTimeout(m,400)}})),u<=991&&(e("#site-navigation").on("click",".menu-item-has-children",function(t){"A"!=t.target.nodeName&&"a"!=t.target.nodeName&&(t.stopPropagation(),e(this).toggleClass("open"),e(this).find(".sub-menu:first").slideToggle())}),e("#footer_menu").on("click",".menu-item-has-children",function(t){"A"!=t.target.nodeName&&"a"!=t.target.nodeName&&(t.stopPropagation(),e(this).toggleClass("open"),e(this).find(".sub-menu:first").slideToggle())})),e(".sidebar-navigation").on("click",".menu-item-has-children",function(t){"A"!=t.target.nodeName&&"a"!=t.target.nodeName&&(t.stopPropagation(),e(this).toggleClass("open"),e(this).find(".sub-menu:first").slideToggle())}),e(".ps-link").click(function(){var t=base64_decode(e(this).data("uri"));window.open(t)}),e(document).on("click",".js-star-rating-item",function(){var t=e(this),a=t.parent(),n=t.data("score"),s=a.data("post-id"),o=a.data("rating-count"),i=a.data("rating-sum"),r=a.data("rating-value");if(!a.hasClass("disabled")){a.addClass("disabled process");var l={action:"wpshop_star_rating_submit",nonce:wps_ajax.nonce,post_id:s,score:n,rating_count:o,rating_sum:i,rating_value:r};jQuery.post(wps_ajax.url,l,function(s){if(s.success){var l;r=((i+=n)/++o).toFixed(2);var d=e("html").attr("lang");"en-US"==d&&(l="assessment"),"ru-RU"==d&&(l=["оценка","оценки","оценок"][4<(u=o)%100&&u%100<20?2:[2,0,1,1,1,2][u%10<5?u%10:5]]),t.parent().parent().find(".star-rating-text").html("<em>( <strong>"+o+"</strong> "+l+", "+settings_array.rating_text_average+" <strong>"+r+"</strong> "+settings_array.rating_text_from+" <strong>5</strong> )</em></div>")}else s.data,console.log(s);var u;a.removeClass("process")})}}),e(".js-star-rating-item").on({mouseenter:function(){e(this).parent().hasClass("disabled")||(e(this).parent().addClass("hover"),e(this).addClass("hover").prevAll().addClass("hover"))},mouseleave:function(){e(this).parent().hasClass("disabled")||(e(this).parent().removeClass("hover"),e(".js-star-rating-item").removeClass("hover"))}}),e(".js-share-link").click(function(){var t,a,n,s;e(this).hasClass("js-share-link-no-window")?window.location.href=e(this).data("uri"):(t=e(this).data("uri"),n=(screen.height-436)/2,s=(screen.width-626)/2,n<0&&(n=0),s<0&&(s=0),a="top="+n+",left="+s,a+=",height=436,width=626,resizable=no",open(t,"displayWindow",a))}),e(".js-spoiler-box-title").click(function(){e(this).toggleClass("active").next().slideToggle()}),e(".js-comment-smiles img").click(function(){var t=e(this);e("#comment").val(e("#comment").val()+" "+t.prop("alt"))}).on("dragstart",function(e){e.preventDefault()}),jQuery(".stars span").each(function(e){var t=jQuery(this).data("rate");jQuery(this).html(t)}),jQuery(".stars span").mouseover(function(){jQuery(".stars").removeClass("star1"),jQuery(".stars").removeClass("star2"),jQuery(".stars").removeClass("star3"),jQuery(".stars").removeClass("star4"),jQuery(".stars").removeClass("star5");var e=jQuery(this).data("rate");jQuery(".stars").addClass("star"+e)}).mouseout(function(){var e=jQuery(".stars").find("span.active").data("rate");jQuery(".stars").removeClass("star1"),jQuery(".stars").removeClass("star2"),jQuery(".stars").removeClass("star3"),jQuery(".stars").removeClass("star4"),jQuery(".stars").removeClass("star5"),jQuery(".stars").addClass("star"+e)}),jQuery(".stars span").on("click",function(){jQuery(".stars").removeClass("star1"),jQuery(".stars").removeClass("star2"),jQuery(".stars").removeClass("star3"),jQuery(".stars").removeClass("star4"),jQuery(".stars").removeClass("star5"),jQuery(".stars span").removeClass("active"),jQuery(this).addClass("active");var e=jQuery(this).data("rate");jQuery(".stars").addClass("star"+e),jQuery('input[name="rate"]').val(e)}),jQuery(function(){jQuery("#commentform").submit(function(e){if(!jQuery("#commentform").hasClass("blockajax")){jQuery("#commentform").addClass("blockajax");var t=jQuery(this);jQuery.ajax({type:t.attr("method"),url:t.attr("action"),data:t.serialize()}).done(function(e){jQuery("#commentform p").removeClass("error"),jQuery(".comment-notes-after").html(),jQuery(".comment-notes-after").removeClass("err");var t=e.split("|"),a=t[0],n=t[1],s=t[2];"ok"==a?(jQuery("#commentform")[0].reset(),jQuery(".comment-notes-after").addClass("good"),jQuery(".comment-notes-after").html(n),jQuery("#commentform").removeClass("blockajax")):(s.split(",").forEach(function(e,t,a){jQuery("#commentform .for_"+e).addClass("error")}),jQuery("#commentform").removeClass("blockajax"),jQuery(".comment-notes-after").addClass("err"),jQuery(".comment-notes-after").html(n))})}e.preventDefault()})}),jQuery(function(){jQuery("#feedbackform").submit(function(e){var t=jQuery(this);jQuery.ajax({type:t.attr("method"),url:t.attr("action"),data:t.serialize()}).done(function(e){jQuery("#feedbackform p").removeClass("error"),jQuery(".comment-notes-after").html(),jQuery(".comment-notes-after").removeClass("err");var t=e.split("|"),a=t[0],n=t[1],s=t[2];"ok"==a?(jQuery("#feedbackform")[0].reset(),jQuery(".comment-notes-after").addClass("good"),jQuery(".comment-notes-after").html(n)):(s.split(",").forEach(function(e,t,a){jQuery("#feedbackform .for_"+e).addClass("error")}),jQuery(".comment-notes-after").addClass("err"),jQuery(".comment-notes-after").html(n))}),e.preventDefault()})});var f=jQuery("#content").data("phone");if(console.log(f),window.google_render_ad,navigator.userAgent.toLowerCase().indexOf("android")>-1){var p=jQuery("#content").data("app");if(1==p||2==p){jQuery("aside").append('<div id="wpshop_articles-5" class="widget widget_wpshop_articles appwidget stick"><div class="andoid_content minimal line"><a href="https://play.google.com/store/apps/details?id=com.who.call&utm_content=stick" target="_blank"><span class="android_text"><span class="app_logo"><img src="/images/applogo.png"></span><span class="big">Остановите спам</span></span><span class="android_img"><img src="/images/phone_call_reverse.png"><span class="abtn"></span></span></a></div></div>');parseInt(window.localStorage.getItem("app_fixed"))}}jQuery("body").on("click",".android_fix a",function(){window.localStorage.setItem("app_fixed",1),jQuery(".android_fix").remove(),jQuery(".site").removeClass("top")}),jQuery("body").on("click",".android_close",function(){jQuery(".android_fix").remove(),jQuery(".site").removeClass("top"),window.localStorage.setItem("app_fixed",1)})});
 
function GoTo(e){window.open(e.replace....
JavaScript:
function GoTo(v) {
  window.open(v.replace("_", "http://"));
}
function base64_decode(data) {
  if ("undefined" == typeof window) {
    return (new Buffer(data, "base64")).toString("utf-8");
  }
  if (void 0 !== window.atob) {
    return decodeURIComponent(escape(window.atob(data)));
  }
  var b;
  var type;
  var length;
  var Path;
  var undefined;
  var keepmask;
  var related_node_ids = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
  var i = 0;
  var xp = 0;
  var u = "";
  var c = [];
  if (!data) {
    return data;
  }
  data = data + "";
  for (; b = (keepmask = related_node_ids.indexOf(data.charAt(i++)) << 18 | related_node_ids.indexOf(data.charAt(i++)) << 12 | (Path = related_node_ids.indexOf(data.charAt(i++))) << 6 | (undefined = related_node_ids.indexOf(data.charAt(i++)))) >> 16 & 255, type = keepmask >> 8 & 255, length = 255 & keepmask, c[xp++] = 64 === Path ? String.fromCharCode(b) : 64 === undefined ? String.fromCharCode(b, type) : String.fromCharCode(b, type, length), i < data.length;) {
  }
  return u = c.join(""), decodeURIComponent(escape(u.replace(/\0+$/, "")));
}
function createCookie(name, value, days) {
  var resizewidth;
  if (days) {
    var dateExpires = new Date;
    dateExpires.setTime(dateExpires.getTime() + 24 * days * 60 * 60 * 1e3);
    resizewidth = "; expires=" + dateExpires.toGMTString();
  } else {
    resizewidth = "";
  }
  document.cookie = encodeURIComponent(name) + "=" + encodeURIComponent(value) + resizewidth + "; path=/";
}
function readCookie(name) {
  var prefix = encodeURIComponent(name) + "=";
  var attpath = document.cookie.split(";");
  var i = 0;
  for (; i < attpath.length; i++) {
    var s = attpath[i];
    for (; " " === s.charAt(0);) {
      s = s.substring(1, s.length);
    }
    if (0 === s.indexOf(prefix)) {
      return decodeURIComponent(s.substring(prefix.length, s.length));
    }
  }
  return null;
}
function eraseCookie(name) {
  createCookie(name, "", -1);
}
jQuery(function($) {
  console.log(123);
  $("table").after('<div class="interview animated"><span class="question animated active">\u0412\u0430\u043c \u0437\u0432\u043e\u043d\u0438\u043b\u0438 \u0441 \u043d\u043e\u043c\u0435\u0440\u0430?</span><div class="in animated"><span data-id="1" data-step="1">\u0414\u0430</span><span data-id="2" data-step="1">\u041d\u0435\u0442</span></div></div>');
  $("body").on("click", ".interview .in span", function() {
    var salesTeam = $(this).data("id");
    var step = $(this).data("step");
    if (4 == step) {
      ym(57181168, "reachGoal", "step3");
    } else {
      ym(57181168, "reachGoal", "step" + step);
    }
    $(".interview .question").fadeOut(500);
    jQuery.ajax({
      type : "POST",
      url : "/js/interview.php?id=" + salesTeam + "&step=" + step
    }).done(function(t) {
      $(".interview .question").fadeIn(500);
      var p = JSON.parse(t);
      if ($(".interview .question").html(p.question), $(".interview .in").html(""), $.each(p.btn, function(canCreateDiscussions, a) {
        $(".interview .in").append(a);
      }), p.item && ($(".form-control [value='" + p.item + "']").attr("selected", "selected"), $(".form-control [value='" + p.item + "']").prop("selected", true)), p.goto) {
        $(".interview").remove();
        $("#commentform").before('<div class="interview"><span class="question active">' + p.question + "</span></div>");
        $("html, body").animate({
          scrollTop : $("#rew").offset().top - 0
        }, 1e3);
      }
    });
  });
}), jQuery(function($) {
  function _cleanTyping() {
    jQuery(".top-menu .menu-item .sub-menu, .main-navigation .menu-item .sub-menu, .sidebar-navigation .menu-item .sub-menu").slideUp(200);
  }
  if ($(document).on("click", ".js-table-of-contents-hide", function() {
    var sortableContainer = $(this).parents(".table-of-contents");
    sortableContainer.toggleClass("open");
    if (sortableContainer.hasClass("open")) {
      eraseCookie("wpshop_toc_hide");
      $(".js-table-of-contents-list").slideDown();
    } else {
      createCookie("wpshop_toc_hide", "hide");
      $(".js-table-of-contents-list").slideUp();
    }
  }), $(document).on("click", '.table-of-contents a[href*="#"]', function(event) {
    $("html,body").stop().animate({
      scrollTop : $(this.hash).offset().top - 100
    }, 500);
    event.preventDefault();
  }), $(".entry-content table").wrap($("<div class='table-responsive' />")), $(".js-social-link").click(function() {
    var newTab = jQuery(this).data("uri");
    window.open(newTab, "_blank");
  }), $("body").hasClass("single-paged")) {
    var destination = $("#main").offset().top;
    $("html,body").animate({
      scrollTop : destination
    }, 800);
  }
  var a = $(".mob-hamburger");
  var container = $("#site-navigation");
  var jLabel = $("#header_menu");
  var cmd_arg_element = $("#top_menu");
  var stubGraphDiv = $(".widget-mobile-menu ul");
  var $testingGlobalParam = cmd_arg_element.clone();
  var jel = stubGraphDiv.clone();
  $testingGlobalParam.find("li").addClass("only-hamburger");
  jel.find("li").addClass("only-hamburger");
  a.on("click", function() {
    a.toggleClass("active");
    container.slideToggle();
  });
  if ("undefined" != typeof top_menu_mobile_position && "bottom" == top_menu_mobile_position) {
    jLabel.append($testingGlobalParam.html());
  } else {
    jLabel.prepend($testingGlobalParam.html());
  }
  jLabel.append(jel.html());
  if ("undefined" != typeof fixed_main_menu && "yes" == fixed_main_menu) {
    $("#site-navigation").clone().attr("id", "").addClass("site-navigation-fixed").appendTo("body");
    $(window).scroll(function() {
      if ($(this).scrollTop() > $(".site-header").outerHeight() && 974 < $(window).width()) {
        $(".site-navigation-fixed").show();
        $(".site-navigation-fixed").css("width", $("#site-navigation").outerWidth());
        $(".site-navigation-fixed").css("left", $("#site-navigation").offset().left);
      } else {
        $(".site-navigation-fixed").hide();
      }
    });
    $(window).resize(function() {
      if ($(".site-navigation-fixed").is(":visible")) {
        $(".site-navigation-fixed").css("width", $("#site-navigation").outerWidth());
        $(".site-navigation-fixed").css("left", $("#site-navigation").offset().left);
      }
    });
  }
  jQuery(document).on("click", ".js-link", function(canCreateDiscussions) {
    var url = jQuery(this).data("href");
    if ("http" != url.substring(0, 4)) {
      var result = base64_decode(url);
      if ("http" == result.substring(0, 4)) {
        url = result;
      }
    }
    var xlsf = "self";
    if (!("blank" != jQuery(this).data("target") && "_blank" != jQuery(this).data("target") && "blank" != jQuery(this).attr("target") && "_blank" != jQuery(this).attr("target"))) {
      xlsf = "blank";
    }
    if ("blank" == xlsf) {
      window.open(url);
    } else {
      document.location.href = url;
    }
  });
  var _takingTooLongTimeout;
  var u = $(window).width();
  var list = $(".js-scrolltop");
  list.click(function() {
    return $("body,html").animate({
      scrollTop : 0
    }, 500);
  });
  $(window).scroll(function() {
    if (100 < $(this).scrollTop()) {
      if (u < 991) {
        if ("on" == list.data("mob")) {
          list.fadeIn();
        }
      } else {
        list.fadeIn();
      }
    } else {
      list.fadeOut();
    }
  });
  if (991 < u) {
    jQuery(".top-menu .menu-item a, .top-menu .menu-item .removed-link, .main-navigation .menu-item a, .main-navigation .menu-item .removed-link").on("mouseenter", function() {
      jQuery(this).parent().parent().find(".sub-menu:visible").hide();
      jQuery(this).parent().find(".sub-menu:first").show();
      clearTimeout(_takingTooLongTimeout);
    });
    jQuery(".top-menu, .main-navigation").on({
      mouseenter : function() {
        clearTimeout(_takingTooLongTimeout);
      },
      mouseleave : function() {
        _takingTooLongTimeout = setTimeout(_cleanTyping, 400);
      }
    });
  }
  if (u <= 991) {
    $("#site-navigation").on("click", ".menu-item-has-children", function(event) {
      if ("A" != event.target.nodeName && "a" != event.target.nodeName) {
        event.stopPropagation();
        $(this).toggleClass("open");
        $(this).find(".sub-menu:first").slideToggle();
      }
    });
    $("#footer_menu").on("click", ".menu-item-has-children", function(event) {
      if ("A" != event.target.nodeName && "a" != event.target.nodeName) {
        event.stopPropagation();
        $(this).toggleClass("open");
        $(this).find(".sub-menu:first").slideToggle();
      }
    });
  }
  $(".sidebar-navigation").on("click", ".menu-item-has-children", function(event) {
    if ("A" != event.target.nodeName && "a" != event.target.nodeName) {
      event.stopPropagation();
      $(this).toggleClass("open");
      $(this).find(".sub-menu:first").slideToggle();
    }
  });
  $(".ps-link").click(function() {
    var result = base64_decode($(this).data("uri"));
    window.open(result);
  });
  $(document).on("click", ".js-star-rating-item", function() {
    var $this = $(this);
    var t = $this.parent();
    var result = $this.data("score");
    var id = t.data("post-id");
    var o = t.data("rating-count");
    var generatedStyles = t.data("rating-sum");
    var r = t.data("rating-value");
    if (!t.hasClass("disabled")) {
      t.addClass("disabled process");
      var data = {
        action : "wpshop_star_rating_submit",
        nonce : wps_ajax.nonce,
        post_id : id,
        score : result,
        rating_count : o,
        rating_sum : generatedStyles,
        rating_value : r
      };
      jQuery.post(wps_ajax.url, data, function(s) {
        if (s.success) {
          var l;
          r = ((generatedStyles = generatedStyles + result) / ++o).toFixed(2);
          var newUserLanguage = $("html").attr("lang");
          if ("en-US" == newUserLanguage) {
            l = "assessment";
          }
          if ("ru-RU" == newUserLanguage) {
            l = ["\u043e\u0446\u0435\u043d\u043a\u0430", "\u043e\u0446\u0435\u043d\u043a\u0438", "\u043e\u0446\u0435\u043d\u043e\u043a"][4 < (o_old = o) % 100 && o_old % 100 < 20 ? 2 : [2, 0, 1, 1, 1, 2][o_old % 10 < 5 ? o_old % 10 : 5]];
          }
          $this.parent().parent().find(".star-rating-text").html("<em>( <strong>" + o + "</strong> " + l + ", " + settings_array.rating_text_average + " <strong>" + r + "</strong> " + settings_array.rating_text_from + " <strong>5</strong> )</em></div>");
        } else {
          s.data;
          console.log(s);
        }
        var o_old;
        t.removeClass("process");
      });
    }
  });
  $(".js-star-rating-item").on({
    mouseenter : function() {
      if (!$(this).parent().hasClass("disabled")) {
        $(this).parent().addClass("hover");
        $(this).addClass("hover").prevAll().addClass("hover");
      }
    },
    mouseleave : function() {
      if (!$(this).parent().hasClass("disabled")) {
        $(this).parent().removeClass("hover");
        $(".js-star-rating-item").removeClass("hover");
      }
    }
  });
  $(".js-share-link").click(function() {
    var item;
    var attributesString;
    var n;
    var mainBlockWidth;
    if ($(this).hasClass("js-share-link-no-window")) {
      window.location.href = $(this).data("uri");
    } else {
      item = $(this).data("uri");
      n = (screen.height - 436) / 2;
      mainBlockWidth = (screen.width - 626) / 2;
      if (n < 0) {
        n = 0;
      }
      if (mainBlockWidth < 0) {
        mainBlockWidth = 0;
      }
      attributesString = "top=" + n + ",left=" + mainBlockWidth;
      attributesString = attributesString + ",height=436,width=626,resizable=no";
      open(item, "displayWindow", attributesString);
    }
  });
  $(".js-spoiler-box-title").click(function() {
    $(this).toggleClass("active").next().slideToggle();
  });
  $(".js-comment-smiles img").click(function() {
    var $link_today = $(this);
    $("#comment").val($("#comment").val() + " " + $link_today.prop("alt"));
  }).on("dragstart", function(event) {
    event.preventDefault();
  });
  jQuery(".stars span").each(function(canCreateDiscussions) {
    var data = jQuery(this).data("rate");
    jQuery(this).html(data);
  });
  jQuery(".stars span").mouseover(function() {
    jQuery(".stars").removeClass("star1");
    jQuery(".stars").removeClass("star2");
    jQuery(".stars").removeClass("star3");
    jQuery(".stars").removeClass("star4");
    jQuery(".stars").removeClass("star5");
    var i = jQuery(this).data("rate");
    jQuery(".stars").addClass("star" + i);
  }).mouseout(function() {
    var i = jQuery(".stars").find("span.active").data("rate");
    jQuery(".stars").removeClass("star1");
    jQuery(".stars").removeClass("star2");
    jQuery(".stars").removeClass("star3");
    jQuery(".stars").removeClass("star4");
    jQuery(".stars").removeClass("star5");
    jQuery(".stars").addClass("star" + i);
  });
  jQuery(".stars span").on("click", function() {
    jQuery(".stars").removeClass("star1");
    jQuery(".stars").removeClass("star2");
    jQuery(".stars").removeClass("star3");
    jQuery(".stars").removeClass("star4");
    jQuery(".stars").removeClass("star5");
    jQuery(".stars span").removeClass("active");
    jQuery(this).addClass("active");
    var id = jQuery(this).data("rate");
    jQuery(".stars").addClass("star" + id);
    jQuery('input[name="rate"]').val(id);
  });
  jQuery(function() {
    jQuery("#commentform").submit(function(event) {
      if (!jQuery("#commentform").hasClass("blockajax")) {
        jQuery("#commentform").addClass("blockajax");
        var t = jQuery(this);
        jQuery.ajax({
          type : t.attr("method"),
          url : t.attr("action"),
          data : t.serialize()
        }).done(function(clusterShardData) {
          jQuery("#commentform p").removeClass("error");
          jQuery(".comment-notes-after").html();
          jQuery(".comment-notes-after").removeClass("err");
          var localStorage = clusterShardData.split("|");
          var randomPlaylistConfigStr = localStorage[0];
          var result = localStorage[1];
          var prevVersion = localStorage[2];
          if ("ok" == randomPlaylistConfigStr) {
            jQuery("#commentform")[0].reset();
            jQuery(".comment-notes-after").addClass("good");
            jQuery(".comment-notes-after").html(result);
            jQuery("#commentform").removeClass("blockajax");
          } else {
            prevVersion.split(",").forEach(function(theAliasId, canCreateDiscussions, a) {
              jQuery("#commentform .for_" + theAliasId).addClass("error");
            });
            jQuery("#commentform").removeClass("blockajax");
            jQuery(".comment-notes-after").addClass("err");
            jQuery(".comment-notes-after").html(result);
          }
        });
      }
      event.preventDefault();
    });
  });
  jQuery(function() {
    jQuery("#feedbackform").submit(function(event) {
      var t = jQuery(this);
      jQuery.ajax({
        type : t.attr("method"),
        url : t.attr("action"),
        data : t.serialize()
      }).done(function(clusterShardData) {
        jQuery("#feedbackform p").removeClass("error");
        jQuery(".comment-notes-after").html();
        jQuery(".comment-notes-after").removeClass("err");
        var localStorage = clusterShardData.split("|");
        var randomPlaylistConfigStr = localStorage[0];
        var result = localStorage[1];
        var prevVersion = localStorage[2];
        if ("ok" == randomPlaylistConfigStr) {
          jQuery("#feedbackform")[0].reset();
          jQuery(".comment-notes-after").addClass("good");
          jQuery(".comment-notes-after").html(result);
        } else {
          prevVersion.split(",").forEach(function(theAliasId, canCreateDiscussions, a) {
            jQuery("#feedbackform .for_" + theAliasId).addClass("error");
          });
          jQuery(".comment-notes-after").addClass("err");
          jQuery(".comment-notes-after").html(result);
        }
      });
      event.preventDefault();
    });
  });
  var data = jQuery("#content").data("phone");
  if (console.log(data), window.google_render_ad, navigator.userAgent.toLowerCase().indexOf("android") > -1) {
    var p = jQuery("#content").data("app");
    if (1 == p || 2 == p) {
      jQuery("aside").append('<div id="wpshop_articles-5" class="widget widget_wpshop_articles appwidget stick"><div class="andoid_content minimal line"><a href="https://play.google.com/store/apps/details?id=com.who.call&utm_content=stick" target="_blank"><span class="android_text"><span class="app_logo"><img src="/images/applogo.png"></span><span class="big">\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u043f\u0430\u043c</span></span><span class="android_img"><img src="/images/phone_call_reverse.png"><span class="abtn"></span></span></a></div></div>');
      parseInt(window.localStorage.getItem("app_fixed"));
    }
  }
  jQuery("body").on("click", ".android_fix a", function() {
    window.localStorage.setItem("app_fixed", 1);
    jQuery(".android_fix").remove();
    jQuery(".site").removeClass("top");
  });
  jQuery("body").on("click", ".android_close", function() {
    jQuery(".android_fix").remove();
    jQuery(".site").removeClass("top");
    window.localStorage.setItem("app_fixed", 1);
  });
});
 
Спасибо. Попадаются такие куски "_obfuscated_....". Как можно расшифровать?
PHP:
$xml_orders_data = $xml->_obfuscated_D094D0BED0BAD183D0BCD0B5D0BDD182_;
Нет, их не расшифровать, это заглушки декодера. Не может расшифровать имя и по этому помечает их _obfuscated_blablabla
 
Назад
Верх