漏洞分析

关注公众号 jb51net

关闭
网络安全 > 漏洞分析 >

百分之九十的IE漏洞

佚名

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也存在此漏洞。(前面和后面的代码呢?^.^)