• 24-06-2014, 15:03:02
    #1
    SSH girip aşağıdaki komutu uygulayın

    nano /opt/suphp/etc/suphp.conf (bu dosyayı editleyin aşağıdaki satırları bulup başındaki ; sembolünü silin ve dosyayı kaydedip kapatın)

    Başındaki ; sembolleri sileceğiniz bölüm..

    ;application/x-httpd-php=/usr/local/lib/
    ;application/x-httpd-php4=/usr/local/php4/lib/
    ;application/x-httpd-php5=/usr/local/lib/

    Bunu yaptıktan sonra hostuna sahte php.ini yükleyenlerin sahte inileri çalışmaz artık sunucu main yani gerçek php.ini yi baz alır herzaman

    not: bu işlemi yaptıktan sonra sunucuya reboot atmayı unutmayın..


    Ek olarak php.ini dosyanızın sunucunuzu daha fazla güven altına almasını istiyorsanız, disable_functions kısmını aşağıdaki ile değiştirin.

    disable_functions = "ln, cat, popen, pclose, posix_getpwuid, posix_getgrgid, posix_kill, parse_perms, system, dl, passthru, exec, shell_exec, popen, proc_close, proc_get_status, proc_nice, proc_open, escapeshellcmd, escapeshellarg, show_source, posix_mkfifo, mysql_list_dbs, get_current_user, getmyuid, pconnect, link, symlink, pcntl_exec, ini_alter, pfsockopen, leak, apache_child_terminate, posix_kill, posix_setpgid, posix_setsid, posix_setuid, proc_terminate, syslog, fpassthru, stream_select, socket_select, socket_create, socket_create_listen, socket_create_pair, socket_listen, socket_accept, socket_bind, socket_strerror, pcntl_fork, pcntl_signal, pcntl_waitpid, pcntl_wexitstatus, pcntl_wifexited, pcntl_wifsignaled, pcntl_wifstopped, pcntl_wstopsig, pcntl_wtermsig, openlog, apache_get_modules, apache_get_version, apache_getenv, apache_note, apache_setenv, virtual, chmod, file_upload, delete, deleted, edit, fwrite, cmd, rename, unlink, mkdir, mv, touch, cp, cd, pico"
  • 04-07-2014, 03:43:04
    #2
    çok yararlı bişey php.ini ile safe mode off yaparak sitelere sızabiliyorlar

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 03:43:04 -->-> Daha önceki mesaj 03:41:51 --

    teşekkürler bunu herkez yapmalı bence . php.ini ile safe mode off yapabiliyorlar ve sunucudaki diyer sitelere sızmak için yol açılıyor.
  • 14-07-2014, 02:21:12
    #3
    Electr0sis adlı üyeden alıntı: mesajı görüntüle
    SSH girip aşağıdaki komutu uygulayın

    nano /opt/suphp/etc/suphp.conf (bu dosyayı editleyin aşağıdaki satırları bulup başındaki ; sembolünü silin ve dosyayı kaydedip kapatın)

    Başındaki ; sembolleri sileceğiniz bölüm..

    ;application/x-httpd-php=/usr/local/lib/
    ;application/x-httpd-php4=/usr/local/php4/lib/
    ;application/x-httpd-php5=/usr/local/lib/

    Bunu yaptıktan sonra hostuna sahte php.ini yükleyenlerin sahte inileri çalışmaz artık sunucu main yani gerçek php.ini yi baz alır herzaman

    not: bu işlemi yaptıktan sonra sunucuya reboot atmayı unutmayın..


    Ek olarak php.ini dosyanızın sunucunuzu daha fazla güven altına almasını istiyorsanız, disable_functions kısmını aşağıdaki ile değiştirin.

    disable_functions = "ln, cat, popen, pclose, posix_getpwuid, posix_getgrgid, posix_kill, parse_perms, system, dl, passthru, exec, shell_exec, popen, proc_close, proc_get_status, proc_nice, proc_open, escapeshellcmd, escapeshellarg, show_source, posix_mkfifo, mysql_list_dbs, get_current_user, getmyuid, pconnect, link, symlink, pcntl_exec, ini_alter, pfsockopen, leak, apache_child_terminate, posix_kill, posix_setpgid, posix_setsid, posix_setuid, proc_terminate, syslog, fpassthru, stream_select, socket_select, socket_create, socket_create_listen, socket_create_pair, socket_listen, socket_accept, socket_bind, socket_strerror, pcntl_fork, pcntl_signal, pcntl_waitpid, pcntl_wexitstatus, pcntl_wifexited, pcntl_wifsignaled, pcntl_wifstopped, pcntl_wstopsig, pcntl_wtermsig, openlog, apache_get_modules, apache_get_version, apache_getenv, apache_note, apache_setenv, virtual, chmod, file_upload, delete, deleted, edit, fwrite, cmd, rename, unlink, mkdir, mv, touch, cp, cd, pico"

    Sorunsu işe yarıyor safe mode off olunca fake php.ini işliyor safe mode on iken işlemiyor.