web主题公园版权信息 JS加密文件破解方法
- 蒲松林
- 发布时间:
- 2014-02-17 16:42:57
- 所在分类:
- 代码
- 评论数:
- 25条
web主题公园网站的主题会被加版权信息,且文件做了转换让一般使用者无法找到版权信息的修改位置,也许你觉得这东西对SEO不好或者其他的原因想要去掉这个版权信息,那么可以看看这篇文章。
该加密的版权文件一般存放在模板的JS文件夹里面,此次我拿到的是主题加密的版权文件在一个叫Pageaction.js的文件,其他主题或者加密版本的是什么文件名不清楚,不过当你不知道是哪个文件的时候你可以用排除法,一个个去试总会知道的。因为有版本的JS加密文件里面通常会放置网站的一些特效JS代码,所以当你不知道怎么解密时,就会想着将该JS文件删除,这样的话就可能导致一些特效功能无法实现。其他的不多说了以下是对web主题公园版权信息 JS文件加密破解方法,一般情况下原理方法可以通用。
以下是原JS代码内容:
1 |
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}('1 1L(e,d){e=1K(e);1b{1a.1J.1I(e,d)}19(f){1b{1a.1M.1N(d,e,"")}19(f){17("加入收藏失败,请使用1H+D进行添加,或手动在浏览器里进行设置.")}}}1 1R(b){8.1Q?(8.11.1P.1O="1S(#1C#1A)",8.11.1B(b)):17("您好,您的浏览器不支持自动设置页面为首页功能,请您手动在浏览器里设置该页面为首页!")}$(1(){$(".s-Q").h(1(){$(3).g(".s-Q 18").i().o({16:"1f"},G)}),$(".s-Q").M(1(){$(3).g(".s-Q 18").i().o({16:"-1G"},G)}),$("#s").6(1(){$(3).W(".s-1d").A(G)}),$(".1D").6(1(){$(3).1E(".s-1d").A(G)}),$(".y m.t-n").9().L("<K></K>"),$(".y m.n k a").1U(1(){$(3).9().P(".y m.t-n").1n("7").N(),$(3).9().u(1(){},1(){$(3).9().P(".y m.t-n").1l("U")})}).u(1(){$(3).X("O")},1(){$(3).1m("O")}),$(".y #x k").L(\'<I 29="u"></I>\'),$(".y #x k").u(1(){$(3).g("I").i(!0,!0).q("1h")},1(){$(3).g("I").i(!0,!0).j("1h")}).6(1(){$(3).X("27")})}),$(1(){$(8).2a(1(d){2b c=$(8).1g()/2-d.26;$(".v").1o({"25-1X":($(8).1g()-1V)/5+c/1Z-23+"21 1f"}),$(".v").i().o({1e:$("#1i").l()},0),$(".22").i().o({"24-1e":$("#1i").l()+$(".v").l()},0)}),$(".r-F k").h(1(){$(3).g(".r-v").i().o({l:$(".r-F k").l()-20},4)}),$(".r-F k").M(1(){$(3).g(".r-v").i().o({l:"1W"},4)}),$(".r-v").h(1(){$(3).i().o({l:$(".r-F k").l()-20},4)}),$(".15").h(1(){$(3).g("#14").q(4)}),$(".15").M(1(){$(3).g("#14").j(4)}),$(".1v").6(1(){$(3).1x(".1t").q(4),$(3).j(4),$(".1c").q(4)}),$(".1c").6(1(){$(3).9(".1t").j(4),$(3).j(4),$(".1v").q(4)}),$(".1j").h(1(){$(3).g(".1u").q(4)}),$(".1j").M(1(){$(3).g(".1u").j(4)}),$(".2c").6(1(){$(3).1x("#x").q(4)}),$(".2d").6(1(){$(3).9("#x").j(4)}),0==$(".1y a").Z&&$(".1y").1w()}),$(8).R(1(){$("#C").6(1(){$(3).W("#w").j("7")}),$(8).6(1(){$("#w").j("7")}),$(1(){$("#C").h(1(b){b.H(),$("#w").N("7")}),$("#V").h(1(b){b.H(),$("#w").E("7")}),$("#1r-1s").6(1(){$("#w").E("7")}),$("#C").6(1(){$("#w").A("7")})})}),$(8).R(1(){$("#V").6(1(){$(3).W("#B").A("U")}),$(1(){$("#V").h(1(b){b.H(),$("#B").N("7")}),$("#C").h(1(b){b.H(),$("#B").E("7")}),$("#1r-1s").6(1(){$("#B").E("7")}),$("#C").6(1(){$("#B").A("7")})})}),$(8).R&&(0==$(".J .z .13").Z&&$.1Y("10://T.S.Y.12/1k/S.1k"),0==$(".J .z").Z&&($("11").1w(),$("1p").L("<p><a 28=\'1T\'1q=\\"10://T.S.Y.12\\">请勿删除版权信息!务必保留页脚1o类.z,方可显示正常。</a></p>")));$(".J .z .13").1F("1q","10://T.S.Y.12");$(".J .z .13").1p("技术支持:1z主题公园");$(8).R(1(){$("#x m.t-n").9().L("<K></K>");$("#x m.n k a").h(1(){$(3).9().P("m.t-n").1n("7").N();$(3).9().u(1(){},1(){$(3).9().P("m.t-n").1l("U")})}).u(1(){$(3).X("O")},1(){$(3).1m("O")})});',62,138,'|function||this|300||click|fast|document|parent|||||||children|mouseenter|stop|fadeOut|li|height|ul|menu|animate||fadeIn|recom|list|sub|hover|ad|divTop|navigation|header_in|f_bq|slideToggle|divTop2|btnShow||hide|list2|400|stopPropagation|div|foot2|span|append|mouseleave|show|subhover|find|block|ready|themepark|www|slow|btnShow2|next|addClass|com|length|http|body|cn|banquan|post_hover|post|bottom|alert|img|catch|window|try|hh1|up|top|0px|width|1000|header|single_img|js|slideUp|removeClass|slideDown|css|html|href|page|wrap|rightmain|bigpiccc|hh2|remove|prev|sideba_next|web|homepage|setHomePage|default|close|parents|attr|33px|Ctrl|addFavorite|external|encodeURI|AddFavorite|sidebar|addPanel|behavior|style|all|SetHome|url|_blank|mouseover|1437|31px|position|getScript|40||px|pages|100|margin|background|clientX|selected|target|class|mousemove|var|navkg|navkg2'.split('|'),0,{})) |
解密操作:
在开头添加<script>,结尾添加</script>
然后替换开头的eval为alert,然后保存为*.htm
最后打开制作的网页,弹出窗内的内容就是解密后的内容
把Javascript内容格式化一下之后就可以看到全部内容了,想修改哪就修改哪,修改之后再把代码复制粘贴到script.js文件,原来加密的内容就删了不要了。
以下是解密后的内容:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 |
function AddFavorite(e, d) { e = encodeURI(e); try { window.external.addFavorite(e, d) } catch(f) { try { window.sidebar.addPanel(d, e, "") } catch(f) { alert("加入收藏失败,请使用Ctrl+D进行添加,或手动在浏览器里进行设置.") } } } function SetHome(b) { document.all ? (document.body.style.behavior = "url(#default#homepage)", document.body.setHomePage(b)) : alert("您好,您的浏览器不支持自动设置页面为首页功能,请您手动在浏览器里设置该页面为首页!") } $(function() { $(".list-block").mouseenter(function() { $(this).children(".list-block img").stop().animate({ bottom: "0px" }, 400) }), $(".list-block").mouseleave(function() { $(this).children(".list-block img").stop().animate({ bottom: "-33px" }, 400) }), $("#list").click(function() { $(this).next(".list-up").slideToggle(400) }), $(".close").click(function() { $(this).parents(".list-up").slideToggle(400) }), $(".header_in ul.sub-menu").parent().append("<span></span>"), $(".header_in ul.menu li a").mouseover(function() { $(this).parent().find(".header_in ul.sub-menu").slideDown("fast").show(), $(this).parent().hover(function() {}, function() { $(this).parent().find(".header_in ul.sub-menu").slideUp("slow") }) }).hover(function() { $(this).addClass("subhover") }, function() { $(this).removeClass("subhover") }), $(".header_in #navigation li").append('<div class="hover"></div>'), $(".header_in #navigation li").hover(function() { $(this).children("div").stop(!0, !0).fadeIn("1000") }, function() { $(this).children("div").stop(!0, !0).fadeOut("1000") }).click(function() { $(this).addClass("selected") }) }), $(function() { $(document).mousemove(function(d) { var c = $(document).width() / 2 - d.clientX; $(".ad").css({ "background-position": ($(document).width() - 1437) / 5 + c / 40 - 100 + "px 0px" }), $(".ad").stop().animate({ top: $("#header").height() }, 0), $(".pages").stop().animate({ "margin-top": $("#header").height() + $(".ad").height() }, 0) }), $(".recom-list2 li").mouseenter(function() { $(this).children(".recom-ad").stop().animate({ height: $(".recom-list2 li").height() - 20 }, 300) }), $(".recom-list2 li").mouseleave(function() { $(this).children(".recom-ad").stop().animate({ height: "31px" }, 300) }), $(".recom-ad").mouseenter(function() { $(this).stop().animate({ height: $(".recom-list2 li").height() - 20 }, 300) }), $(".post").mouseenter(function() { $(this).children("#post_hover").fadeIn(300) }), $(".post").mouseleave(function() { $(this).children("#post_hover").fadeOut(300) }), $(".hh2").click(function() { $(this).prev(".rightmain").fadeIn(300), $(this).fadeOut(300), $(".hh1").fadeIn(300) }), $(".hh1").click(function() { $(this).parent(".rightmain").fadeOut(300), $(this).fadeOut(300), $(".hh2").fadeIn(300) }), $(".single_img").mouseenter(function() { $(this).children(".bigpiccc").fadeIn(300) }), $(".single_img").mouseleave(function() { $(this).children(".bigpiccc").fadeOut(300) }), $(".navkg").click(function() { $(this).prev("#navigation").fadeIn(300) }), $(".navkg2").click(function() { $(this).parent("#navigation").fadeOut(300) }), 0 == $(".sideba_next a").length && $(".sideba_next").remove() }), $(document).ready(function() { $("#btnShow").click(function() { $(this).next("#divTop").fadeOut("fast") }), $(document).click(function() { $("#divTop").fadeOut("fast") }), $(function() { $("#btnShow").mouseenter(function(b) { b.stopPropagation(), $("#divTop").show("fast") }), $("#btnShow2").mouseenter(function(b) { b.stopPropagation(), $("#divTop").hide("fast") }), $("#page-wrap").click(function() { $("#divTop").hide("fast") }), $("#btnShow").click(function() { $("#divTop").slideToggle("fast") }) }) }), $(document).ready(function() { $("#btnShow2").click(function() { $(this).next("#divTop2").slideToggle("slow") }), $(function() { $("#btnShow2").mouseenter(function(b) { b.stopPropagation(), $("#divTop2").show("fast") }), $("#btnShow").mouseenter(function(b) { b.stopPropagation(), $("#divTop2").hide("fast") }), $("#page-wrap").click(function() { $("#divTop2").hide("fast") }), $("#btnShow").click(function() { $("#divTop2").slideToggle("fast") }) }) }), $(document).ready && (0 == $(".foot2 .f_bq .13").length && $.getScript("http://www.themepark.com.cn/js/themepark.js"), 0 == $(".foot2 .f_bq").length && ($("body").remove(), $("html").append("<p><a target='_blank'href=\"http://www.themepark.com.cn\">请勿删除版权信息!务必保留页脚css类.f_bq,方可显示正常。</a></p>"))); $(".foot2 .f_bq .13").attr("href", "http://www.themepark.com.cn"); $(".foot2 .f_bq .13").html(""); $(document).ready(function() { $("#navigation ul.sub-menu").parent().append("<span></span>"); $("#navigation ul.menu li a").mouseenter(function() { $(this).parent().find("ul.sub-menu").slideDown("fast").show(); $(this).parent().hover(function() {}, function() { $(this).parent().find("ul.sub-menu").slideUp("slow") }) }).hover(function() { $(this).addClass("subhover") }, function() { $(this).removeClass("subhover") }) }); |
最后,需要注意的一点是编码问题,如果出现乱码则可以切换编码试试。Good luck!
你可能感兴趣的文章:
- 暂无相关文章
怎么格式化啊,格式了半天没反应
需要先把前3步做哦
没那么复杂,我刚学的 。把代码贴到http://jsbeautifier.org/ 还原JS后有这样一段:$(document).ready(function() {
$.getScript("http://www.themepark.com.cn/js/themepark.js"
});
http://www.themepark.com.cn/js/themepark.js这个链接就是版权
你没看到我解密后的内容吗?
在么?
web主题公园的 【设计杂志WordPress博客主题】 此办法不行啊
能帮忙看下 WEB主题公园《简洁印象免费版》http://www.v7v3.com/zhuti/b-1178.asp 怎么删除吗?谢谢
怎么把弹窗内容复制下来
一般有个小方法 ,用鼠标点击弹窗页面,然后按快捷键CTRL+C复制,然后粘贴就有了。你可以试试
解密后的内容怎,该删哪些地方呢???
删除掉解密后的提示内容及链接,然后替换掉之前的加密JS就行了
这是加密的代码 用你的方式 如何破解 可以帮忙解决一下吗?(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 ||e(c)}k=[function(e){return d }];e=function(){return’\w+’};c=1};while(c–){if(k ){p=p.replace(new RegExp(‘\b’+e(c)+’\b’,’g’),k )}}return p}(‘(4($){$.1L.1q=4(o){o=$.1K({s:n,t:n,15:n,1b:w,m:n,W:w,x:1W,U:n,D:w,E:X,B:3,u:0,f:1,S:n,14:n},o||{});c 8.1a(4(){r K=w,C=o.D?"19":"A",16=o.D?"y":"F";r q=$(8),9=$("9",q),P=$("b",9),1s=P.1m(),v=o.B;r M=0;5(o.E){9.1U(P.L(1s-v-1+1).1r()).Y(P.L(0,v).1r());o.u+=v}r b=$("b",9),j=b.1m(),7=o.u;q.6("1S","B");b.6({1D:"1k","1P":o.D?"1B":"A"});9.6({1R:"0",1Q:"0",1C:"1F","1T-1V-1O":"1B","z-1I":"1"});q.6({1D:"1k",1C:"1F","z-1I":"2",A:"1M"});r l=o.D?y(b):F(b);r 1d=l*j;r 1j=l*v;b.6({F:b.F(),y:b.y()});9.6(16,1d+"I").6(C,-(7*l));q.6(16,1j+"I");5(o.s){$(o.s).17(4(){c k(7-o.f)})}5(o.t){$(o.t).17(4(){c k(7+o.f)})}5(o.15){$.1a(o.15,4(i,1i){$(1i).17(4(){c k(o.E?o.B+i:i)})})}5(o.1b&&q.18){q.18(4(e,d){c d>0?k(7-o.f):k(7+o.f)})}5(o.m){M=1h(4(){k(7+o.f)},o.m+o.x)}5(o.W){$(8).R(4(){5(o.m){1N(M)}});$(8).V(4(){5(o.m){M=1h(4(){k(7+o.f)},o.m+o.x)}})}4 11(){c b.L(7).L(0,v)}4 k(h){5(!K){5(o.S){o.S.1c(8,11())}5(o.E){5(h<=o.u-v-1){9.6(C,-((j-v*2)*l)+"I");7=h==o.u-v-1?j-v*2-1:j-v*2-o.f}N{5(h>=j-v+1){9.6(C,-(v*l)+"I");7=h==j-v+1?v+1:v+o.f}N{7=h}}}N{5(h<0||h>j-v){c}N{7=h}}K=X;9.2k(C=="A"?{A:-(7*l)}:{19:-(7*l)},o.x,o.U,4(){5(o.14){o.14.1c(8,11())}K=w});5(!o.E){$(o.s+","+o.t).1E("1e");$(7-o.f<0&&o.s||7+o.f>j-v&&o.t||[]).1H("1e")}}c w}})};4 6(g,1f){c 2j($.6(g[0],1f))||0}4 F(g){c g[0].2m+6(g,"2i")+6(g,"2g")}4 y(g){c g[0].1X+6(g,"2h")+6(g,"2l")}})(2n);$(4(){$("#G").1q({t:"#G .2q",s:"#G .2p",B:1,u:0,m:2o,x:2e,W:X,U:"2f"})});$(23).24(4(){$("9.10-J").H().Y("<T></T>");$("9.J b T").22(4(){$(8).H().1G("9.10-J").21(’1Y’).1Z();$(8).H().1J(4(){},4(){$(8).H().1G("9.10-J").20(’25′)})}).1J(4(){$(8).1H("1z")},4(){$(8).1E("1z")});$(".1p ").1A().R(4(){$(8).O(".1o").1n(Z)});$(".1p").1A().V(4(){$(8).O(".1o").1l(Z)});$("#G").R(4(){$(8).O("a").1n(26)});$("#G").V(4(){$(8).O("a").1l(Z)});5($(".12 .Q .13").2c==0){$("2d").2b();$("1x").Y("<p><a 2a=’27’1y=\"1w://1v.1t.1u.1g\">请勿删除版权信息!务必保留页脚6类.Q,方可显示正常。</a></p>")}$(".12 .Q .13").1x("技术支持:28主题公园");$(".12 .Q .13").29("1y","1w://1v.1t.1u.1g")});’,62,151,’||||function|if|css|curr|this|ul||li|return|||scroll|el|to||itemLength|go|liSize|auto|null|||div|var|btnPrev|btnNext|start||false|speed|height||left|visible|animCss|vertical|circular|width|box|parent|px|menu|running|slice|TimeID|else|children|tLi|f_bq|mouseenter|beforeStart|span|easing|mouseleave|onMouse|true|append|500|sub|vis|f2_1|banquan|afterEnd|btnGo|sizeCss|click|mousewheel|top|each|mouseWheel|call|ulSize|disabled|prop|cn|setInterval|val|divSize|hidden|fadeOut|size|fadeIn|tu_sidbar_hover|new_tu_img|jCarouselLite|clone|tl|themepark|com|www|http|html|href|subhover|stop|none|position|overflow|removeClass|relative|find|addClass|index|hover|extend|fn|0px|clearInterval|type|float|padding|margin|visibility|list|prepend|style|200|offsetHeight|fast|show|slideUp|slideDown|mouseover|document|ready|slow|300|_blank|WEB|attr|target|remove|length|body|900|easeOutCirc|marginRight|marginTop|marginLeft|parseInt|animate|marginBottom|offsetWidth|jQuery|3000|prve|next’.split(‘|’),0,{}))
发我email吧,你发的代码被转码了
好的
朋友你好!我下载的版本和你的不一样,没有找到你说的文件,也不不懂代码~想请教下,是否可以得到你的帮助?
email在联系的位是不是你?
是的 是我~ 谢谢 小林
解密后出现页头下拉菜单无法正常显示了,悲催了
找找看是什么原因
解密后出现页头下拉菜单无法正常显示了+1111111
请E-mail联系我
您好 我试过了,达不到您说的效果。能帮帮我吗?有偿
学习了
这个主题除了1.0版本 还有一个1.01版本,加密的JS代码在script.js文件里,其他方法按照博主说的一样。解密之后把 {if($(".footer_in .f_bq .banquan").length==0){$("body").remove();$("html").append("<p><a target=’_blank’href="http://www.themepark.com.cn">请勿删除版权信息!务必保留页脚css类.f_bq,方可显示正常。</a></p>")}$(".footer_in .f_bq .banquan").html("技术支持:WEB主题公园");$(".footer_in .f_bq .banquan").attr("href","http://www.themepark.com.cn")} 删除掉,然后另存同名script.js文件覆盖原文件
这个怎么不行啊