!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.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:     S02lvm2-monitor (1.89 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/bash
#
# Copyright (C) 2007 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# This file is part of LVM2.
# It is required for the proper handling of failures of LVM2 mirror
# devices that were created using the -m option of lvcreate.
#
#
# chkconfig: 12345 02 99
# description: Starts and stops dmeventd monitoring for lvm2
#           
### BEGIN INIT INFO
# Provides: 
### END INIT INFO

. /etc/init.d/functions

VGCHANGE="/usr/sbin/vgchange"
WARN=1

start()
{
    ret=0
    # TODO do we want to separate out already active groups only?
    VGS=`vgs --noheadings -o name 2> /dev/null`
    for vg in $VGS
    do
        action "Starting monitoring for VG $vg:" $VGCHANGE --monitor y $vg || ret=$?
    done

    return $ret
}


stop()
{
    ret=0
    # TODO do we want to separate out already active groups only?
    if test "$WARN" = "1"; then
       echo "Not stopping monitoring, this is a dangerous operation. Please use force-stop to override."
       return 1
    fi
    VGS=`vgs --noheadings -o name 2> /dev/null`
    for vg in $VGS
    do
        action "Stopping monitoring for VG $vg:" $VGCHANGE --monitor n $vg || ret=$?
    done
    return $ret
}

result=1

# See how we were called.
case "$1" in
  start)
    start
    result=$?
    ;;

  force-stop)
    WARN=0
    stop
    result=$?
    ;;

  stop)
    test "$runlevel" = "0" && WARN=0
    test "$runlevel" = "6" && WARN=0
    stop
    result=$?
    ;;

  restart)
    WARN=0
    if stop
    then
        start
    fi 
    result=$?
    ;;

  status)
    # TODO anyone with an idea how to dump monitored volumes?
    ;;

  *)
    echo $"Usage: $0 {start|stop|restart|status|force-stop}"
    ;;
esac

exit $result

:: 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 ]--