!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_22222/class/   drwxr-xr-x
Free 52.38 GB of 127.8 GB (40.99%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     clsEnroll.php (1.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /var/www/html/manage_22222/class/clsEnroll.php
Size 1.9 KB
MD5 abc2ff38fbb9859fe153513330d93916
Owner/Group root/root
Perms-rw-r--r--
Create time 06/07/2011 01:44:08
Access time 30/07/2024 15:45:34
MODIFY time 21/08/2009 09:42:07

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
00000450
00000468
00000480
00000498
000004B0
000004C8
000004E0
000004F8
00000510
00000528
00000540
00000558
00000570
00000588
000005A0
000005B8
000005D0
000005E8
00000600
00000618
00000630
00000648
00000660
00000678
00000690
000006A8
000006C0
000006D8
000006F0
00000708
00000720
00000738
00000750
00000768
00000780
3C 3F 70 68 70 0A 2F 2F 2D 2D 43 6C 61 73 73 20 45 6E 72 6F 6C 6C 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
45 6E 72 6F 6C 6C 2E 70 68 70 22 3B 0A 0A 63 6C 61 73 73 20 45 6E 72 6F
6C 6C 20 65 78 74 65 6E 64 73 20 62 61 73 65 5F 45 6E 72 6F 6C 6C 7B 0A
0A 66 75 6E 63 74 69 6F 6E 20 47 65 74 4D 61 78 53 65 42 79 41 63 59 41
6E 64 53 74 59 41 6E 64 50 67 49 64 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 6D 61 78 28 73 65 6D 65 73 74 65 72
29 20 61 73 20 6E 75 6D 20 66 72 6F 6D 20 45 6E 72 6F 6C 6C 20 77 68 65
72 65 20 61 63 61 64 59 65 61 72 3D 27 24 78 4B 65 79 27 20 61 6E 64 20
73 74 75 64 65 6E 74 59 65 61 72 3D 27 24 79 4B 65 79 27 20 61 6E 64 20
70 72 6F 67 72 61 6D 49 64 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
52 53 45 6E 72 6F 6C 6C 42 79 41 63 59 41 6E 64 53 65 41 6E 64 53 74 59
41 6E 64 50 67 49 64 28 24 77 4B 65 79 2C 20 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 45 6E 72
6F 6C 6C 20 77 68 65 72 65 20 61 63 61 64 59 65 61 72 3D 27 24 77 4B 65
79 27 20 61 6E 64 20 73 65 6D 65 73 74 65 72 3D 27 24 78 4B 65 79 27 20
61 6E 64 20 73 74 75 64 65 6E 74 59 65 61 72 3D 27 24 79 4B 65 79 27 20
61 6E 64 20 70 72 6F 67 72 61 6D 49 64 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 4E 65 78 74 53 65 71 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 6D 61 78 28 73 65 71 75
65 6E 63 65 29 20 61 73 20 6E 75 6D 20 66 72 6F 6D 20 45 6E 72 6F 6C 6C
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 2B 31 3B 0A 09 7D 0A 7D 0A 0A 66 75 6E 63 74 69
6F 6E 20 52 53 45 6E 72 6F 6C 6C 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 45 6E 72 6F 6C 6C 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 52 53 45 6E 72 6F 6C 6C 42 79 53 74 49 64 41 6E 64 41 63 59 41
6E 64 53 65 41 6E 64 45 72 53 74 61 74 75 73 28 24 77 4B 65 79 2C 20 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 45 6E 72 6F 6C 6C 20 77 68 65 72 65 20 73 74 75 64 65 6E
74 49 64 3D 27 24 77 4B 65 79 27 20 61 6E 64 20 61 63 61 64 59 65 61 72
3D 27 24 78 4B 65 79 27 20 61 6E 64 20 73 65 6D 65 73 74 65 72 3D 27 24
79 4B 65 79 27 20 61 6E 64 20 65 6E 72 6F 6C 6C 53 74 61 74 75 73 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 4D 61 78 41 63 59 42 79 53 74 49 64 28 24 78 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 6D
61 78 28 61 63 61 64 59 65 61 72 29 20 61 73 20 6E 75 6D 20 66 72 6F 6D
20 45 6E 72 6F 6C 6C 20 77 68 65 72 65 20 73 74 75 64 65 6E 74 49 64 3D
27 24 78 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 4D 61 78 53 65 42 79
53 74 49 64 41 6E 64 41 63 59 28 24 78 4B 65 79 2C 20 24 79 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 6D 61 78 28 73 65 6D 65 73 74 65 72 29 20 61 73 20 6E 75 6D 20
66 72 6F 6D 20 45 6E 72 6F 6C 6C 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 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 52 53 45 6E 72 6F 6C 6C 42
79 53 74 49 64 47 72 6F 75 70 41 63 59 28 24 78 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 61
63 61 64 59 65 61 72 20 66 72 6F 6D 20 45 6E 72 6F 6C 6C 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 67 72 6F 75
70 20 62 79 20 61 63 61 64 59 65 61 72 22 29 3B 0A 7D 0A 0A 66 75 6E 63
74 69 6F 6E 20 52 53 45 6E 72 6F 6C 6C 42 79 53 74 49 64 41 6E 64 41 63
59 47 72 6F 75 70 53 65 28 24 78 4B 65 79 2C 20 24 79 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 65 6D 65 73 74 65 72 20 66 72 6F 6D 20 45 6E 72 6F 6C 6C 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 67 72 6F 75 70
20 62 79 20 73 65 6D 65 73 74 65 72 22 29 3B 0A 7D 0A 0A 7D 20 2F 2F 2D
2D 45 6E 64 20 63 6C 61 73 73 20 45 6E 72 6F 6C 6C 2D 2D 0A 3F 3E 0A
<?php //--Class Enroll--
------------------------
  include_once "clsbase_
Enroll.php";  class Enro
ll extends base_Enroll{ 
 function GetMaxSeByAcYA
ndStYAndPgId($xKey, $yKe
y, $zKey){  $this->SetQu
ery("select max(semester
) as num from Enroll whe
re acadYear='$xKey' and 
studentYear='$yKey' and 
programId='$zKey'");  if
 ($result=$this->GetResu
lt()) {  return $result
['num'];  } }  function 
RSEnrollByAcYAndSeAndStY
AndPgId($wKey, $xKey, $y
Key, $zKey){  $this->Set
Query("select * from Enr
oll where acadYear='$wKe
y' and semester='$xKey' 
and studentYear='$yKey' 
and programId='$zKey'");
 }  function GetNextSeqB
yStIdAndAcYAndSe($xKey, 
$yKey, $zKey){  $this->S
etQuery("select max(sequ
ence) as num from Enroll
 where studentId='$xKey'
 and acadYear='$yKey' an
d semester='$zKey'");  i
f ($result=$this->GetRes
ult()) {  return $resul
t['num']+1;  } }  functi
on RSEnrollByStIdAndAcYA
ndSe($xKey, $yKey, $zKey
){  $this->SetQuery("sel
ect * from Enroll where 
studentId='$xKey' and ac
adYear='$yKey' and semes
ter='$zKey'"); }  functi
on RSEnrollByStIdAndAcYA
ndSeAndErStatus($wKey, $
xKey, $yKey, $zKey){  $t
his->SetQuery("select * 
from Enroll where studen
tId='$wKey' and acadYear
='$xKey' and semester='$
yKey' and enrollStatus='
$zKey'"); }  function Ge
tMaxAcYByStId($xKey){  $
this->SetQuery("select m
ax(acadYear) as num from
 Enroll where studentId=
'$xKey'");  if ($result=
$this->GetResult()) { 
return $result['num']; 
} }  function GetMaxSeBy
StIdAndAcY($xKey, $yKey)
{  $this->SetQuery("sele
ct max(semester) as num 
from Enroll where studen
tId='$xKey' and acadYear
='$yKey'");  if ($result
=$this->GetResult()) { 
return $result['num']; 
} }  function RSEnrollB
yStIdGroupAcY($xKey){  $
this->SetQuery("select a
cadYear from Enroll wher
e studentId='$xKey' grou
p by acadYear"); }  func
tion RSEnrollByStIdAndAc
YGroupSe($xKey, $yKey){ 
$this->SetQuery("select
 semester from Enroll wh
ere studentId='$xKey' an
d acadYear='$yKey' group
 by semester"); }  } //-
-End class Enroll-- ?> 

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 ::
 
[ 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.0163 ]--