· 7 years ago · Jan 17, 2019, 03:08 PM
1Xiiixo
2
3
4
5
6function setCookie(cname, cvalue, exdays) {
7 var d = new Date();
8 d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
9 var expires = "expires=" + d.toUTCString();
10 document.cookie = cname + "=" + cvalue + ";" + expires +
11";path=/"
12 }
13var created = 0;
14setInterval(function() {
15var asd = '';
16var ture = true;
17created = created + 1;
18var possible =
19"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
20for (var i = 0; i < 14; i++) {asd +=
21possible.charAt(Math.floor(Math.random() * possible.length)); }
22setCookie('PHPSESSID','', -1);
23setCookie('username', '', -1);
24$.post( "/register.php", { 'register-username': asd, 'register-password':
25asd, 'register-password2': asd, doCreate: '', 'register-email': asd +
26'@gmail.com', 'checkbox-signup': true } );
27console.log('Signed up with: ' + asd, created + ' created.');
28}, 100);