1. Javascript Obfuscator
Trang này sẽ giúp bạn mã hóa code một cách an toàn nhất, nó làm rắc rối các mã javascript.Dạng mã hóa:
var _0xb89f=["\x53\x61\x79\x48\x65\x6C\x6C\x6F","\x47\x65\x74\x43\x6F\x75\x6E\x74","\x4D\x65\x73\x73\x61\x67\x65\x20\x3A\x20","\x59\x6F\x75\x20\x61\x72\x65\x20\x77\x65\x6C\x63\x6F\x6D\x65\x2E"];function NewObject(_0x50c4x2){var _0x50c4x3=0;this[_0xb89f[0]]=function(_0x50c4x4){_0x50c4x3++;alert(_0x50c4x2+_0x50c4x4)};this[_0xb89f[1]]=function(){return _0x50c4x3}}var obj= new NewObject(_0xb89f[2]);obj.SayHello(_0xb89f[3])
2. /packer/ - Dean Edwards
Mã hóa dạng packer giúp js trở nhẹ hơn, nhưng dạng mã hóa này rất dễ giải mã.
Dạng mã hóa:
eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('7 h(t,a){n s=j,c=!0,e="8://2.9.b.d/-f/g/6/i/3-c/k.l";m 1==c&&""==t&&(t=e),4=\'\',""!=t?4:""}',35,35,'|||s72|image_tag|69|AAAAAAAACCs|function|http|bp||blogspot||com||erTXCq61ULM|TmHYAQBZ0GI|db_thumb_size|6cBX54Dn6Gs|100|default|png|return|var|img|src|replace|class|||post|thumbnail|alt|width|height'.split('|'),0,{}))
3. Javascript Encoder
Javascript Encoder làm khó khăn cho những ai có ý định chôm chỉa js của bạn.Dạng mã hóa:
<script language=javascript>document.write(unescape('%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%61%67%65%3D%22%6A%61%76%61%73%63%72%69%70%74%22%3E%66%75%6E%63%74%69%6F%6E%20%64%46%28%73%29%7B%76%61%72%20%73%31%3D%75%6E%65%73%63%61%70%65%28%73%2E%73%75%62%73%74%72%28%30%2C%73%2E%6C%65%6E%67%74%68%2D%31%29%29%3B%20%76%61%72%20%74%3D%27%27%3B%66%6F%72%28%69%3D%30%3B%69%3C%73%31%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%74%2B%3D%53%74%72%69%6E%67%2E%66%72%6F%6D%43%68%61%72%43%6F%64%65%28%73%31%2E%63%68%61%72%43%6F%64%65%41%74%28%69%29%2D%73%2E%73%75%62%73%74%72%28%73%2E%6C%65%6E%67%74%68%2D%31%2C%31%29%29%3B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%74%29%29%3B%7D%3C%2F%73%63%72%69%70%74%3E'));dF('%264DTDSJQU%2631MBOHVBHF%264E%2633kbwbtdsjqu%2633%264F%261Bbijij%261B%264D0TDSJQU%264F%261B%261%3A%261%3A%261%3A1')</script>
This comment has been removed by a blog administrator.
ReplyDeleteGiải mãi thì dùng trang nào hả bác, cái trang Mật ong Rừng Mai Tân của em nhiều chỗ bị mã hóa quá
ReplyDelete