I modified the code.
It only prints out something if I include a request other than the password
It prints out nothing if I exclude the echo $row['EMAIL'];Code:if(!define('SALT')) define('SALT','n7g7b8necefAs5ecrEv3M72ra'); $result = mysql_query("SELECT * FROM accounts"); while($row = mysql_fetch_array($result)) { echo $row['EMAIL']; echo $row['PASS']; echo AES_DECRYPT('$pass', '.salt'); }
When I can get the unencrypted password to print, it looks like.Code:if(!define('SALT')) define('SALT','n7g7b8necefAs5ecrEv3M72ra'); $result = mysql_query("SELECT * FROM accounts"); while($row = mysql_fetch_array($result)) { echo $row['PASS']; echo AES_DECRYPT('$pass', '.salt'); }
And even then it's only printing out the first row of data, it doesn't print out any of the other information in the table.Code:��������������������




Reply With Quote