!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)

/usr/bin/   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:     esddsp (1.97 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/sh
# esddsp - wrapper script to allow *some* binary only programs to use esd

# default values for script variables
verbose=0
set_name=0

# check for esddsp options
while test $# -gt 0; do

    case "$1" in

    -h|--help)
        echo "esddsp - attempt to reroute audio device to esd"
        echo " "
        echo "esddsp [options] player arguments"
        echo " "
        echo "options:"
        echo "-h, --help                show brief help"
        echo "-s, --server=HOST:PORT    contact esd server on host at port"
        echo "-m, --mixer               enable mixer support"
        echo "-n, --name=NAME           use name to identify player to esd"
        echo "-v, --verbose             show parameters"
        echo "--mmap                    use memory mapping emulation"
        echo "                          (useful for games like quake)"

        exit 0
        ;;

    -s)
        shift
        if test $# -gt 0; then
            ESPEAKER=$1
            export ESPEAKER
        else
            echo "no server specified"
            exit 1
        fi
        shift
        ;;

    --server*)
        ESPEAKER=`echo $1 | sed -e 's/^[^=]*=//g'`
        export ESPEAKER
        shift
        ;;

    -m|--mixer)
        ESDDSP_MIXER=1
        export ESDDSP_MIXER
        shift
        ;;

    -n)
        shift
        if test $# -gt 0; then
            ESDDSP_NAME=$1
            export ESDDSP_NAME
        else
            echo "no player name specified"
            exit 1
        fi
        shift
        set_name=1
        ;;

    --name*)
        ESDDSP_NAME=`echo $1 | sed -e 's/^[^=]*=//g'`
        export ESDDSP_NAME
        set_name=1
        shift
        ;;

    -v|--verbose)
        verbose=1
        shift
        ;;

    --mmap)
        ESDDSP_MMAP=1
        export ESDDSP_MMAP
        shift
        ;;

    *)
        # no more esddsp options, get on with life
        break
        ;;
    esac
done

# default name to player if not specified
if test "$set_name" = 0; then
    ESDDSP_NAME=$1
    export ESDDSP_NAME
fi

# echo options if verbose specified
if test "$verbose" = 1; then
    echo "server:        $ESPEAKER"
    echo "name:        $ESDDSP_NAME"
    echo "command line:    $@"
fi

# setup esd to hijack calls made to /dev/dsp
prefix=/usr
exec_prefix=/usr

LD_PRELOAD="libesddsp.so.0 libesd.so.0 $LD_PRELOAD"
export LD_PRELOAD

# invoke the program with the args given
exec "$@"

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