Skip to content
Snippets Groups Projects
Commit b365336f authored by echicken's avatar echicken :chicken: Committed by Rob Swindell
Browse files

Aripoll auth wtf

parent 90baaa8f
No related branches found
No related tags found
2 merge requests!463MRC mods by Codefenix (2024-10-20),!238Aripoll auth wtf
require('sbbsdefs.js', 'SYS_CLOSED');
function randomString(length) {
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz'.split("");
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz'.split('');
var str = '';
for (var i = 0; i < length; i++) {
str += chars[Math.floor(Math.random() * chars.length)];
var rn = Math.floor(Math.random() * chars.length);
if (rn >= chars.length) log(LOG_DEBUG, "Impossible number: " + rn);
str += chars[rn];
}
return str;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment