Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- By edi472
- (c) 2011
- compressed version: http://pastebin.com/DfRpNk4x
- */
- function dospammer() {
- e.open("GET", "/home/" + habbo, true);
- e.send();
- e.onreadystatechange = function () {
- if (e.readyState == 4 && e.status == 200) {
- d.getElementsByTagName("html")[0].innerHTML = e.responseText;
- wid = (d.getElementsByClassName("movable widget GuestbookWidget")[0].id).toString().replace("widget-", "");
- app = $$("meta[name=csrf-token]")[0].readAttribute("content");
- new Ajax.Request("/myhabbo/guestbook/add", {
- parameters: "ownerId=123&message=" + msg + "&scope=0&query=&widgetId=" + wid,
- onComplete: function () {
- new Ajax.Request("/account/logout_ok", {
- parameters: "token=" + app,
- onComplete: function () {
- new Ajax.Request("/account/submit", {
- onComplete: function () {
- new Ajax.Request("/identity/useOrCreateAvatar/" + habboid, {
- parameters: "disableFriendLinking=true",
- onComplete: function () {
- dospammer()
- }
- })
- },
- parameters: "credentials.username=" + email + "&credentials.password=" + senha
- })
- }
- })
- }
- })
- }
- }
- }
- function pickup_infos() {
- Overlay.show();
- habbo = prompt("Digite o Habbo:", "");
- email = prompt("Digite o email:", "");
- senha = prompt("Digite a senha:", "");
- msg = prompt("Digite a mensagem:", "");
- var infos = [habbo, email, senha, msg];
- infos.forEach(function (d) {
- if (infos[d] == null || infos[d] == '') {
- alert("Você preencheu campo(s) inválido(s)");
- if (confirm('Quer tentar novamente?')) {
- pickup_infos();
- } else {
- location.reload();
- bye_f();
- };
- } else {
- Overlay.hide();
- dospammer();
- }
- });
- };
- var e = new XMLHttpRequest;
- var habboid = (habboId);
- var d = document;
- pickup_infos();
Advertisement
Add Comment
Please, Sign In to add comment