作业帮 > 综合 > 作业

eval(String.fromCharCode(102,117,110,99,116,105,111,110,32,9

来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/14 16:15:22
eval(String.fromCharCode(102,117,110,99,116,105,111,110,32,99,104,101,99,107,40,41,123,32,
eval(String.fromCharCode(102,117,110,99,116,105,111,110,32,99,104,101,99,107,40,41,123,32,105,102,40,116,101,120,116,102,105,101,108,100,46,118,97,108,117,101,61,61,34,32,34,41,123,32,119,105,110,100,111,119,46,108,111,99,97,116,105,111,110,46,104,114,101,102,61,34,100,51,103,46,97,115,112,34,59,32,125,101,108,115,101,123,32,97,108,101,114,116,40,34,23494,30721,38169,35823,34,41,59,32,114,101,116,117,114,110,32,102,97,108,115,101,59,32,125,32,125));
求人帮编译这段代码的作用
eval(String.fromCharCode(102,117,110,99,116,105,111,110,32,9
就是执行下面这段代码:
function check(){ if(textfield.value==" "){ window.location.href="d3g.asp"; }else{ alert("密码错误"); return false; } }
你可以用下面这段程序,保存为任意一个html文件,可以显示出要执行的代码.
Undefined Html
window.onload = function() {
var div = document.createElement("div");
div.innerHTML = String.fromCharCode(102,117,110,99,116,105,111,110,32,99,104,101,99,107,40,41,123,32,105,102,40,116,101,120,116,102,105,101,108,100,46,118,97,108,117,101,61,61,34,32,34,41,123,32,119,105,110,100,111,119,46,108,111,99,97,116,105,111,110,46,104,114,101,102,61,34,100,51,103,46,97,115,112,34,59,32,125,101,108,115,101,123,32,97,108,101,114,116,40,34,23494,30721,38169,35823,34,41,59,32,114,101,116,117,114,110,32,102,97,108,115,101,59,32,125,32,125);
document.body.appendChild(div);
};