Advertisement
scriptz-team

[TUT] SECURE YOUR VPS - TiP #3 - DiSABLE DANGEROUS FUNCTiONS

May 5th, 2012
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. _____ _____ _ _____ _____ _____ _____ _____ _____
  2. ___| | __ |_| _ |_ _|___ ___|_ _| __| _ | |
  3. |_ -| --| -| | __| | | |- _|___| | | | __| | | | |
  4. |___|_____|__|__|_|__| |_| |___| |_| |_____|__|__|_|_|_|
  5. |s C R i P T z - T E A M . i N F O|████████████████████████████
  6.  
  7. - iNfO -
  8.  
  9. [TUT] SECURE YOUR VPS - TiP #3 - DiSABLE DANGEROUS FUNCTiONS
  10.  
  11. - NOtIcE -
  12.  
  13. #LOGiN iNTO SSH CONSOLE
  14. #TYPE vi /etc/php.ini
  15. #CHANGE
  16. disable_functions =
  17. TO
  18. disable_functions = apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd, eval, fp, fput, ftp_connect, ftp_exec, ftp_get, ftp_login, ftp_nb_fput, ftp_put, ftp_raw, ftp_rawlist, highlight_file, ini_alter, ini_get_all, ini_restore, inject_code, mysql_pconnect, openlog, passthru, php_uname, phpAds_remoteInfo, phpAds_XmlRpc, phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, syslog, system, xmlrpc_entity_decode, exec, shell_exec, curl_multi_exec, show_source
  19. #SAVE php.ini FiLE ViA :w
  20. #QUiT EDiTiNG FiLE ViA :q
  21. #RESTART HTTPD SERViCE ViA service httpd restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement