首页
论坛
课程
招聘
[注意]Javascript Obfuscator 3.1.8.0
2009-4-4 06:18 3574

[注意]Javascript Obfuscator 3.1.8.0

2009-4-4 06:18
3574
Javascript脚本混淆器。可混乱,混淆并打包你的Javascript脚本,将Javascript脚本转换成混乱的难以阅读的格式,使之无法进行分析 .

Javascript Obfuscator converts the JavaScript source code into scrambled and completely unreadable form, preventing it from analysing and theft.



Javascript Obfuscator can

process javascript tags in html files and all .js files associated with html pages as well as separate .js files
remove comments and white spaces, reducing the file size and minimizing the loading time
pack the code as a long line
add finishing ";" when appropriate
create a list of function and variable names
generate new non-understandable names and rename functions and variables depending on user settings
work with command line

Compare how the same piece of code looks before:
oldcr.rar
//detect which browser is used
var detect = navigator.userAgent.toLowerCase();
var OS,browser,version,total,thestring;
if (checkIt('konqueror'))
{
    browser = "Konqueror";
    OS = "Linux";
}
else if (checkIt('opera')) browser = "Opera"
else if (checkIt('msie')) browser = "Internet Explorer"
else if (!checkIt('compatible'))
{
    browser = "Netscape Navigator"
    version = detect.charAt(8);
}
else browser = "An unknown browser";
//version of browser
if (!version) version = detect.charAt(place + thestring.length);
//client OS
if (!OS)
{
    if (checkIt('linux')) OS = "Linux";
    else if (checkIt('x11')) OS = "Unix";
    else if (checkIt('mac')) OS = "Mac"
    else if (checkIt('win')) OS = "Windows"
    else OS = "an unknown operating system";
}

//check the string
function checkIt(string)
{
    place = detect.indexOf(string) + 1;
    thestring = string;
    return place;
}

and after processing by Javascript Obfuscator:

var e=navigator.userAgent.toLowerCase();var f,b,c,total,d;if(a('konqueror')){b="Konqueror";f="Linux";};else if(a('opera'))b="Opera";else if(a('msie'))b="Internet Explorer";else if(!a('compatible')){b="Netscape Navigator";c=e.charAt(8);};else b="An unknown browser";if(!c)c=e.charAt(g+d.length);if(!f){if(a('linux'))f="Linux";else if(a('x11'))f="Unix";else if(a('mac'))f="Mac";else if(a('win'))f="Windows";else f="an unknown operating system";};function a(string){g=e.indexOf(string)+1;d=string;return g;};

You can see the difference, can抰 you?

Download free trial version of Javascript Obfuscator
http://www.javascript-source.com/jsosetup.exe

[公告] 欢迎大家踊跃尝试高研班11月试题,挑战自己的极限!

上传的附件:
收藏
点赞0
打赏
分享
最新回复 (2)
雪    币: 206
活跃值: 活跃值 (33)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
鸡蛋壳 活跃值 2009-4-4 12:41
2
0
这种很多的,还有可以加密成别的格式的。
雪    币: 202
活跃值: 活跃值 (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
tomexou 活跃值 2009-4-9 13:59
3
0
可惜是試用版...
游客
登录 | 注册 方可回帖
返回