!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.29 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:     amuFormat.sh (3.03 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/csh # # amuFormat.sh Formats various types and sizes of PC-Cards, according to the # AMU-specification # # parameters: $1: Card Type: The Card Type is written as disk/volume-label # to the boot-record # The string should have a length of max. 11 characters. # # $2: Drive character (b:, c:) # # 10-12-2003 lct created # set vers=1.4 set fdrive="f:" #echo "debug: $0,$1,$2,$3,$4" # # main() # echo "amuFormat $vers started..." if ( $#argv == 0 ) then echo "Usage: amuFormat.sh " echo " has to be defined in amuFormat.sh itself" echo " has to be defined in mtools.conf" echo "" exit 0 endif echo "Formatting card in slot $2 as $1" if ( $1 == "8MBCARD-FW" ) then ## determine formatting drive if ( ($2 == "b:") || ($2 == "B:") ) then set fdrive = "f:" else if ( ($2 == "c:") || ($2 == "C:" ) ) then set fdrive = "g:" else echo "Drive $2 not supported." exit 1 endif ## initialise partition table mpartition -I $fdrive # write a partition table mpartition -c -t245 -h2 -s32 -b32 $fdrive ## using the f: or g: drive for fat12 formatting... ## see mtools.conf file... mformat -c8 -v 8MBCARD-FW $fdrive minfo $2 mdir $2 echo "done." exit 0 endif if ( $1 == "32MBCARD-FW" ) then #from amu_toolkit_0_6: mformat -t489 -h4 -c4 -n32 -H32 -r32 -vPC-CARD -M512 -N0000 c: ## initialise partition table mpartition -I $2 ## write a partition table mpartition -c -t489 -h4 -s32 -b32 $2 ## write boot-record, two FATs and a root-directory mformat -c4 -v 32MBCARD-FW $2 minfo $2 mdir $2 echo "done." exit 0 endif if ( $1 == "64MBCARD-FW" ) then echo "***** WARNING: untested on AvHMU, exiting *****" exit 0 ## initialise partition table mpartition -I $2 ## write a partition table mpartition -c -t245 -h2 -s32 -b32 $2 ## write boot-record, two FATs and a root-directory mformat -c8 -v 64MBCARD-FW $2 minfo $2 mdir $2 echo "done." exit 0 endif if ( $1 == "1GBCARD-FW" ) then # from amu_toolkit_0_6: mformat -t2327 -h16 -c64 -n63 -H63 -r32 -v AMU-CARD -M512 -N 0000 c: echo "***** WARNING: untested on AvHMU *****" ## initialise partition table mpartition -I $2 # write a partition table mpartition -c -t2327 -h16 -s32 -b32 $2 ## write boot-record, two FATs and a root-directory mformat -c64 -v 1GBCARD-FW $2 minfo $2 mdir $2 echo "done." exit 0 endif if ( $1 == "64MBCARDSAN" ) then # from amu_toolkit_0_6: mformat -t489 -h8 -c4 -n32 -H32 -r32 -v AMU-CARD -M512 -N 0000 c: ## initialise partition table mpartition -I $2 # write a partition table mpartition -c -t489 -h8 -s32 -b32 $2 ## write boot-record, two FATs and a root-directory mformat -c4 -v 64MBCARDSAN $2 minfo $2 mdir $2 echo "done." exit 0 endif # # insert new cards here... # echo "Card not supported." exit 1

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