js加解密 脚本解密
2018-10-15 17:03
阅读:481
functionMyDecode(str)
{
vari,k,str2=;
k=str.split(.);
for(i=0;i<k.length;i++)
{
str2+=String.fromCharCode(k[i]^0x12);
}
returnstr2;
}
myrand=46.97.115;
WScript.echo(MyDecode(myrand));
functionEncrypt(str)
{
varmonyer=newArray();
vari,s,str;
for(i=0;i<str.length;i++)
{
monyer+=str.charCodeAt(i)^0x12
monyer+=.;
}
returnmonyer;
}
WScript.Echo(Encrypt(<script>alert(ok)</script>).replace(/.$/,));
评论
亲,登录后才可以留言!