So i’m able to generate some random valid username and password but it seems that it not enough.
And i don’t really understand why it’s random.
That’s weird right ?
```function findUnHash(hash,mult)
{
var alpha2 = “abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghij”;
function int_to_string(val)
{
var str=“”;
var l= alpha2.length;
var tmpval=val;
for(var i=0;i<10;i++)
{
//console.log(tmpval%l);
str+=alpha2[tmpval%l];
tmpval=Math.floor(tmpval/l);
if(tmpval==0)break;
}
return str.split(“”).reverse().join(“”);;
}
function randomIntFromInterval(min,max)
{
return Math.floor(Math.random()*(max-min+1)+min);
}
var test = hash;
var min=0;
var max=100000000000000000000000000;
while(1)
{
if(max-min<=1)break;
var rand = randomIntFromInterval(min,max);
var str = int_to_string(rand);
var hash = makehash(str,mult);
console.log(str+“ –> ”+hash);
console.log(min+“<test<”+max);
console.log(max-min);
if(hash>test)
{
console.log(“hash>test”);
max=rand;
}
else if(hash<test)
{
console.log(“hash<test”);
min=rand;
}
else if(hash==test)
{
console.log(“Success : ”+str);
return str;
}
}
}```
Yeah the password also encrypt the url to open after login, so even if i able to pass through the username_check and the password_check if the password isn’t the right one the url will be wrong.