!c99Shell v. 1.0 pre-release build #16!

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
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/etc/rc.d/rc4.d/   drwxr-xr-x
Free 52.26 GB of 127.8 GB (40.89%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     S26apmd (1.4 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/sh
#
# chkconfig: 2345 26 74
# description: apmd is used for monitoring battery status and logging it via \
#    syslog(8). It can also be used for shutting down the machine when \
#    the battery is low.
# processname: apmd
# config: /etc/sysconfig/apmd
# clock: /etc/sysconfig/clock

# If APM isn't supported by the kernel, try loading the module...
[ -e /proc/apm ] || /sbin/modprobe apm &>/dev/null

# Don't bother if /proc/apm still doesn't exist, kernel doesn't have
# support for APM.
[ -e /proc/apm ] || exit 0

CONFIG=/etc/sysconfig/apmd

# Source function library.
. /etc/init.d/functions

RETVAL=0

start() {
    echo -n $"Starting up APM daemon: "
    test -r "$CONFIG" && . "$CONFIG"
    daemon /usr/sbin/apmd -p $LOGPERCENTCHANGE -w $WARNPERCENT $ADDPARAMS \
        -P /etc/sysconfig/apm-scripts/apmscript
    RETVAL=$?
    [ $RETVAL -eq 0 ] && touch /var/lock/subsys/apmd
    echo
    return $RETVAL
}

stop() {
    echo -n $"Shutting down APM daemon: "
    killproc apmd
    RETVAL=$?
    [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/apmd
    echo
    return $RETVAL
}

dostatus() {
    status apmd
}

restart() {
    stop
    start
}

condrestart() {
    [ -e /var/lock/subsys/apmd ] && restart || :
}

# See how we were called.
case "$1" in
  start)
    start
    ;;
  stop)
    stop
    ;;
  status)
    dostatus
    ;;
  restart|reload)
    restart
    ;;
  condrestart)
    condrestart
    ;;
  *)
    echo $"Usage: apmd {start|stop|status|restart|reload|condrestart}"
    exit 1
esac

exit $RETVAL

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0054 ]--