!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/rc3.d/   drwxr-xr-x
Free 52.29 GB of 127.8 GB (40.91%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     K69rpcsvcgssd (2.42 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/bash
#
# rpcsvcgssd    Start up and shut down RPCSEC GSS daemon
#
# Authors:    Chuck Lever <cel@netapp.com>
#
# chkconfig: - 19 69
# description: Starts user-level daemon that manages RPCSEC GSS contexts \
#           for the NFSv4 server.

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

# Source networking configuration.
[ -f /etc/sysconfig/network ] && . /etc/sysconfig/network

# Check for and source configuration file otherwise set defaults
[ -f /etc/sysconfig/nfs ] && . /etc/sysconfig/nfs

# See if we are configured to start 
[ "${SECURE_NFS}" != "yes" ] && exit 6

RETVAL=0
LOCKFILE=/var/lock/subsys/rpcsvcgssd
prog="rpc.svcgssd"

case "$1" in
  start|condstart)
    # Check that networking is up.
    [ "${NETWORKING}" != "yes" ] && exit 6
    [ "${SECURE_NFS}" != "yes" ] && exit 6
    [ ! -x /usr/sbin/rpc.svcgssd ] && exit 5

    # Make sure the daemon is not already running.
    if status $prog > /dev/null ; then
        exit 0
    fi
    rm -f $LOCKFILE

    echo -n $"Starting RPC svcgssd: "
    # List of kernel modules to load
    [ -z "${SECURE_NFS_MODS}" ] && SECURE_NFS_MODS="des rpcsec_gss_krb5"


    # Make sure the rpc_pipefs filesystem is available
    [ "${RPCMTAB}" != "noload" ] && {
        RPCMTAB=`grep -v '^#' /proc/mounts | \
            awk '{ if ($3 ~ /^rpc_pipefs$/ ) print $2}'`
        [ -z "${RPCMTAB}" ] && {
            [ -x /sbin/lsmod -a -x /sbin/modprobe ] && {
                if ! /sbin/lsmod | grep sunrpc > /dev/null ; then
                     /sbin/modprobe sunrpc
                fi
            }
            RPCMTAB=`grep -v '^#' /proc/mounts | \
                awk '{ if ($3 ~ /^rpc_pipefs$/ ) print $2}'`
            [ -z "${RPCMTAB}" ] && { \
                echo "Error: RPC MTAB does not exist."
                exit 6
            }
        }
    }
    [ "${SECURE_NFS_MODS}" != "noload" ] && {
        [ -x /sbin/lsmod -a -x /sbin/modprobe ] && {
        # Load rpcsec modules
            for i in ${SECURE_NFS_MODS}
            do 
                if ! /sbin/lsmod | grep $i > /dev/null ;  then
                     /sbin/modprobe $i || {
                        echo "Error: Unable to load '$i' security module."
                        exit 6;
                    }
                fi
            done
        }
    }

    # Start daemon.
    daemon $prog ${RPCSVCGSSDARGS}
    RETVAL=$?
    echo
    [ $RETVAL -eq 0 ] && touch $LOCKFILE
    ;;
  stop)
    # Stop daemon.
    echo -n $"Shutting down RPC svcgssd: "
    killproc $prog
    RETVAL=$?
    echo
    [ $RETVAL -eq 0 ] && rm -f $LOCKFILE
    ;;
  status)
    status rpc.svcgssd
    RETVAL=$?
    ;;
  restart|reload)
    $0 stop
    $0 start
    RETVAL=$?
    ;;
  condrestart)
    if [ -f $LOCKFILE ]; then
        $0 restart
        RETVAL=$?
    fi
    ;;
  *)
    echo $"Usage: $0 {start|stop|restart|condstart|condrestart|status}"
    RETVAL=3
    ;;
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.006 ]--