web主題公園版權信息破解:script.js加密文件

很多人會使用web主題公園網站的免費worldpress主題,但它的主題又都被加了版權信息,故意讓人找不到版權信息的修改位置。

你如果去footer.php裏面刪除版權信息(技術支持:web主題公園),網站不能正常運行了且會提示:“請勿刪除版權信息!務必保留頁腳css類.f_bq,方可顯示正常。”

破解方法:

1、找到js目錄下的script.js加密文件

打開script.js文件的內容爲:

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('$(M).K(4(){$("#e").5("6").5("a").5("L").w(\'<C W="U"> N >> </C>\');$("#G 6,#G 6 .7-c 6 ,#e 6,.Q,.P").O("#e .R").S(4(){$(2).5(".7-c,.i,.g").o(8,8).V("l");$(2).5(".7-c,.i,.g").s({T:"1"},J)},4(){$(2).5(".7-c,.i,.g").o(8,8).17("1c")});$(".j").t(4(){f($(2).1b("d")){}v{$(".j").E("d");$(".j").3("點擊播放");$(2).m("d");$(2).3("正在播放");$(".1a .19").3($(2).1d(".1e").3())}});$(".1i a").t(4(){q a=$(2).z("1f");q b=$(a).X().1g-18;$("3,H").s({n:b},11);10 Z});$(u).Y(4(){f($(u).n()>=l){$(".A").m("D")}v{$(".A").E("D")}});f($("#k .9 .h").12==0){$("H").13();$("3").w("<p><a 16=\'15\'y=\\"x://B.F.I.r\\">請勿刪除版權信息!務必保留頁腳14類.9,方可顯示正常。</a></p>")}$("#k .9 .h").3(" | 技術支持:1h主題公園");$("#k .9  .h").z("y","x://B.F.I.r")});',62,81,'||this|html|function|children|li|sub|true|f_bq|||menu|onthis|waper_designer|if|index_next|banquan|index_prve|v_play|footer_bottom_link|200|addClass|scrollTop|stop||var|cn|animate|click|window|else|append|http|href|attr|header_down_out|www|div|header_down_out_fixed|removeClass|themepark|header_pic_menu|body|com|300|ready|span|document|more|not|designer_sweper|nav_poket_widgetss_in|onetitle|hover|opacity|designer_more|fadeIn|class|offset|scroll|false|return|500|length|remove|css|_blank|target|fadeOut|120|vedio_bofang|vedio|hasClass|1000|next|vedio_gos|rel|top|WEB|qhbtn_themepark'.split('|'),0,{}))

2、解密script.js文件

1)在script.js文件開頭添加<script>,結尾添加</script>。
2)替換開頭的eval爲alert,然後保存爲html格式文件
3)用瀏覽器打開保存的html文件,彈窗的內容就是解密後的js文件

wKiom1hkbUDSDFHOAAU0oDmWs4A325.png-wh_50

4)把彈窗的內容複製下來,把內容格式化,刪除版權相關的JS代碼就可以了。

5)用刪除版權信息後的js文件替換原來的script.js文件且去footer.php裏面刪除版權相關內容。OK了。

3、最後,附上修改好的JS文件

$(document).ready(function() {
    $("#waper_designer").children("li").children("a").children("span").append('<div class="designer_more"> more >> </div>');
    $("#header_pic_menu li,#header_pic_menu li .sub-menu li ,#waper_designer li,.nav_poket_widgetss_in,.designer_sweper").not("#waper_designer .onetitle").hover(function() {
        $(this).children(".sub-menu,.index_prve,.index_next").stop(true, true).fadeIn("200");
        $(this).children(".sub-menu,.index_prve,.index_next").animate({ opacity: "1" }, 300)
    }, function() { $(this).children(".sub-menu,.index_prve,.index_next").stop(true, true).fadeOut("1000") });
    $(".v_play").click(function() {
        if ($(this).hasClass("onthis")) {} else {
            $(".v_play").removeClass("onthis");
            $(".v_play").html("點擊播放");
            $(this).addClass("onthis");
            $(this).html("正在播放");
            $(".vedio .vedio_bofang").html($(this).next(".vedio_gos").html())
        }
    });
    $(".qhbtn_themepark a").click(function() {
        var a = $(this).attr("rel");
        var b = $(a).offset().top - 120;
        $("html,body").animate({ scrollTop: b }, 500);
        return false
    });
    $(window).scroll(function() {
        if ($(window).scrollTop() >= 200) { $(".header_down_out").addClass("header_down_out_fixed") } else { $(".header_down_out").removeClass("header_down_out_fixed") }
    });
    
});


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章