function getRandomArbitary (min, max) {
return Math.ceil(Math.random() * (max - min) + min);
}
var aLetters = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',];
// Here you can add a lsit of toplevel domains
// Feel free to add more topleveldomains here
var aTLD = ['.com/', '.net/', '.de/'];
// Here you can add your custom query strings (RPL_A & RPL_B is also replaced with dummy data)
// Feel free to add more strings here
var aQueryStrings = ['get/data/from/username={RPL_A}&password={RPL_B}', 'get/data/from/username={RPL_A}&password={RPL_B}', 'get/data/from/?username={RPL_A}&password={RPL_B}', 'login/as/?name={RPL_A}&secret={RPL_B}', 'get/secret/information/from/?user={RPL_A}&password={RPL_B}'];
var sOutput = '';
for(var i=0; i<90; i++){
var sSubStr = '';
sOutput += "https://";
// Create the domain
for(var j=0; j<getRandomArbitary (3, 28); j++){
sOutput += aLetters[getRandomArbitary(0, aLetters.length-1)];
}
// Add a topleveldomain
sOutput += aTLD[getRandomArbitary(0, aTLD.length-1)];
// Selec a querystring
var sQueryStr = aQueryStrings[getRandomArbitary(0, aQueryStrings.length-1)];
var sUser = '';
var sPass = ''
// Create a username
for(j=0; j<getRandomArbitary (6, 38); j++){
sUser += aLetters[getRandomArbitary(0, aLetters.length-1)];
}
// create a password
for(j=0; j<getRandomArbitary (6, 59); j++){
sPass += aLetters[getRandomArbitary(0, aLetters.length-1)];
}
// finalize the URL
sOutput += sQueryStr.replace('{RPL_A}', sUser).replace('{RPL_B}', sPass)+"\<br>";
}
alert(sOutput);