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/rc6.d/ drwxr-xr-x |
Viewing file: K02oddjobd (1.75 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | #!/bin/bash # # oddjobd This shell script takes care of starting and stopping # oddjobd. # # chkconfig: - 98 02 # description: oddjobd provides support for unprivileged applications which \ # require one of a set of specified privileged operations to be \ # performed on their behalf. prefix=/usr exec_prefix=/usr bindir=/usr/bin sbindir=/usr/sbin sysconfdir=/etc prog=oddjobd oddjobd=${sbindir}/${prog} pidfile=/var/run/${prog}.pid # Source function library. . /etc/rc.d/init.d/functions [ -f $oddjobd ] || exit 0 start() { # Start daemons. echo -n $"Starting $prog: " daemon ${oddjobd} -p ${pidfile} -t 300 2>/dev/null RETVAL=$? echo if [ $RETVAL -eq 0 ]; then touch /var/lock/subsys/oddjobd if [ -x /usr/bin/logger ]; then /usr/bin/logger -t oddjobd 'oddjobd startup succeeded' fi; else if [ -x /usr/bin/logger ]; then /usr/bin/logger -t oddjobd 'oddjobd startup failed' fi; fi return $RETVAL } stop() { # Stop daemons. echo -n $"Shutting down $prog: " killproc ${oddjobd} RETVAL=$? echo if [ $RETVAL -eq 0 ]; then rm -f /var/lock/subsys/oddjobd if [ -x /usr/bin/logger ]; then /usr/bin/logger -t oddjobd 'oddjobd shutdown succeeded' fi; else if [ -x /usr/bin/logger ]; then /usr/bin/logger -t oddjobd 'oddjobd shutdown failed' fi; fi return $RETVAL } # See how we were called. case "$1" in start) start ;; stop) stop ;; restart) stop start RETVAL=$? ;; reload) killproc ${oddjobd} -HUP RETVAL=$? ;; condrestart) if [ -f /var/lock/subsys/oddjobd ]; then stop start RETVAL=$? fi ;; status) status oddjobd RETVAL=$? ;; *) echo $"Usage: $0 {start|stop|restart|condrestart|reload|status}" exit 1 esac exit $RETVAL |
:: 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.0061 ]-- |