[Easymod-cvs] easymod2/mods/easymod easymod_install.php,1.33,1.34
Status: Beta
Brought to you by:
wgeric
From: Markus P. <mar...@us...> - 2005-11-02 09:31:28
|
Update of /cvsroot/easymod/easymod2/mods/easymod In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12026/mods/easymod Modified Files: easymod_install.php Log Message: Changed the way the EM password is passed between panels. Index: easymod_install.php =================================================================== RCS file: /cvsroot/easymod/easymod2/mods/easymod/easymod_install.php,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** easymod_install.php 2 Nov 2005 06:23:15 -0000 1.33 --- easymod_install.php 2 Nov 2005 09:31:21 -0000 1.34 *************** *** 1639,1652 **** $db->sql_freeresult($result); - // added security starting in 0.0.11, md5 the em pass $em_md5 = md5($em_pass) ; // added security starting in 0.0.11, blowfish encrypt the ftp_pass ! include($phpbb_root_path . $script_path . 'em_includes/em_cipher.'.$phpEx) ; ! $cipher = new Cipher_BlockMode_cbc(); ! $cipher->blowfish->setKey( $em_pass); ! $ftp_cipher = $cipher->encrypt($ftp_pass) ; ! // if not, add the fields if ( $rows == 0) --- 1639,1648 ---- $db->sql_freeresult($result); // added security starting in 0.0.11, md5 the em pass $em_md5 = md5($em_pass) ; // added security starting in 0.0.11, blowfish encrypt the ftp_pass ! $ftp_cipher = crypt_ftp_pass(EM_ENCRYPT, $ftp_pass, $em_md5); ! // if not, add the fields if ( $rows == 0) |