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


Viewing file:     K85mdmpd (1.58 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/bash
# 
# mdmdp		This starts, stops, and reloads the mdmpd-based
#		multipath device monitoring and management facility
#
# chkconfig: - 15 85
# description: multipath device monitoring and management
#

# Copyright 2002 Red Hat, Inc.

PATH=/sbin:/usr/sbin:$PATH
RETVAL=0

prog=mdmpd

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

# Make sure configuration file exists and has information we can use
# MAILADDR or PROGRAM or both must be set in order to run mdadm --monitor
#[ -f /etc/mdadm.conf ] || exit 0
#grep '^\(MAILADDR\|PROGRAM\) .' /etc/mdadm.conf >/dev/null 2>&1 || exit 0


usage ()
{
    echo "Usage: service $prog {start|stop|status|restart|condrestart}"
    RETVAL=1
}


start ()
{
    ulimit -S -c 0 >/dev/null 2>&1
    # clean up in case we went down unexpectedly
    rm -f /var/run/$prog/*
    echo -n $"Starting $prog: "
    daemon mdmpd
    # hack: wait for mdadm to die, assume success if it doesn't die quickly
    usleep 100000
    pid=`pidof -o $$ -o $PPID -o %PPID -x $prog`
    if [ -n "$pid" ] ; then
	success $"mdmpd"
        touch /var/lock/subsys/$prog
	echo "$pid" > /var/run/$prog.pid
	RETVAL=0
    else
	failure $"mdmpd"
	RETVAL=1
    fi
    echo
}

stop ()
{
    echo -n $"Stopping $prog: "
    killproc $prog
    echo
    rm -f /var/run/$prog.pid
    rm -f /var/lock/subsys/$prog
}

restart ()
{
    stop
    start
}

condrestart ()
{
    [ -e /var/lock/subsys/$prog ] && restart
}


case "$1" in
    start) start ;;
    stop) stop ;;
    status) status $prog ;;
    restart|reload) restart ;;
    condrestart) condrestart ;;
    *) usage ;;
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.0057 ]--