ArkadaşLar ,
Genellikle Server Sahibi olan arkadaşlarımızın dert olarak gördüğü C99 ve R57 TARZI Shell Scriptleri Nasıl Engelleyebiliriz?
c99 ve r57 shell lerini çalıştırmasını istemiyorum?
Öncellikle root olarak servera giriş yap
Putty Download ;
http://the.earth.li/~sgtatham/putty/0.59/x86/putty.exe
pico /etc/php.ini yada php ayar dosyasını pico yada nano komutuyla acıyoruz..
disable_function satırının karşısına bunları ekliyoruz ;
system,passthru,exec,popen,proc_close,proc_get_sta tus,proc_nice,proc_open,
allow_url_fopen,shell,shellexec,execute
disable_functions = system,passthru,exec,popen,proc_close,proc_get_sta tus,proc_nice,proc_open,
allow_url_fopen,shell,shellexec,execute
"ctrl+x yapıp kaydet ardından"
service htttpd restart yapıyoruz.
yalnız bu fonksiyonlar disable yapıldıgında bi cok script serverinda çalışmıcaktır ama shell deki cat ve bir çok komut’ta çalışmayacaktır.ALINTIDIR....
ARKADSALAR BU KONU SABIT OLARAK VERILMIS FARKINA VARMADIM UZGUNUM....
Genellikle Server Sahibi olan arkadaşlarımızın dert olarak gördüğü C99 ve R57 TARZI Shell Scriptleri Nasıl Engelleyebiliriz?
c99 ve r57 shell lerini çalıştırmasını istemiyorum?
Öncellikle root olarak servera giriş yap
Putty Download ;
http://the.earth.li/~sgtatham/putty/0.59/x86/putty.exe
pico /etc/php.ini yada php ayar dosyasını pico yada nano komutuyla acıyoruz..
disable_function satırının karşısına bunları ekliyoruz ;
system,passthru,exec,popen,proc_close,proc_get_sta tus,proc_nice,proc_open,
allow_url_fopen,shell,shellexec,execute
disable_functions = system,passthru,exec,popen,proc_close,proc_get_sta tus,proc_nice,proc_open,
allow_url_fopen,shell,shellexec,execute
"ctrl+x yapıp kaydet ardından"
service htttpd restart yapıyoruz.
yalnız bu fonksiyonlar disable yapıldıgında bi cok script serverinda çalışmıcaktır ama shell deki cat ve bir çok komut’ta çalışmayacaktır.ALINTIDIR....
ARKADSALAR BU KONU SABIT OLARAK VERILMIS FARKINA VARMADIM UZGUNUM....
Son düzenleme: