V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
asing
V2EX  ›  问与答

这是DNS污染还是自己电脑的问题

  •  
  •   asing · 2014-01-27 17:49:18 +08:00 · 4633 次点击
    这是一个创建于 3746 天前的主题,其中的信息可能已经有所发展或是发生改变。
    各位好:

    最开始的情况是,自己网站的title显示不出来,因为是自己在运营的网站,很快就发现了。

    chrome使用Ctrl+U、右击查看源代码,看到的内容不一样

    ctrl+u查看的代码
    <html><head><style>*{padding:0;margin:0;}</style><style id="clearly_highlighting_css" type="text/css">/* selection */ html.clearly_highlighting_enabled ::-moz-selection { background: rgba(246, 238, 150, 0.99); } html.clearly_highlighting_enabled ::selection { background: rgba(246, 238, 150, 0.99); } /* cursor */ html.clearly_highlighting_enabled { /* cursor and hot-spot position -- requires a default cursor, after the URL one */ cursor: url("chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/clearly/images/highlight--cursor.png") 14 16, text; } /* highlight tag */ em.clearly_highlight_element { font-style: inherit !important; font-weight: inherit !important; background-image: url("chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/clearly/images/highlight--yellow.png"); background-repeat: repeat-x; background-position: top left; background-size: 100% 100%; } /* the delete-buttons are positioned relative to this */ em.clearly_highlight_element.clearly_highlight_first { position: relative; } /* delete buttons */ em.clearly_highlight_element a.clearly_highlight_delete_element { display: none; cursor: pointer; padding: 0; margin: 0; line-height: 0; position: absolute; width: 34px; height: 34px; left: -17px; top: -17px; background-image: url("chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/clearly/images/highlight--delete-sprite.png"); background-repeat: no-repeat; background-position: 0px 0px; } em.clearly_highlight_element a.clearly_highlight_delete_element:hover { background-position: -34px 0px; } /* retina */ @media (min--moz-device-pixel-ratio: 2), (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) { em.clearly_highlight_element { background-image: url("chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/clearly/images/[email protected]"); } em.clearly_highlight_element a.clearly_highlight_delete_element { background-image: url("chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/clearly/images/[email protected]"); background-size: 68px 34px; } } </style><style>[touch-action="none"]{ -ms-touch-action: none; touch-action: none; }[touch-action="pan-x"]{ -ms-touch-action: pan-x; touch-action: pan-x; }[touch-action="pan-y"]{ -ms-touch-action: pan-y; touch-action: pan-y; }[touch-action="scroll"],[touch-action="pan-x pan-y"],[touch-action="pan-y pan-x"]{ -ms-touch-action: pan-x pan-y; touch-action: pan-x pan-y; }</style></head>
    <body style="overflow:hidden;">
    <script type="text/javascript">
    function h(){try{var b=document.getElementById('i123');
    if(document.getElementById){
    if(b && !window.opera){
    x=b.contentdocument;
    y=b.document;
    if(x && x.documentElement.offsetHeight){
    b.height = x.documentElement.offsetHeight+50}
    else if(y && y.body.scrollHeight){
    b.height = y.body.scrollHeight+20}
    }}}catch(err){}}
    function c(){document.getElementById('footer').style.display='none'}
    </script>
    <div style="width:100%;height:100%;background:#fff;overflow:hidden;">
    <iframe id="i123" scrolling="auto" width="100%" height="100%" src="" style="border:0px;" frameborder="0"></iframe>
    </div>
    <script type="text/javascript">frames[0].location=window.location</script>
    <script src="http://b.ebeik.com/ads/sep_sdhtstb.js" type="text/javascript">
    </script><style>#footer{position:fixed; _position:absolute;z-index:2000;background:#fff;right:20;bottom:0;width:0px;height:0px;}</style><div id="f112316"><iframe scrolling="no" width="0" src="http://www.hao123.com/?tn=95955747_hao_pg" height="0" frameborder="0"></iframe></div>
    </body></html>

    右击查看源代码就是我的网站正常的代码

    最近两天就出现访问自己的网站chrome拦截弹窗了


    一直搞不懂这是怎么个情况才会出现这样的问题了

    个人还算注重安全......

    还请各位讨论交流下..
    17 条回复    2014-01-29 21:45:14 +08:00
    asing
        1
    asing  
    OP
       2014-01-27 17:57:52 +08:00
    DreaMQ
        2
    DreaMQ  
       2014-01-27 18:04:14 +08:00
    被运营商劫持了吧
    asing
        3
    asing  
    OP
       2014-01-27 18:08:31 +08:00
    @DreaMQ 怎么说呢。。。

    其他网站没发现啊。仅仅只有自己的网站。。。
    sobigfish
        4
    sobigfish  
       2014-01-27 18:32:54 +08:00
    那就是你站被黑了。
    话说那个js写的太扯了。
    那个if else看着好吓人啊
    sobigfish
        5
    sobigfish  
       2014-01-27 18:35:21 +08:00
    直接找新网投诉那个ebeik.com的所有人吧。
    powerfj
        6
    powerfj  
       2014-01-27 18:37:17 +08:00
    运营商劫持或者路由器劫持,就是你访问一个url,他给你返回一个加上它的框架的页面过来了
    hsu
        7
    hsu  
       2014-01-27 21:20:07 +08:00
    @DreaMQ
    @powerfj
    哥们,帮我看看我这是啥毛病吧 /t/98523。。
    txlty
        8
    txlty  
       2014-01-27 23:38:30 +08:00
    楼主是辽宁联通用户吧。
    这是运营商的TCP链路劫持。无解。
    txlty
        9
    txlty  
       2014-01-27 23:53:00 +08:00
    Coda
        10
    Coda  
       2014-01-28 08:12:59 +08:00
    ebeik.com 很熟悉了, 被劫持的. 淘宝京东啊等等的.
    asing
        11
    asing  
    OP
       2014-01-28 08:39:56 +08:00
    @sobigfish 被黑了??

    不太可能吧..

    git管理.ssh证书的..
    asing
        12
    asing  
    OP
       2014-01-28 08:40:39 +08:00
    @txlty 电信的光纤啊..
    @Coda 哥们也遇到过?
    Coda
        13
    Coda  
       2014-01-28 08:54:16 +08:00
    @asing 遇到过, 之前琢磨过dns劫持的问题, 经常能遇到ebeik.com 手动改个dns试试? 如果不行的话那就是8楼说的TCP链路劫持了, 运营商操作的, 没办法.
    sumanx
        14
    sumanx  
       2014-01-28 19:28:43 +08:00
    运营商劫持的可以举报工信部,或者打给运营商说不解决就举报,他们很怕的,一般当天或者第二天就解决了。
    adrianzhang
        15
    adrianzhang  
       2014-01-28 22:10:39 +08:00
    自己建立一个加密的DNS就成了,不会的话。过了大年有虚拟机,直接下载回来就能用了。到时候下载地址放这个帖子里。
    wwqgtxx
        16
    wwqgtxx  
       2014-01-29 07:40:18 +08:00 via Android
    开一个自签名的ssl看看,https他没办法劫持了
    adrianzhang
        17
    adrianzhang  
       2014-01-29 21:45:14 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1132 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:57 · PVG 01:57 · LAX 10:57 · JFK 13:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.