HDS 在线JS混淆加密器
网址
http://www.moralsoft.com/jso-online/hdojso.htm
例如
function complete(){
if (req.readyState == 4)
{
if (req.status == 200){
var content = req.responseText;
// alert(content);
document.getElementById('span_city').innerHTML=content;
}
}
}
加密后
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;}('6 7(){1(0.8==4){1(0.5==3){c 2=0.d;e.a(\'b\').9=2}}}',15,15,'req|if|content|200||status|function|complete|readyState|innerHTML|getElementById|span_city|var|responseText|document'.split('|'),0,{}))