Ok know I understand the process, is crypt (<password>, <salt>)
Salt was generated dynamically here
Code:
$salt="$1$";
for ($n=0;$n<11;$n++) {
$salt.=chr(mt_rand(64,126));
}
Now I'm making a new interface for my company and I need to make a login using same username and password from email accounts in ISPCONFIG.
If the <salt> is dynamically generated I think it has to be store somewhere in the database or a text file in my server so that I can get it to crypt the password plus the salt and compare with the one in the IPSCONFIG database so I can log in.
Where is the salt stored?
regards
Jorge