Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /etc/rc.d/init.d/ drwxr-xr-x |
Viewing file: psacct (1.01 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | #!/bin/bash # # psacct Script to control kernel process accounting # # Author: Mike A. Harris <mharris@redhat.com> # # chkconfig: - 90 10 # description: Starts and stops process accounting # Source function library. . /etc/init.d/functions # The location of the accounting file ACCTFILE=/var/account/pacct start() { [ ! -r $ACCTFILE ] && touch $ACCTFILE && chmod 600 $ACCTFILE action $"Starting process accounting: " /sbin/accton $ACCTFILE touch /var/lock/subsys/psacct } stop() { action $"Shutting down process accounting: " /sbin/accton rm -f /var/lock/subsys/psacct } # See how we were called. case "$1" in start) start ;; stop) stop ;; status) if [ -e /var/lock/subsys/psacct ]; then echo $"Process accounting is enabled." else echo $"Process accounting is disabled." exit 3 fi ;; restart|reload) stop start ;; *) # do not advertise unreasonable commands that there is no reason # to use with this device echo $"Usage: $0 {start|stop|status|restart|reload}" exit 1 esac exit 0 |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.006 ]-- |