Re: New Module
| From: | Keyser Soze | Date: | Tue, 05 Mar 2002 13:20:10 +0000 |
| Subject: | Re: New Module | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80737@lists.php.net to get a copy of this message | ||
it's much easier to detect a modification of a script instead of just a "cat
dbconf.php".
Keyser Soze
----Original Message-----
What stops the hacker from doing:
$vars_db = cfg_get("db.cfg");
connect($conf[dbhost], $conf[dbname] , $conf[dbuser] , $conf[dbpass] );
print_r($conf); // or var_dump($conf);
?
> And the encryption method can be changed easily, just doing a new
> libmycrypt.so. Like I said, libmycrypt.so is meant to have the funtionc
> (char *)my_crypt(char *) and (char *)my_decrypt(char *).
> The encryption method will be the user/admin choice.
>
--
Robin Ericsson <lobbin at localhost dot nu>
"The secret of flying is to throw yourself at the ground, and miss."
-- Douglas Adams
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php