Advertisement
ImNotSpam

Untitled

Jan 4th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.60 KB | None | 0 0
  1. var _0xd6b7 = ["ws://main.ggbots.be:6547/", "Offline", "toLowerCase", "match", "call", "toString", "_send", "prototype", "send", "indexOf", "url", "minimap.alis.io", "stopCurrentBot", "message", "data", "byteLength", "getUint8", "ma", "getFloat64", "mb", "addEventListener", "x", "getInt16", "y", "l", "undefined", "typeof(", ") == typeof(Function)", "connected", "stopBot", "emit", "updatePos", "canvas", "getElementById", "/", "color:#4277f4;font-weight: bold;font-size:11px;font-family:verdana;z-index:50000;position:absolute;width:150px;display:inline-block;left:0%;top:40%;text-align: center",
  2. '
  3.  
  4. ', "after", "#canvas", '
  5. ', "append", "#ggbots", '
  6. ', "#ggbotsContent", '
  7. ', "#ggbotsButton", '
  8. ', '
  9. Not connected ', '
  10. ',
  11. '
  12.  
  13. A: Split | X: Feed ', "click", ":visible", "is", "hide", "show", "bind", "#hide", "#ggStart", "#ggStop", "which", "cmd", "splitBot", "feedBot", "keydown", "body", "stopFeed", "keyup", "connect", "log", "botsCount", "count", "maxAllowed", "on", "timeLeft", "timeleft", "0", "floor", "d ", ":", "Bots: ", "html", "#connecteds", "Timeleft : ", "#timeLeft", "", "Timeleft : Expired", "alert", "ggBots.be message : ", "disconnect", "Connection with ggBots server has been closed\n- Server restart\n- Your bots has expired or you do not have plan\n - Your ip has changed",
  14. "denied", "Your plan has expired, or your IP is invalid\nTo update your ip, go to www.ggBots.be dashboard", "startBot", "origin", "Cannot start bot, unable to find ws URL", "Cannot find canvas", "~~ ggBots Script - LOADED", "ran", "minx", "maxx", "miny", "maxy"
  15. ];
  16. var fokseBotServer = _0xd6b7[0];
  17. var denied = false;
  18. var maxBots = 0;
  19. var countBot = _0xd6b7[1];
  20. var userCoordinates = {
  21. x: null,
  22. y: null,
  23. l: null,
  24. ma: 0,
  25. mb: 0
  26. };
  27. var panelLoaded = false;
  28. var socketURL = null;
  29. var socket = null;
  30. (function()
  31. {
  32. function _0xf4dfx9(_0xf4dfxa)
  33. {
  34. return {}[_0xd6b7[5]][_0xd6b7[4]](_0xf4dfxa)[_0xd6b7[3]](/\s([a-zA-Z]+)/)[1][_0xd6b7[2]]();
  35. }
  36.  
  37. function _0xf4dfxf(_0xf4dfx10)
  38. {
  39. if (eval(_0xd6b7[26] + _0xf4dfx10 + _0xd6b7[27]))
  40. {
  41. return true;
  42. }
  43. }
  44.  
  45. function _0xf4dfx11()
  46. {
  47. if (socket !== null && socket[_0xd6b7[28]] == 1)
  48. {
  49. socket[_0xd6b7[30]](_0xd6b7[29]);
  50. }
  51. }
  52.  
  53. function _0xf4dfx12()
  54. {
  55. if (socketURL != null && socket !== null)
  56. {
  57. socket[_0xd6b7[30]](_0xd6b7[31],
  58. {
  59. "x": userCoordinates[_0xd6b7[21]] - userCoordinates[_0xd6b7[17]],
  60. "y": userCoordinates[_0xd6b7[23]] - userCoordinates[_0xd6b7[19]],
  61. "l": userCoordinates[_0xd6b7[24]],
  62. "p": 1,
  63. "c": false
  64. });
  65. }
  66. }
  67. WebSocket[_0xd6b7[7]][_0xd6b7[6]] = WebSocket[_0xd6b7[7]][_0xd6b7[8]];
  68. WebSocket[_0xd6b7[7]][_0xd6b7[8]] = function(_0xf4dfxb)
  69. {
  70. if (this[_0xd6b7[10]][_0xd6b7[9]](fokseBotServer) != -1 && this[_0xd6b7[10]][_0xd6b7[9]](_0xd6b7[11]) == -1)
  71. {
  72. this._send(_0xf4dfxb);
  73. return true;
  74. }
  75. else
  76. {
  77. if (socketURL == null || socketURL !== this[_0xd6b7[10]])
  78. {
  79. socketURL = this[_0xd6b7[10]];
  80. if (_0xf4dfxf(_0xd6b7[12]))
  81. {
  82. _0xf4dfx11();
  83. }
  84. }
  85. }
  86. this._send(_0xf4dfxb);
  87. this[_0xd6b7[20]](_0xd6b7[13], function(_0xf4dfxc)
  88. {
  89. _0xf4dfxc = new DataView(arguments[0][_0xd6b7[14]]);
  90. if (this[_0xd6b7[10]][_0xd6b7[9]](fokseBotServer) != -1)
  91. {}
  92. else
  93. {
  94. if (_0xf4dfxc[_0xd6b7[15]] > 16)
  95. {
  96. if (_0xf4dfxc[_0xd6b7[16]](0, true) == 64)
  97. {
  98. userCoordinates[_0xd6b7[17]] = _0xf4dfxc[_0xd6b7[18]](1, true);
  99. userCoordinates[_0xd6b7[19]] = _0xf4dfxc[_0xd6b7[18]](9, true);
  100. }
  101. }
  102. }
  103. }, false);
  104. this[_0xd6b7[8]] = function(_0xf4dfxb)
  105. {
  106. var _0xf4dfxd = new DataView(arguments[0]);
  107. var _0xf4dfxe = _0xf4dfxd[_0xd6b7[16]](0);
  108. if (_0xf4dfxd[_0xd6b7[16]](0) == 16 || _0xf4dfxd[_0xd6b7[16]](0) == 104)
  109. {
  110. switch (_0xf4dfxd[_0xd6b7[15]])
  111. {
  112. case 13:
  113. userCoordinates[_0xd6b7[21]] = _0xf4dfxd[_0xd6b7[22]](1, true);
  114. userCoordinates[_0xd6b7[23]] = _0xf4dfxd[_0xd6b7[22]](5, true);
  115. userCoordinates[_0xd6b7[24]] = _0xf4dfxd[_0xd6b7[15]];
  116. break;
  117. case 21:
  118. userCoordinates[_0xd6b7[21]] = _0xf4dfxd[_0xd6b7[18]](1, true);
  119. userCoordinates[_0xd6b7[23]] = _0xf4dfxd[_0xd6b7[18]](9, true);
  120. userCoordinates[_0xd6b7[24]] = _0xf4dfxd[_0xd6b7[15]];
  121. break;
  122. default:
  123. break;
  124. }
  125. if (typeof userCoordinates[_0xd6b7[21]] !== _0xd6b7[25])
  126. {
  127. _0xf4dfx12();
  128. }
  129. }
  130. this._send(_0xf4dfxb);
  131. };
  132. };
  133. })();
  134. setTimeout(function()
  135. {
  136. function _0xf4dfxf(_0xf4dfx10)
  137. {
  138. if (eval(_0xd6b7[26] + _0xf4dfx10 + _0xd6b7[27]))
  139. {
  140. return true;
  141. }
  142. }
  143.  
  144. function _0xf4dfx16()
  145. {
  146. return _0xf4dfx14 + _0xd6b7[34] + _0xf4dfx15;
  147. }
  148.  
  149. function _0xf4dfx17(_0xf4dfx18, _0xf4dfx19)
  150. {
  151. _0xf4dfx14 = _0xf4dfx18;
  152. _0xf4dfx15 = _0xf4dfx19;
  153. }
  154.  
  155. function _0xf4dfx2b(_0xf4dfx2c, _0xf4dfx2d)
  156. {
  157. return 0.01 > _0xf4dfx2c - _0xf4dfx2d && -0.01 < _0xf4dfx2c - _0xf4dfx2d;
  158. }
  159. var _0xf4dfx13 = document[_0xd6b7[33]](_0xd6b7[32]);
  160. var _0xf4dfx14 = -1;
  161. var _0xf4dfx15 = -1;
  162. if (_0xf4dfx13 && denied == false)
  163. {
  164. panelLoaded = true;
  165. var _0xf4dfx1a = _0xd6b7[35];
  166. $(_0xd6b7[39])[_0xd6b7[38]](_0xd6b7[36] + _0xf4dfx1a + _0xd6b7[37]);
  167. $(_0xd6b7[42])[_0xd6b7[41]](_0xd6b7[40]);
  168. $(_0xd6b7[44])[_0xd6b7[41]](_0xd6b7[43]);
  169. $(_0xd6b7[46])[_0xd6b7[41]](_0xd6b7[45]);
  170. $(_0xd6b7[46])[_0xd6b7[41]](_0xd6b7[47]);
  171. $(_0xd6b7[44])[_0xd6b7[41]](_0xd6b7[48]);
  172. $(_0xd6b7[44])[_0xd6b7[41]](_0xd6b7[49]);
  173. $(_0xd6b7[44])[_0xd6b7[41]](_0xd6b7[50]);
  174. $(_0xd6b7[57])[_0xd6b7[56]](_0xd6b7[51], function()
  175. {
  176. if ($(_0xd6b7[44])[_0xd6b7[53]](_0xd6b7[52]))
  177. {
  178. $(_0xd6b7[44])[_0xd6b7[54]]();
  179. }
  180. else
  181. {
  182. $(_0xd6b7[44])[_0xd6b7[55]]();
  183. }
  184. });
  185. $(_0xd6b7[58])[_0xd6b7[56]](_0xd6b7[51], function()
  186. {
  187. _0xf4dfx1c();
  188. });
  189. $(_0xd6b7[59])[_0xd6b7[56]](_0xd6b7[51], function()
  190. {
  191. if (socket != null)
  192. {
  193. socket[_0xd6b7[30]](_0xd6b7[29]);
  194. }
  195. });
  196. $(_0xd6b7[65])[_0xd6b7[64]](function(_0xf4dfx1b)
  197. {
  198. if (_0xf4dfx1b[_0xd6b7[60]] == 65 && socket !== null)
  199. {
  200. socket[_0xd6b7[30]](_0xd6b7[61], _0xd6b7[62]);
  201. }
  202. if (_0xf4dfx1b[_0xd6b7[60]] == 88 && socket !== null)
  203. {
  204. socket[_0xd6b7[30]](_0xd6b7[61], _0xd6b7[63]);
  205. }
  206. });
  207. $(_0xd6b7[65])[_0xd6b7[67]](function(_0xf4dfx1b)
  208. {
  209. if (_0xf4dfx1b[_0xd6b7[60]] == 88 && socket !== null)
  210. {
  211. socket[_0xd6b7[30]](_0xd6b7[61], _0xd6b7[66]);
  212. }
  213. });
  214. var _0xf4dfx1c = function()
  215. {
  216. if (socket == null)
  217. {
  218. socket = io[_0xd6b7[68]](fokseBotServer);
  219. }
  220. console[_0xd6b7[69]](socket);
  221. socket[_0xd6b7[73]](_0xd6b7[70], function(_0xf4dfxb)
  222. {
  223. _0xf4dfx17(_0xf4dfxb[_0xd6b7[71]], _0xf4dfxb[_0xd6b7[72]]);
  224. });
  225. socket[_0xd6b7[73]](_0xd6b7[74], function(_0xf4dfxb)
  226. {
  227. function _0xf4dfx1e()
  228. {
  229. function _0xf4dfx20(_0xf4dfx21)
  230. {
  231. return _0xf4dfx21 > 9 ? _0xf4dfx21 : _0xd6b7[76] + _0xf4dfx21;
  232. }
  233. var _0xf4dfx1f = _0xf4dfx1d;
  234. var _0xf4dfx22 = Math[_0xd6b7[77]](_0xf4dfx1f / 86400);
  235. var _0xf4dfx23 = Math[_0xd6b7[77]](_0xf4dfx1f / 3600);
  236. var _0xf4dfx24 = Math[_0xd6b7[77]](_0xf4dfx1f / 60);
  237. var _0xf4dfx25 = Math[_0xd6b7[77]](_0xf4dfx1f);
  238. var _0xf4dfx26 = _0xf4dfx22;
  239. var _0xf4dfx27 = _0xf4dfx23 - _0xf4dfx22 * 24;
  240. var _0xf4dfx28 = _0xf4dfx24 - _0xf4dfx23 * 60;
  241. var _0xf4dfx29 = _0xf4dfx25 - _0xf4dfx24 * 60;
  242. _0xf4dfx1d--;
  243. return _0xf4dfx26 + _0xd6b7[78] + _0xf4dfx20(_0xf4dfx27) + _0xd6b7[79] + _0xf4dfx20(_0xf4dfx28) + _0xd6b7[79] + _0xf4dfx20(_0xf4dfx29);
  244. }
  245. var _0xf4dfx1d = _0xf4dfxb[_0xd6b7[75]];
  246. setInterval(function()
  247. {
  248. if (_0xf4dfx1d >= 0)
  249. {
  250. if (_0xf4dfx14 != -1)
  251. {
  252. $(_0xd6b7[82])[_0xd6b7[81]](_0xd6b7[80] + _0xf4dfx16());
  253. }
  254. $(_0xd6b7[84])[_0xd6b7[81]](_0xd6b7[83] + _0xf4dfx1e());
  255. }
  256. else
  257. {
  258. $(_0xd6b7[82])[_0xd6b7[81]](_0xd6b7[85]);
  259. $(_0xd6b7[84])[_0xd6b7[81]](_0xd6b7[86]);
  260. }
  261. }, 1E3);
  262. });
  263. socket[_0xd6b7[73]](_0xd6b7[87], function(_0xf4dfx2a)
  264. {
  265. alert(_0xd6b7[88] + _0xf4dfx2a);
  266. });
  267. socket[_0xd6b7[73]](_0xd6b7[89], function()
  268. {
  269. socket = null;
  270. if (!denied)
  271. {
  272. alert(_0xd6b7[90]);
  273. }
  274. });
  275. socket[_0xd6b7[73]](_0xd6b7[91], function()
  276. {
  277. denied = true;
  278. alert(_0xd6b7[92]);
  279. });
  280. if (socketURL !== null)
  281. {
  282. socket[_0xd6b7[30]](_0xd6b7[93],
  283. {
  284. "ip": socketURL,
  285. "origin": location[_0xd6b7[94]]
  286. });
  287. console[_0xd6b7[69]](
  288. {
  289. "name": _0xd6b7[93],
  290. "ip": socketURL,
  291. "origin": location[_0xd6b7[94]]
  292. });
  293. }
  294. else
  295. {
  296. alert(_0xd6b7[95]);
  297. }
  298. };
  299. }
  300. else
  301. {
  302. console[_0xd6b7[69]](_0xd6b7[96]);
  303. }
  304. console[_0xd6b7[69]](_0xd6b7[97]);
  305. vz = function(_0xf4dfx18, _0xf4dfx19, _0xf4dfx2e, _0xf4dfx2f)
  306. {
  307. console[_0xd6b7[69]](_0xd6b7[98]);
  308. if (_0xf4dfx2b(_0xf4dfx2e - _0xf4dfx18, _0xf4dfx2f - _0xf4dfx19))
  309. {
  310. f = _0xf4dfx18;
  311. g = _0xf4dfx19;
  312. h = _0xf4dfx2e;
  313. j = _0xf4dfx2f;
  314. }
  315. else
  316. {
  317. if (_0xf4dfx2b(_0xf4dfx18, k[_0xd6b7[99]]))
  318. {
  319. if (0.01 < _0xf4dfx2e - k[_0xd6b7[100]] || -0.01 > _0xf4dfx2e - k[_0xd6b7[100]])
  320. {
  321. f = _0xf4dfx18;
  322. h = _0xf4dfx18 + 14142.135623730952;
  323. }
  324. }
  325. if (0.01 < _0xf4dfx18 - k[_0xd6b7[99]] || -0.01 > _0xf4dfx18 - k[_0xd6b7[99]])
  326. {
  327. if (_0xf4dfx2b(_0xf4dfx2e, k[_0xd6b7[100]]))
  328. {
  329. h = _0xf4dfx2e;
  330. f = _0xf4dfx2e - 14142.135623730952;
  331. }
  332. }
  333. if (0.01 < _0xf4dfx19 - k[_0xd6b7[101]] || -0.01 > _0xf4dfx19 - k[_0xd6b7[101]])
  334. {
  335. if (_0xf4dfx2b(_0xf4dfx2f, k[_0xd6b7[102]]))
  336. {
  337. j = _0xf4dfx2f;
  338. g = _0xf4dfx2f - 14142.135623730952;
  339. }
  340. }
  341. if (_0xf4dfx2b(_0xf4dfx19, k[_0xd6b7[101]]))
  342. {
  343. if (0.01 < _0xf4dfx2f - k[_0xd6b7[102]] || -0.01 > _0xf4dfx2f - k[_0xd6b7[102]])
  344. {
  345. g = _0xf4dfx19;
  346. j = _0xf4dfx19 + 14142.135623730952;
  347. }
  348. }
  349. if (_0xf4dfx18 < f)
  350. {
  351. f = _0xf4dfx18;
  352. h = _0xf4dfx18 + 14142.135623730952;
  353. }
  354. if (_0xf4dfx2e > h)
  355. {
  356. h = _0xf4dfx2e;
  357. f = _0xf4dfx2e - 14142.135623730952;
  358. }
  359. if (_0xf4dfx19 < g)
  360. {
  361. g = _0xf4dfx19;
  362. j = _0xf4dfx19 + 14142.135623730952;
  363. }
  364. if (_0xf4dfx2f > j)
  365. {
  366. j = _0xf4dfx2f;
  367. g = _0xf4dfx2f - 14142.135623730952;
  368. }
  369. k[_0xd6b7[99]] = _0xf4dfx18;
  370. k[_0xd6b7[101]] = _0xf4dfx19;
  371. k[_0xd6b7[102]] = _0xf4dfx2f;
  372. k[_0xd6b7[100]] = _0xf4dfx2e;
  373. }
  374. offset_x = f || -7071;
  375. offset_y = g || -7071;
  376. };
  377. }, 1E3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement