!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:     clsStudyPlan.php (2.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /var/www/html/manage_22222/class/clsStudyPlan.php
Size 2.27 KB
MD5 0a6e2d647656c807237694bf4b364ae3
Owner/Group root/root
Perms-rw-r--r--
Create time 06/07/2011 01:44:08
Access time 30/07/2024 15:50:22
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
00000798
000007B0
000007C8
000007E0
000007F8
00000810
00000828
00000840
00000858
00000870
00000888
000008A0
000008B8
000008D0
000008E8
00000900
3C 3F 70 68 70 0A 2F 2F 2D 2D 43 6C 61 73 73 20 53 74 75 64 79 50 6C 61
6E 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 53 74 75 64 79 50 6C 61 6E 2E 70 68 70 22 3B 0A 0A 63 6C 61 73
73 20 53 74 75 64 79 50 6C 61 6E 20 65 78 74 65 6E 64 73 20 62 61 73 65
5F 53 74 75 64 79 50 6C 61 6E 20 7B 0A 0A 66 75 6E 63 74 69 6F 6E 20 52
53 53 74 75 64 79 50 6C 61 6E 42 79 50 67 49 64 41 6E 64 53 74 59 41 6E
64 53 65 41 6E 64 43 64 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
53 74 75 64 79 50 6C 61 6E 20 77 68 65 72 65 20 70 72 6F 67 72 61 6D 49
64 3D 27 24 77 4B 65 79 27 20 61 6E 64 20 73 74 75 64 65 6E 74 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 63 6F 6E 64 69 74 69 6F 6E 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 52 53
53 74 75 64 79 50 6C 61 6E 42 79 50 67 49 64 41 6E 64 53 74 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 73 71 6C 3D 22 73 65 6C 65 63 74 20 2A 20 0A 09 09 09 66 72 6F
6D 20 53 74 75 64 79 50 6C 61 6E 20 0A 09 09 09 77 68 65 72 65 20 70 72
6F 67 72 61 6D 49 64 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 73 65 6D 65
73 74 65 72 3D 27 24 7A 4B 65 79 27 22 3B 0A 09 24 74 68 69 73 2D 3E 53
65 74 51 75 65 72 79 28 24 73 71 6C 29 3B 0A 7D 0A 0A 66 75 6E 63 74 69
6F 6E 20 52 53 53 74 75 64 79 50 6C 61 6E 42 79 50 67 49 64 47 72 6F 75
70 53 74 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 73 74 75 64 65 6E 74 59 65 61
72 20 66 72 6F 6D 20 53 74 75 64 79 50 6C 61 6E 20 77 68 65 72 65 20 70
72 6F 67 72 61 6D 49 64 3D 27 24 78 4B 65 79 27 20 67 72 6F 75 70 20 62
79 20 73 74 75 64 65 6E 74 59 65 61 72 22 29 3B 0A 7D 0A 0A 66 75 6E 63
74 69 6F 6E 20 52 53 53 74 75 64 79 50 6C 61 6E 42 79 50 67 49 64 41 6E
64 53 74 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 53 74 75 64 79 50
6C 61 6E 20 77 68 65 72 65 20 70 72 6F 67 72 61 6D 49 64 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 67 72 6F 75 70 20 62 79 20 73 65 6D 65 73 74 65 72 22 29 3B
0A 7D 0A 0A 66 75 6E 63 74 69 6F 6E 20 52 53 53 74 75 64 79 50 6C 61 6E
42 79 50 67 49 64 41 6E 64 43 6F 49 64 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 2A 20 66 72 6F 6D 20 53 74 75 64 79 50 6C 61 6E 20 77
68 65 72 65 20 70 72 6F 67 72 61 6D 49 64 3D 27 24 78 4B 65 79 27 20 61
6E 64 20 63 6F 75 72 73 65 49 64 3D 27 24 79 4B 65 79 27 22 29 3B 0A 7D
0A 0A 66 75 6E 63 74 69 6F 6E 20 52 53 53 74 75 64 79 50 6C 61 6E 42 79
50 67 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 2A 20 66 72 6F 6D 20 53 74 75
64 79 50 6C 61 6E 20 77 68 65 72 65 20 70 72 6F 67 72 61 6D 49 64 3D 27
24 78 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 43 72 65 64 69 74 54 6F 74 61 6C 42 79 50 67 49 64 41 6E 64
53 74 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 63 72 65 64 69 74 54 6F 74 61 6C 29
20 61 73 20 6E 75 6D 20 66 72 6F 6D 20 53 74 75 64 79 50 6C 61 6E 2C 20
43 6F 75 72 73 65 20 77 68 65 72 65 20 70 72 6F 67 72 61 6D 49 64 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 73 65 6D 65 73 74 65 72 3D 27 24 7A 4B
65 79 27 20 61 6E 64 20 53 74 75 64 79 50 6C 61 6E 2E 63 6F 75 72 73 65
49 64 3D 43 6F 75 72 73 65 2E 63 6F 75 72 73 65 49 64 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 43 72 65 64 69 74 54 6F 74 61 6C 42 79 50 67 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 73 75 6D 28 63 72 65 64 69 74 54 6F 74 61
6C 29 20 61 73 20 6E 75 6D 20 66 72 6F 6D 20 53 74 75 64 79 50 6C 61 6E
2C 20 43 6F 75 72 73 65 20 77 68 65 72 65 20 70 72 6F 67 72 61 6D 49 64
3D 27 24 78 4B 65 79 27 20 61 6E 64 20 53 74 75 64 79 50 6C 61 6E 2E 63
6F 75 72 73 65 49 64 3D 43 6F 75 72 73 65 2E 63 6F 75 72 73 65 49 64 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 43 72 65 64 69 74 31 42 79 50 67 49
64 41 6E 64 53 74 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 63 72 65 64 69 74 31 29
20 61 73 20 6E 75 6D 20 66 72 6F 6D 20 53 74 75 64 79 50 6C 61 6E 2C 20
43 6F 75 72 73 65 20 77 68 65 72 65 20 70 72 6F 67 72 61 6D 49 64 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 73 65 6D 65 73 74 65 72 3D 27 24 7A 4B
65 79 27 20 61 6E 64 20 53 74 75 64 79 50 6C 61 6E 2E 63 6F 75 72 73 65
49 64 3D 43 6F 75 72 73 65 2E 63 6F 75 72 73 65 49 64 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 43 72 65 64 69 74 32 42 79 50 67 49 64 41 6E 64 53
74 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 63 72 65 64 69 74 32 29 20 61 73 20 6E
75 6D 20 66 72 6F 6D 20 53 74 75 64 79 50 6C 61 6E 2C 20 43 6F 75 72 73
65 20 77 68 65 72 65 20 70 72 6F 67 72 61 6D 49 64 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 73 65 6D 65 73 74 65 72 3D 27 24 7A 4B 65 79 27 20 61
6E 64 20 53 74 75 64 79 50 6C 61 6E 2E 63 6F 75 72 73 65 49 64 3D 43 6F
75 72 73 65 2E 63 6F 75 72 73 65 49 64 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 53 74 75 64 79 50 6C 61 6E 2D 2D 0A 3F 3E 0A
<?php //--Class StudyPla
n-----------------------
---  include_once "clsba
se_StudyPlan.php";  clas
s StudyPlan extends base
_StudyPlan {  function R
SStudyPlanByPgIdAndStYAn
dSeAndCdId($wKey, $xKey,
 $yKey, $zKey){  $this->
SetQuery("select * from 
StudyPlan where programI
d='$wKey' and studentYea
r='$xKey' and semester='
$yKey' and conditionId='
$zKey'"); }  function RS
StudyPlanByPgIdAndStYAnd
Se($xKey, $yKey, $zKey){
  $sql="select *   fro
m StudyPlan   where pr
ogramId='$xKey' and stud
entYear='$yKey' and seme
ster='$zKey'";  $this->S
etQuery($sql); }  functi
on RSStudyPlanByPgIdGrou
pStY($xKey){  $this->Set
Query("select studentYea
r from StudyPlan where p
rogramId='$xKey' group b
y studentYear"); }  func
tion RSStudyPlanByPgIdAn
dStYGroupSe($xKey, $yKey
){  $this->SetQuery("sel
ect semester from StudyP
lan where programId='$xK
ey' and studentYear='$yK
ey' group by semester");
 }  function RSStudyPlan
ByPgIdAndCoId($xKey, $yK
ey){  $this->SetQuery("s
elect * from StudyPlan w
here programId='$xKey' a
nd courseId='$yKey'"); }
  function RSStudyPlanBy
PgId($xKey){  $this->Set
Query("select * from Stu
dyPlan where programId='
$xKey'"); }  function Ge
tSumCreditTotalByPgIdAnd
StYAndSe($xKey, $yKey, $
zKey){  $this->SetQuery(
"select sum(creditTotal)
 as num from StudyPlan, 
Course where programId='
$xKey' and studentYear='
$yKey' and semester='$zK
ey' and StudyPlan.course
Id=Course.courseId");  i
f ($result=$this->GetRes
ult()) {  return $resul
t['num'];  } }  function
 GetSumCreditTotalByPgId
($xKey){  $this->SetQuer
y("select sum(creditTota
l) as num from StudyPlan
, Course where programId
='$xKey' and StudyPlan.c
ourseId=Course.courseId"
);  if ($result=$this->G
etResult()) {  return $
result['num'];  } }  fun
ction GetSumCredit1ByPgI
dAndStYAndSe($xKey, $yKe
y, $zKey){  $this->SetQu
ery("select sum(credit1)
 as num from StudyPlan, 
Course where programId='
$xKey' and studentYear='
$yKey' and semester='$zK
ey' and StudyPlan.course
Id=Course.courseId");  i
f ($result=$this->GetRes
ult()) {  return $resul
t['num'];  } }  function
 GetSumCredit2ByPgIdAndS
tYAndSe($xKey, $yKey, $z
Key){  $this->SetQuery("
select sum(credit2) as n
um from StudyPlan, Cours
e where programId='$xKey
' and studentYear='$yKey
' and semester='$zKey' a
nd StudyPlan.courseId=Co
urse.courseId");  if ($r
esult=$this->GetResult()
) {  return $result['nu
m'];  } }  } //--End cla
ss StudyPlan-- ?> 

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.0185 ]--