查看完整版本: IE 6.0安全使用技巧全集

zoro 2008-7-21 10:56

IE 6.0安全使用技巧全集

JavaScript IE 6 漏洞

  其利用代码如下:

<script type="text/jscript">
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>
  


  保存上面的代码为html页面看看。

  如果只看到上面的时间,就证明你的ie也存在此漏洞。(前面和后面的代码呢?^.^)

  相信稍懂一点html语言的人都知道咋利用吧。

  现在百分之九十几的ie都存在此漏洞。
页: [1]
查看完整版本: IE 6.0安全使用技巧全集