# HG changeset patch # User Dan # Date 1182521774 14400 # Node ID c96a9b56f16caaa858746b7c19dade5807e80f7b # Parent ccad6026a16871e62ddcfe6d4fe9e523e671f361 Fixed problems with installer and config file (chdir and error-connecting-to-MySQL issues) diff -r ccad6026a168 -r c96a9b56f16c includes/common.php --- a/includes/common.php Thu Jun 21 12:00:16 2007 -0400 +++ b/includes/common.php Fri Jun 22 10:16:14 2007 -0400 @@ -18,7 +18,7 @@ Hacking Attempt

Hacking attempt using PHP $GLOBALS overwrite vulnerability detected, reported to admin

You're worse than this guy! Unless you are this guy...

Powered by Enano and valid XHTML 1.1

+

You been f***ed by Enano | valid XHTML 1.1

gen_readymade_key(); @@ -980,6 +994,11 @@ echo 'Decrypting administration password...'; require('config.php'); + if ( !isset($cryptkey) ) + { + echo 'failed!
Cannot get the key from config.php'; + break; + } $aes = new AESCrypt(AES_BITS, AES_BLOCKSIZE); $key = $aes->hexToByteArray($cryptkey); $enc = $aes->hexToByteArray($_POST['crypt_data']);