View Single Post
  #13  
Old 29th April 2010, 18:28
jariasca jariasca is offline
Member
 
Join Date: Jan 2010
Posts: 43
Thanks: 2
Thanked 8 Times in 4 Posts
Default

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
Reply With Quote