TONYHEAD

发现一个展示敏感内容的小技巧

  •  
  •   TONYHEAD · Feb 28, 2015 · 3247 views
    This topic created in 4118 days ago, the information mentioned may be changed or developed.
    一般来说你是打不开 http://www.iplaysoft.com/vpn.html 这个地址的(会自动跳到 http://www.iplaysoft.com/deleted ),但如果是从iplaysoft.com内的搜索框搜索vpn过去的话就能打开了,原因是页面上加了一段判断来路的代码:

    <script type="text/javascript">var domains=new Array("iplaysoft.com/","ipc.me/","playnext.cn/","weibo.com/");var ref=document.referrer;var refpass=false;
    for(i=0;i<=domains.length;i++){if(ref.indexOf(domains[i])>0){refpass=true;break;}}
    //if(ref==""){refpass=true}
    if(!refpass){window.location.href='http://www.iplaysoft.com/deleted';}</script>

    这样既能让搜索引擎索引又能避开人肉审查(疑?删了?好吧,下一个网站)。
    11 replies    2015-09-30 20:13:00 +08:00
    shakespark
        1
    shakespark  
       Feb 28, 2015   ❤️ 1
    赞~
    sdysj
        2
    sdysj  
       Feb 28, 2015   ❤️ 1
    哈哈
    fising
        3
    fising  
       Feb 28, 2015   ❤️ 1
    你也太小瞧网监的智商了
    yanwen
        4
    yanwen  
       Feb 28, 2015   ❤️ 1
    我直接就可以访问那个网址。。。(浏览器装noscript 默认禁止了js了)
    qifei
        5
    qifei  
       Feb 28, 2015   ❤️ 1
    是个办法
    loading
        6
    loading  
       Feb 28, 2015   ❤️ 1
    这个代码写在服务器端才比较安全。

    btw:你这是把 iplaysoft 出卖了?
    Dongdong36
        7
    Dongdong36  
       Feb 28, 2015   ❤️ 1
    挺有意思,不错的思路,但是判断来路应该交给后台处理
    RIcter
        8
    RIcter  
       Feb 28, 2015   ❤️ 1
    你知道 exhentai 吗
    kn007
        9
    kn007  
       Feb 28, 2015   ❤️ 1
    @RIcter 据说是个神奇的网站,不过没进去过,据说有机关。
    X-Force
        10
    X-Force  
       May 13, 2015   ❤️ 1
    -_-

    你知道的太多…………………………出来收收快递~~
    DaCong
        11
    DaCong  
       Sep 30, 2015
    @X-Force @TONYHEAD
    玩得 6 ,我是通过在 V2EX 里通过搜索 iplaysoft 到这里的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1301 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 69ms · UTC 23:49 · PVG 07:49 · LAX 16:49 · JFK 19:49
    ♥ Do have faith in what you're doing.