Advertisement
Guest User

Untitled

a guest
Nov 4th, 2015
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. javascript:var%20aktualna_strona=window.location.href;
  2. %20if%20(aktualna_strona=='http://www.day.az/registration.php'){
  3. %20var%20znaki='qwertyuiopasdfghjklzxcvbnm1234567890';
  4. %20var%20znaki2='qwertyuiopasdfghjklzxcvbnm';
  5. %20var%20imiona=['Adoeete','Adriel','Kelsea','Keran','Nori','Oran'];
  6. %20var%20miasta=['Warszawa','Gdynia','Sopot','Gniezno','Olsztyn','Lublin'];
  7. %20var%20host='@gmail.com';
  8. %20var%20pom='#A1';
  9. %20var%20name=imiona[~~(Math.random()*imiona.length)];
  10. %20var%20miasto=miasta[~~(Math.random()*miasta.length)];
  11. %20var%20sname=znaki2[~~(Math.random()*znaki2.length)].toUpperCase();
  12. %20var%20mail=znaki2[~~(Math.random()*znaki2.length)];
  13. %20var%20pwd='';
  14. %20for%20(i=0;i<=8;i++)%20sname+=znaki2[~~(Math.random()*znaki2.length)];
  15. %20for%20(i=0;i<=9;i++)%20mail+=znaki[~~(Math.random()*znaki.length)];
  16. %20for%20(i=0;i<=10;i++)%20pwd+=znaki[~~(Math.random()*znaki.length)];
  17. %20document.getElementsByName('reg_type')[1].click();
  18. %20document.getElementById('login').focus();
  19. %20document.getElementById('login').value=mail;
  20. %20document.getElementById('login').focus();
  21. %20document.getElementById('iname').value=name;
  22. %20document.getElementById('iname').focus();
  23. %20document.getElementById('fname').value=sname;
  24. %20document.getElementById('fname').focus();
  25. %20document.getElementsByName('sex')[1].checked='true';
  26. %20document.getElementById('password').value=pwd;
  27. %20document.getElementById('password').focus();
  28. %20document.getElementById('password_conf').value=pwd;
  29. %20document.getElementById('password_conf').focus();
  30. %20document.getElementById('hinta').value='ufsiak';
  31. %20document.getElementById('hinta').focus();
  32. %20document.getElementById('ext_email').value=mail+host;
  33. %20document.getElementById('ext_email').focus();
  34. %20document.getElementById('captcha').focus();
  35. %20dayaz_konta=window.open%20('','dayaz_konta','scrollbars=1,width=250,height=400');
  36. %20dayaz_konta.document.write('L:%20'%20+%20mail%20+%20'@day.az<br%20/>P:%20'%20+%20pwd%20+%20'<br%20/><br%20/>');
  37. %20document.getElementById('fake').innerHTML='';
  38. %20}else%20if(aktualna_strona.indexOf("https://passport.yandex.ru")>-1){
  39. %20document.querySelector('input[name="bday"]').focus();
  40. %20document.querySelector('input[name="bday"]').value=Math.floor(Math.random()*(28-1+1)+1);
  41. %20document.querySelector('select[name="bmonth"]').selectedIndex=Math.floor(Math.random()*(12-1)+1);
  42. %20document.querySelector('input[name="byear"]').focus();
  43. %20document.querySelector('input[name="byear"]').value=Math.floor(Math.random()*(1995-1901)+1900);
  44. %20document.querySelector('select[name="hint_question_id"]').selectedIndex=Math.floor(Math.random()*(11-2+1)+2);
  45. %20document.querySelector('input[name="hint_answer"]').focus();
  46. %20document.querySelector('input[name="hint_answer"]').value="Dzikieufsy";
  47. %20document.querySelector('input[name="answer"]').focus();
  48. %20}else%20if(aktualna_strona=='http://www.day.az/'){
  49. %20document.querySelector('a[href="/mail.php"]').click();
  50. %20}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement