PHP学习_PHP技术_PHP网站建设_PHP程序员专注于PHP技术研究及学习

Adophper » 编程开发 » 记事狗V2.5版版权信息修改方法

记事狗V2.5版版权信息修改方法

此文被围观1915日期: 2012-03-29 分类 : 编程开发  标签:  ·····

记事狗V2.5版已经放出来了,虽然功能有增强了,但是底部版权去除也做了加密。
我们不难发现,原本在记事狗2.0版本中去版权的方法失效了。然而在,记事狗的官方微博中引起了对版权的一场大讨论。。。甚至屏蔽了网友对版权去除的发言。
现在我们从纯技术的角度来分析一下记事狗2.5的版权“原理”。但本文声明,此文只是技术研究,望各位读者自己掂量版权问题。我们的立场是保留版权!!!
第一步:找到modules文件夹里面的master.mod.php文件,在master.mod.php文件中找到如下代码:
$i = $this->Config['s'.'y'.'s'.'_'.'v'.'e'.'r'.'s'.'i'.'o'.'n'];
$j = “303233226″.”211337214″.”x8b206223″.”232302xdd”.”x9cx93232″.”236215305″.”x9d220213″.”x97304213″.”x9ax87x8b”.”322x9ex93″.”226x98x91″.”305234x9a”.”221213x9a”.”215xc4210″.”x96x9bx8b”.”227xc5xc7″.”317317x8f”.”207xc4x92″.”x9e215x98″.”226221xc5″.”xca217x87″.”xdf236x8a”.”213x90304″.”335301xaf”.”220x88232″.”x8d232233″.”337235x86″.”xdf303x9e”.”xdfx97x8d”.”x9a231302″.”335x97213″.”x8bx8f305″.”xd0xd0210″.”x88210xd1″.”265x96214″.”x97x96270″.”x90x8axd1″.”221x9ax8b”.”xd0335301″.”303x8c213″.”x8dx90x91″.”x98xc1xb5″.”x96x8c227″.”x96xb8x90″.”212xc3xd0″.”214x8bx8d”.”220x91x98″.”xc1303320″.”x9exc1″;
$k = “303214x8f”.”x9e221301″.”xdf331x9c”.”x90x8fx86″.”xc4337315″.”xcf317312″.”xdf322xdf”.”315317xce”.”317337xc3″.”x9exdf227″.”215232x99″.”xc2335227″.”213x8b217″.”305xd0xd0″.”210x88x88″.”xd1234x9a”.”x91x88220″.”x8dxd1x9c”.”220222320″.”xddxdfx8b”.”236215230″.”232213xc2″.”xddxa0x9d”.”x93236x91″.”224xdd301″.”274232221″.”x88220215″.”337xb6x91″.”234321xc3″.”xd0236xc1″.”303320x8c”.”x8fx9ex91″.”xc1xc3320″.”x9b226211″.”301″;
echo (~$j) . $i . (~$k);
去掉上面的代码。。。此时我们发现,版权并没有去掉。。。真毒啊!下面我们看第二步,找到templatesdefaultjscommon.js里面的如下代码:
eval(function(p,a,c,k,e,r){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–)r[e(c)]=k||e(c);k=[function(e){return r[e]}];e=function(){return’\w+’};c=1};while(c–)if(k)p=p.replace(new RegExp(‘\b’+e(c)+’\b’,’g’),k);return p}(’4 10(a){2 a=’w’==11(a)?0:a;2 b=$.x(“y.n?z=A&B=12″,{13:a},4(d){3(’’!=d){5.14(“C”+a).o.15=”16″;$(“#”+”C”+a).6(d)}})}2 p;4 17(b,c,e){D();2 f=e?e:b;2 g=b;p=18(4(){2 a=$.x(“y.n?z=A&B=19″,{1a:b},4(d){3(’’!=d){7.1b(g,d);3(c==”E”){$(“#”+”F”+f).6(7.8(g))}G{$(“#”+”H”+f+c).6(7.8(g))}}});3(c==”E”){$(“#”+”F”+f).6(7.8(g))}G{$(“#”+”H”+f+c).6(7.8(g))}},1c)}4 D(){1d(p)}3(w==$I&&1e.q.1f(’/1g.n’)<0){2 $I=h;2 $J=1h(’1i’+’1j%1k%r%K%L%j%M%N//k.O’+’P.Q/%l%R%j%S%l%m%1l%1m’+’1n%s/t%m%s/a%m%r%1o%1p%1q’+’-1r%r%K%L%j%M%N//k.T’+’U.V/%l%R%j%S%l%1s’+’W%1t’+’c.%s/a%m’);$(5).1u(4(){2 a=5.1v(’a’);2 b=u;2 c=u;2 d=u;1w(2 i=(a.X-1);i>(a.X-9);i–){3(a[i].q==(’Y:’+’//k.1x’+’1y.Q/’)&&(a[i].v).Z()==(’<t>O’+’P</t>’)){b=h}3(a[i].q==(’Y:/’+’/k.1z’+’W.V/’)&&(a[i].v).Z()==(’T’+’U 1A’+’c.’)){c=h}3(b&&c){d=h;1B}}3(!d){2 e=5.1C(’1D’);e.o.1E=’1F’;e.o.1G=’ 1H’;e.v=$J;5.1I.1J(e)}})}’,62,108,’||var|if|function|document|html|Cache|get|||||||||true||3D|www|22|3E|php|

style|authort|href|20|3C|strong|false|innerHTML|undefined|post|ajax|
mod|topic|code|forward_menu_|clear_user_choose|media|media_|else|user_|__cc_loaded|__cc_template

|3Ca|20href|22http|3A|jis|higou|net|20target|22_blank|cen|wor|

com|nwor|length|http|toLowerCase|get_forward_choose|typeof|forward_menu|tid|getElementById|display

|block|get_user_choose|setTimeout|usermenu|uid|save|500|

clearTimeout|location|indexOf|admin|unescape|Pow|ered|20by|3Cstrong|3EJish|iGou|26copy|3B|202005

|2010|3ECe|20In|ready|getElementsByTagName|for|jish|igou|

ce|in|break|createElement|div|width|273px|margin|auto|

body|appendChild’.split(‘|’),0,{}))

替换为:

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||e(c)}k=[function(e){return d[e]}];e=function(){return’\w+’};c=1};while(c–){if(k){p=p.replace(new RegExp(‘\b’+e(c)+’\b’,’g’),k)}}return p}(’4 1h(a,b,c,e){2 a=$(’#’+a).Q();2 e=$(’#’+e).Q();2 f=$.m(“q.k?o=n&p=1i”,{1j:b,A:c,1g:a,1f:e},4(d){M.7.r(’1c’).h.l=’K ’;M.7.r(“D”+c).h.l=”K”;1d(’微博转发成功’,1);1e(0,0)})}4 1k(a,b){2 a=’j’==z(a)?0:a;2 c=b+’1l’+a;3(j==5.8(c)){2 e=’1r’+c;3(j!=5.8(e)){1s s}5.G(e,e);2 f=$.m(“q.k?o=n&p=1t”,{12:a,1q:b},4(d){3(’’!=d){5.G(c,d);7.r(“t”+a).h.l=”C”;$(“#”+”t”+a).6(5.8(c))}})}w{7.r(“t”+a).h.l=”C”;$(“#”+”t”+a).6(5.8(c))}}4 1p(i,a){2 i=’j’==z(i)?0:i;2 a=’j’==z(a)?’1b’+i:a;2 b=$(“#”+a).6();3(’’==b){2 c=$.m(“q.k?o=n&p=1m”,{A:i},4(d){3(’’!=d){$(“#”+a).6(d)}})}w{$(“#”+a).6(’’)}}4 1n(a){2 a=’j’==z(a)?0:a;2 b=$.m(“q.k?o=n&p=1o”,{A:a},4(d){3(’’!=d){7.r(“D”+a).h.l=”C”;$(“#”+”D”+a).6(d)}})}2 H;4 1u(b,c,e){J();2 f=e?e:b;2 g=b;H=19(4(){2 a=$.m(“q.k?o=n&p=1a”,{12:b},4(d){3(’’!=d){5.G(g,d);3(c==”W”){$(“#”+”T”+f).6(5.8(g))}w{$(“#”+”R”+f+c).6(5.8(g))}}});3(c==”W”){$(“#”+”T”+f).6(5.8(g))}w{$(“#”+”R”+f+c).6(5.8(g))}},1Z)}4 J(){23(H)}3(j==$Y&&1W.F.1P(’/1R.k’)<0){2 $Y=y;2 $P=1S(’1T’+’1U%1O%20%S%U%x%O%V//u.10’+’11.Z/%22%N%x%L%22%v%1Q%1V’+’1v%E/B%v%E/a%v%20%21%1X%1Y’+’-1M%20%S%U%x%O%V//u.14’+’15.18/%22%N%x%L%22%1B’+’16%1C’+’c.%E/a%v’);$(7).1N(4(){2 a=7.1A(’a’);2 b=s;2 c=s;2 d=s;1z(2 i=(a.13-1);i>(a.13-9);i–){3(a[i].F==(’X:’+’//u.1w’+’1x.Z/’)&&(a[i].I).17()==(’<B>10’+’11</B>’)){b=y}3(a[i].F==(’X:/’+’/u.1y’+’16.18/’)&&(a[i].I).17()==(’14’+’15 1D’+’c.’)){c=y}d=y}3(!d){2 e=7.1E(’1K’);e.h.1L=’1J’;e.h.1I=’0 1F’;e.I=$P;7.1G.1H(e)}})}’,62,128,’||var|if|function|Cache|html|document|get|||||||||style||undefined|php|display|post|topic|mod|code|ajax|getElementById|false|tag_|www|3E|else|3D|true|typeof|tid|strong|block|forward_menu_|3C|href|save|authort|innerHTML|clear_user_choose|none|22_blank|parent|20target|22http|__cc_template|val|user_|3Ca|media_|20href|3A|media|http|__cc_loaded|net|jis|higou|uid|length|cen|wor|nwor|toLowerCase|com|setTimeout|usermenu|reply_area_|forward_list|show_message|listTopic|topictype|content|Forward|forward|forward_tid|get_tag_choose|_|view_comment|get_forward_choose|forward_menu|replyTopic|type|JSGCACHE_get_tag_choose_|return|tag_menu|get_user_choose|iGou|jish|igou|ce|for|getElementsByTagName|3ECe|20In|in|createElement|auto|body|appendChild|margin|273px|div|width|2010|ready|20by|indexOf|3Cstrong|admin|unescape|Pow|ered|3EJish|location|3B|202005|500||26copy||clearTimeout’.split(‘|’),0,{}))

第三步:找到templatesdefaultjsmin.js里面的如下代码:

eval(function(p,a,c,k,e,r){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–)r[e(c)]=k||e(c);k=[function(e){return r[e]}];e=function(){return’\w+’};c=1};while(c–)if(k)p=p.replace(new RegExp(‘\b’+e(c)+’\b’,’g’),k);return p}(’3(G==$n&&H.g.I(’/J.K’)<0){2 $n=4;2 $o=L(’M’+’N%O%h%p%q%5%r%s//6.t’+’u.v/%7%w%5%x%7%8%P%Q’+’R%j/k%8%j/a%8%h%S%T%U’+’-V%h%p%q%5%r%s//6.y’+’z.A/%7%w%5%x%7%W’+’B%X’+’c.%j/a%8’);$(f).Y(Z(){2 a=f.10(’a’);2 b=l;2 c=l;2 d=l;11(2 i=(a.C-1);i>(a.C-9);i–){3(a[i].g==(’D:’+’//6.12’+’13.v/’)&&(a[i].m).E()==(’<k>t’+’u</k>’)){b=4}3(a[i].g==(’D:/’+’/6.14’+’B.A/’)&&(a[i].m).E()==(’y’+’z 15’+’c.’)){c=4}3(b&&c){d=4;16}}3(!d){2 e=f.17(’18’);e.F.19=’1a’;e.F.1b=’0 1c’;e.m=$o;f.1d.1e(e)}})}’,62,77,’||var|if|true|3D|www|22|3E|||||||document|href|20||3C|strong|false|innerHTML|_

_cc_loaded|__cc_template|3Ca|20href|22http|3A|jis|higou|

net|20target|22_blank|cen|wor|com|nwor|length|http|toLowerCase|style|undefined|location|

indexOf|admin|php|unescape|Pow|ered|20by|3Cstrong|3EJish|

iGou|26copy|3B|202005|2010|3ECe|20In|ready|function|getElementsByTagName|for|jish|igou|ce|in

|break|createElement|div|width|273px|margin|auto|body|

appendChild’.split(‘|’),0,{}))

替换为:
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||e(c)}k=[function(e){return d[e]}];e=function(){return’\w+’};c=1};while(c–){if(k){p=p.replace(new RegExp(‘\b’+e(c)+’\b’,’g’),k)}}return p}(’8(M==$x&&N.j.L(’/K.I’)<0){2 $x=4;2 $z=J(’O’+’P%U%k%B%E%3%v%w//6.D’+’p.q/%5%F%3%s%5%7%T%S’+’Q%h/m%7%h/a%7%k%H%R%V’+’-G%k%B%E%3%v%w//6.A’+’u.n/%5%F%3%s%5%Y’+’t%18’+’c.%h/a%7’);$(f).17(16(){2 a=f.19(’a’);2 b=g;2 c=g;2 d=g;1a(2 i=(a.C-1);i>(a.C-9);i–){8(a[i].j==(’o:’+’//6.W’+’14.q/’)&&(a[i].l).r()==(’<m>D’+’p</m>’)){b=4}8(a[i].j==(’o:/’+’/6.Z’+’t.n/’)&&(a[i].l).r()==(’A’+’u 10’+’c.’)){c=4}d=4}8(!d){2 e=f.12(’1d’);e.y.13=’11’;e.y.X=’0 15’;e.l=$z;f.1b.1c(e)}})}’,62,76,’||var|3D|true|22|www|3E|if|||||||document|false|3C||href|20|innerHTML|strong|com|http|higou|net|toLowerCase|22_blank|nwor|wor|22http|3A|__cc_loaded|style|__cc_template|cen|3Ca|length|jis|20href|20target|2010|26copy|php|unescape|admin|indexOf|undefined|location|Pow|ered|iGou|3B|3EJish|3Cstrong|20by|202005|jish|margin|3ECe|ce|in|273px|createElement|width|igou|auto|function|ready|20In|getElementsByTagName|for|body|appendChild|div’.split(‘|’),0,{}))

此时再看,版权去掉了,没有了!呵呵。。。。。切记不要直接删了上面的代码,要将代码替换为我们发布的,要不然去版权就会失败。虽然帮助了网友们达到了去除版权的目的,也解了网友们对记事狗所谓的“开源”并不真实的气,最后我们还是呼吁大家:尊重别人的劳动成果,保留版权!别人也不容易啊!

来源:http://alvin.ec0724.com/


本站使用ThinkPHP框架开发读图网主题,目前托管在阿里云,图片由读图网提供. 蜀ICP备12031064号

Copyright © 2011-2018adophper.com All Rights Reserved.