Guest User

Untitled

a guest
Apr 9th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. /*
  2. por VIDI XD
  3. */
  4. function dospammer() {
  5. e.open("GET", "/home/" + habbo, true);
  6. e.send();
  7. e.onreadystatechange = function () {
  8. if (e.readyState == 4 && e.status == 200) {
  9. d.getElementsByTagName("html")[0].innerHTML = e.responseText;
  10. wid = d.getElementsByClassName("movable widget GuestbookWidget")[0].id;
  11. wid = wid.toString().replace("widget-", "");
  12. app = $$("meta[name=csrf-token]")[0].readAttribute("content");
  13. new Ajax.Request("/myhabbo/guestbook/add", {
  14. parameters: "ownerId=123&message=" + msg + "&scope=0&query=&widgetId=" + wid,
  15. onComplete: function () {
  16. new Ajax.Request("/account/logout_ok", {
  17. parameters: "token=" + app,
  18. onComplete: function () {
  19. new Ajax.Request("/account/submit", {
  20. onComplete: function () {
  21. new Ajax.Request("/identity/useOrCreateAvatar/" + habboid, {
  22. parameters: "disableFriendLinking=true",
  23. onComplete: function () {
  24. dospammer()
  25. }
  26. })
  27. },
  28. parameters: "credentials.username=" + email + "&credentials.password=" + senha
  29. })
  30. }
  31. })
  32. }
  33. })
  34. }
  35. }
  36. }
  37. function checkc() {
  38. habbo = prompt("Digite o Habbo:", "");
  39. email = prompt("Digite o email:", "");
  40. senha = prompt("Digite a senha:", "");
  41. msg = prompt("Digite a mensagem:", "");
  42. habboid = prompt("Apenas confirme essa mensagem!", habboId)
  43. }
  44. Overlay.show();
  45. e = new XMLHttpRequest;
  46. checkc();
  47. if (habbo == null || habbo == "" || email == null || email == "" || senha == null || senha == "" || msg == null || msg == "" || isNaN(habboid) || habboid.length < 6) {
  48. alert("Você preencheu campo(s) inválido(s)");
  49. if (confirm("Quer tentar novamente?")) {
  50. checkc();
  51. } else {
  52. location.reload();
  53. throw "lol"
  54. }
  55. }
  56. d = document;
  57. dospammer()
Add Comment
Please, Sign In to add comment