標籤:web主題公園
很多人會使用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檔案
650) this.width=650;" src="http://s2.51cto.com/wyfs02/M00/8C/2D/wKiom1hkbUDSDFHOAAU0oDmWs4A325.png-wh_500x0-wm_3-wmp_4-s_2139200538.png" title="0011.png" alt="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") } }); });
本文出自 “牛APP說-移動互連網技術” 部落格,請務必保留此出處http://aapps.blog.51cto.com/12433488/1887156
web主題公園著作權資訊破解:script.js加密檔案