Tekil Mesaj gösterimi
Eski 22 Mayıs 2022, 01:45   #1
Çevrimdışı
Leydihan
Avatarsız Forumel Üyesi
Üyelerin profil bilgilerini yalnızca kayıtlı üyeler görüntüleyebilir. Lütfen kaydol bağlantısından üye olunuz.
Varsayılan vBulletin Config.php Dosyasının Yerini Değiştirme / config.php Yolu

vBulletin Config.php Dosyasının Yerini Değiştirme / config.php Yolu

vBulletin Config.php Dosyasının Yerini Değiştirme / config.php Yolunu Değiştirme






config.php nin adını değiştirin //
vbulletin kullananlar bilir tum veritabanı şifreleri config.php de yazılıdır. Dolayısıyla bu dosyaya dışarıdan herhangi bir saldırı yapılmasını engellemek için ismini değiştirmek isteyebilirsiniz O zaman aşağıdaki anlatılanları uygulayın.





PHP Kodu:
includes/class_core.php 


BUL

PHP Kodu:
  include(CWD '/includes/config.php');
        if (
sizeof($config) == 0)
        {
            if (
file_exists(CWD'/includes/config.php'))
            {
                
// config.php exists, but does not define $config
                
die('<br /><br  /><strong>Configuration</strong>: includes/config.php  exists, but is not in the 3.6+ format. Please convert your config file  via the new config.php.new.');
            }
            else
            {
                die(
'<br /><br  /><strong>Configuration</strong>: includes/config.php  does not exist. Please fill out the data in config.php.new and rename it  to config.php');
            }
        } 



ALTTAKIYLE DEĞİŞTİR

PHP Kodu:
include(CWD ''/includes/ifconfig.php);
        if (
sizeof($config) == 0)
        {
            if (
file_exists(CWD'/includes/ifconfig.php'))
            {
                
// config.php exists, but does not define $config
                
die('<br /><br  /><strong>Configuration</strong>: includes/config.php  exists, but is not in the 3.6+ format. Please convert your config file  via the new config.php.new.');
            }
            else
            {
                die(
'<br /><br  /><strong>Configuration</strong>: includes/config.php  does not exist. Please fill out the data in config.php.new and rename it  to config.php');
            }
        } 


Bu işlemden sonra config.php dosyanızı ifconfig.php olarak değiştirebilirsiniz Tabiki bu ornek. dosyaya istediğiniz ismi verebilirsiniz Hatta includes içinde bir klasör oluşturup içine yukleyebilir ve bu klasörü kontrolpanelden şifreleyebilir, Yukarıdaki kodlardada ona gore değişiklik yapabilirsiniz.

[NOT: vbulletin versiyon yukseltmelerinde problemle karşılasabilirsiniz,yukseltmeyi orjinal dosya ile yapınız