!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/cron.weekly/   drwxr-xr-x
Free 52.28 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:     99-raid-check (1.89 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/bash # # This script reads it's configuration from /etc/sysconfig/raid-check # Please use that file to enable/disable this script or to set the # type of check you wish performed. [ -f /etc/sysconfig/raid-check ] || exit 0 . /etc/sysconfig/raid-check [ "$ENABLED" != "yes" ] && exit 0 case "$CHECK" in check) ;; repair) ;; *) exit 0;; esac active_list=`grep "^md.*: active" /proc/mdstat | cut -f 1 -d ' '` [ -z "$active_list" ] && exit 0 dev_list="" check_list="" devnum=0 for dev in $active_list; do echo $SKIP_DEVS | grep -w $dev >/dev/null 2>&1 && continue if [ -f /sys/block/$dev/md/sync_action ]; then # Only perform the checks on idle, healthy arrays, but delay # actually writing the check field until the next loop so we # don't switch currently idle arrays to active, which happens # when two or more arrays are on the same physical disk array_state=`cat /sys/block/$dev/md/array_state` sync_action=`cat /sys/block/$dev/md/sync_action` if [ "$array_state" = clean -a "$sync_action" = idle ]; then ck="" echo $REPAIR_DEVS | grep -w $dev >/dev/null 2>&1 && ck="repair" echo $CHECK_DEVS | grep -w $dev >/dev/null 2>&1 && ck="check" [ -z "$ck" ] && ck=$CHECK dev_list="$dev_list $dev" check[$devnum]=$ck let devnum++ [ "$ck" = "check" ] && check_list="$check_list $dev" fi fi done [ -z "$dev_list" ] && exit 0 devnum=0 for dev in $dev_list; do echo "${check[$devnum]}" > /sys/block/$dev/md/sync_action let devnum++ done [ -z "$check_list" ] && exit 0 checking=1 while [ $checking -ne 0 ] do sleep 60 checking=0 for dev in $check_list; do sync_action=`cat /sys/block/$dev/md/sync_action` if [ "$sync_action" != "idle" ]; then checking=1 fi done done for dev in $check_list; do mismatch_cnt=`cat /sys/block/$dev/md/mismatch_cnt` if [ "$mismatch_cnt" -ne 0 ]; then echo "WARNING: mismatch_cnt is not 0 on /dev/$dev" fi done

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