A mere config.php encoding is useless
1 Attachment(s)
Some developers say: "To protect yourself from hackers attacks, encode your config.php" and some other advices.
The mere encoding that is applied to config.php isn't enough. Because if the hacker has the ability to (create or edit) and excute php files on your filesystem, he would be able to read your config.php variables even if config.php is encoded. This is very simple and powerful script, it reads your encoded config.php, treats the $config array, and dissplays the variables in nice table. PHP Code:
This doesn't mean that vBulletin is insecure, this can be applied to any script. The solution is at your host, so choose an excellent host. Don't forget to protect your directories. |
Quote:
Noone should be able to create random files on your filesystem in the first place. This can only be done via pretty unsecure uploading scripts or such.... Always be carfull with those! |
Quote:
PHP Code:
but happience if you change the name of the variable $config, rename $config['Database']['dbname']; to $myconfig['Database']['dbname']; and change the class files but what's the solution !!! by anther meaning, what do you meant "excellent host", explain more if you can thanks :) |
Hellcat said : "This can only be done via pretty unsecure uploading scripts or such...."
And if your host is not profissional, you will face some problems with him. A friend of mine, had givem me my config.php, and I was confused about this, I don't have any upload script on my site but ecdownloads only, and it's secure. I don't allow members to upload files at risk rates. He could to create files in my active 777 directories. So I moved to a new host. and protected my active 777 directories. Thanks :) |
All times are GMT. The time now is 11:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|