本文由 蘰埗 投稿,欢迎大家也积极参与投稿,有好东西可以随时联系我哦!
JavaScript IE 6 漏洞
其利用代码如下:
<script type="text/jscript">
function init() {
document.write("The time is: " + Date() );
}
window.onload = init;
</script>
function init() {
document.write("The time is: " + Date() );
}
window.onload = init;
</script>
利用此代码可以隐藏网页前面的html代码,运行后就只能看见javascript语句里面执行的代 码。
并且刷新后也不能再看见网站的源代码,并可利用javascript执行任意代码。
测试方法:
<h1>ncph of something<i>before</i></h1>
<br> the <b>JavaScript</b>... ncphncph
<script type="text/jscript">
function init() {
document.write("The time is now: " + Date() );
}
window.onload = init;
</script>
And <u>ncph of something</u> after the <b>JavaScript</b>
<br> the <b>JavaScript</b>... ncphncph
<script type="text/jscript">
function init() {
document.write("The time is now: " + Date() );
}
window.onload = init;
</script>
And <u>ncph of something</u> after the <b>JavaScript</b>
保存上面的代码为html页面看看。
如果只看到上面的时间,就证明你的ie也存在此漏洞。(前面和后面的代码呢?^.^)
在xp sp2 2000 sp4 2003sp1测试通过
easy Says:
2008/08/27 09:52
写的不明白啊.
hezhanpeng0408 Says:
2008/08/01 16:48
最快速度怎么弄的啊!
额。。。什么最快速度?
管管 回复于 2008/08/02 01:54
分页: 1/1
1
1
使用代理解决Source
一些比较有趣的网站收集




