IE6.0又出新漏洞
其利用代码如下:
CODE:[Copy to clipboard]<script type="text/jscript">function init() { document.write("The time is: " + Date() );
}window.onload = init;</script>利用此代码可以隐藏网页前面的html代码,运行后就只能看见javascript语句里面执行的代码。并且刷新后也不能再看见网站的源代码,并可利用javascript执行任意代码。实为挂马不可错过的最好时机。
测试方法:
CODE:[Copy to clipboard]<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>保存上面的代码为html页面看看。如果只看到上面的时间,就证明你的ie也存在此漏洞。(前面和后面的代码呢?^.^)相信稍懂一点html语言的人都知道咋利用吧。现在百分之九十几的ie都存在此漏洞。在xp sp2 2000 sp4 2003sp1测试通过