
12-08-2009, 03:47 PM
|
|
Newbie
|
|
Join Date: Dec 2009
Posts: 22
|
|
Hi guyz
can anyone guide me for following
creation,Suspending,Terminating cpanel accounts using SHELL
MySQL Database restore using shell command
Iam new to VPS, any educational resources plz?
I heard the following php functions must be disabled
Quote:
"apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd, eval, exec, 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, shell_exec, syslog, system, xmlrpc_entity_decode"
i doubt about shell_exec as it gives error during uninstalling an app installed using fantastico
|

12-08-2009, 06:12 PM
|
|
WebHostingTalk Lover
|
|
Join Date: Mar 2003
Location: New York City
Posts: 7,393
|
|
Hi
Please explain exactly what you're trying/wanting to do.
Cpanel is simple, /scripts/suspendacct , /scripts/killacct will take care of suspension termination, but I think you can hop on http://forums.cpanel.net for more info if you're looking directly for info on cpanel commands.
Good luck
__________________
█• CirtexHosting • Providing Affordable and Quality Web Hosting & Reseller Hosting since 2003
█• LINUX based cPANEL/WHM Shared and Reseller Web Hosting with Fantastico
█• HostV VPS • Premium Virtual Private Servers & Dedicated Servers powered by cPanel/WHM
█• We transfer your sites over quickly! • I eat penguins for breakfast ...
|

12-09-2009, 03:06 AM
|
|
Newbie
|
|
Join Date: Dec 2009
Posts: 22
|
|
i want to disable following pghp functions as i heard they are harmful
"apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd, eval, exec, 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, shell_exec, syslog, system, xmlrpc_entity_decode"
i doubt about shell_exec as it gives error during uninstalling an app installed using fantastico
|

12-09-2009, 03:32 AM
|
|
New Member
|
|
Join Date: Dec 2009
Posts: 1
|
|
Use this list of hamful php functions:
disable_functions = dl, shell_exec, exec, system, passthru, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, symlink, ini_restore, popen, disk_free_space
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|