问题描述
我想给我的代码加上域名绑定,比如,我的这套源码只能给asb.com这个域名用,换成其他的域名以后会自动提示“盗版”然后跳转到我的官网,我找到了一短代码,是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[c]||e(c);k=[function(e){returnr[e]}];e=function(){return'\w+'};c=1};while(c--)if(k[c])p=p.replace(newRegExp('\b'+e(c)+'\b','g'),k[c]);returnp}('ki=["1c","#m","1a","#mI1m","<lt='H'></l><lt='F'>","<u></u>","</l><lt='vz'></l><lt='vD'></l>","M","p","P","#m.H","Q","R","X","Y","#m.Fu","0.5","1h","1i","0.2","1p","#m.v","K","#m.z","#m.D","#mI","L","1","0.4","O","C.B.y","T","B.y","请勿盗版,违者必究","U","V://C.W.y/"];$(j(){kc=$(i[1])[i[0]]();kd=$(i[3])[i[2]];ke=0;kf;kg=i[4];1w(kh=0;h<d;h++){g+=i[5]};g+=i[6];$(i[1])[i[7]](g);$(i[10])[i[9]](i[8],0.5);$(i[15])[i[9]](i[8],0.4)[i[11]](j(){e=$(i[15])[i[14]](x);q(e)})[i[13]](0)[i[12]](i[11]);$(i[S])[i[9]](i[8],0.2)[i[A]](j(){$(x)[i[18]](r,n)[i[17]]({"p":i[16]},o)},j(){$(x)[i[18]](r,n)[i[17]]({"p":i[19]},o)});$(i[Z])[i[E]](j(){e-=1;s(e==-1){e=d-1};q(e)});$(i[1b])[i[E]](j(){e+=1;s(e==d){e=0};q(e)});$(i[G])[i[9]](i[0],c*(d));$(i[1])[i[A]](j(){1d(f)},j(){f=1e(j(){q(e);e++;s(e==d){e=0}},1f)})[i[12]](i[1g]);jq(a){kb=-a*c;$(i[G])[i[18]](r,n)[i[17]]({"1j":b},o);$(i[15])[i[18]](r,n)[i[17]]({"p":i[1k]},o)[i[13]](a)[i[18]](r,n)[i[17]]({"p":i[1l]},o)}});$w=1n[i[1o]];s($w[i[J]](i[1q])<0&&$w[i[J]](i[1r])<0){1s(i[1t]);1u[i[1v]]=i[N]};',62,95,'||||||||||||||||||_0xa482|function|var|div|focus|false|300|opacity|_0x37ecx7|true|if|class|span|preNext|squ|this|com|pre|20|qq141973|www|next|22|btn|25|btnBg|ul|31|click|mouseleave|append|35|domain|css|mouseenter|trigger|21|indexOf|href|http|qqsuyi|eq|index|23|||||||||||length|24|width|clearInterval|setInterval|4000|26|animate|stop|left|28|27|li|document|29|hover|30|32|alert|33|location|34|for'.split('|'),0,{}))
解决方案
解决方案二:
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[c]||e(c);k=[function(e){returnr[e]}];e=function(){return'\w+'};c=1};while(c--)if(k[c])p=p.replace(newRegExp('\b'+e(c)+'\b','g'),k[c]);returnp}('ki=["1c","#m","1a","#mI1m","<lt='H'></l><lt='F'>","<u></u>","</l><lt='vz'></l><lt='vD'></l>","M","p","P","#m.H","Q","R","X","Y","#m.Fu","0.5","1h","1i","0.2","1p","#m.v","K","#m.z","#m.D","#mI","L","1","0.4","O","C.B.y","T","B.y","请勿盗版,违者必究","U","V://C.W.y/"];$(j(){kc=$(i[1])[i[0]]();kd=$(i[3])[i[2]];ke=0;kf;kg=i[4];1w(kh=0;h<d;h++){g+=i[5]};g+=i[6];$(i[1])[i[7]](g);$(i[10])[i[9]](i[8],0.5);$(i[15])[i[9]](i[8],0.4)[i[11]](j(){e=$(i[15])[i[14]](x);q(e)})[i[13]](0)[i[12]](i[11]);$(i[S])[i[9]](i[8],0.2)[i[A]](j(){$(x)[i[18]](r,n)[i[17]]({"p":i[16]},o)},j(){$(x)[i[18]](r,n)[i[17]]({"p":i[19]},o)});$(i[Z])[i[E]](j(){e-=1;s(e==-1){e=d-1};q(e)});$(i[1b])[i[E]](j(){e+=1;s(e==d){e=0};q(e)});$(i[G])[i[9]](i[0],c*(d));$(i[1])[i[A]](j(){1d(f)},j(){f=1e(j(){q(e);e++;s(e==d){e=0}},1f)})[i[12]](i[1g]);jq(a){kb=-a*c;$(i[G])[i[18]](r,n)[i[17]]({"1j":b},o);$(i[15])[i[18]](r,n)[i[17]]({"p":i[1k]},o)[i[13]](a)[i[18]](r,n)[i[17]]({"p":i[1l]},o)}});$w=1n[i[1o]];s($w[i[J]](i[1q])<0&&$w[i[J]](i[1r])<0){1s(i[1t]);1u[i[1v]]=i[N]};',62,95,'||||||||||||||||||_0xa482|function|var|div|focus|false|300|opacity|_0x37ecx7|true|if|class|span|preNext|squ|this|com|pre|20|qq141973|www|next|22|btn|25|btnBg|ul|31|click|mouseleave|append|35|domain|css|mouseenter|trigger|21|indexOf|href|http|qqsuyi|eq|index|23|||||||||||length|24|width|clearInterval|setInterval|4000|26|animate|stop|left|28|27|li|document|29|hover|30|32|alert|33|location|34|for'.split('|'),0,{}))
代码不清楚,我重新贴一遍
解决方案三:
源码都给了,你还能做什么?加入限制,对方也会修改吧。
解决方案四:
js靠谱吗人家禁用js呢,在ie里修改js呢,修改源码的js呢部署在局域网里,域名弄成跟你外网域名一样呢你还是绑定服务器IP吧