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


Viewing file:     InsertReportIndictor.php (1.73 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /var/www/html/manage/Plan_new/InsertReportIndictor.php
Size 1.73 KB
MD5 bdc67b7ca270a04ead7f4aeedcda7e1b
Owner/Group apache/apache
Perms-rw-r--r--
Create time 11/09/2013 22:41:14
Access time 11/07/2024 09:28:04
MODIFY time 11/09/2013 22:41:14

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
3C 3F 70 68 70 0D 0A 0D 0A 09 73 65 73 73 69 6F 6E 5F 73 74 61 72 74 28
29 3B 0D 0A 09 0D 0A 09 2F 2A 2A 20 20 44 65 66 69 6E 65 20 56 61 6C 69
64 61 74 65 20 41 63 63 65 73 73 20 20 2A 2F 0D 0A 09 64 65 66 69 6E 65
28 20 27 5F 56 41 4C 49 44 5F 41 43 43 45 53 53 27 2C 20 31 20 29 3B 0D
0A 0D 0A 09 2F 2A 2A 20 20 43 68 65 63 6B 20 53 65 73 73 69 6F 6E 20 55
73 65 72 20 4C 6F 67 69 6E 20 20 2A 2F 0D 0A 09 69 66 20 28 21 20 73 65
73 73 69 6F 6E 5F 69 73 5F 72 65 67 69 73 74 65 72 65 64 28 22 76 61 6C
69 64 5F 75 73 65 72 22 29 20 29 20 7B 0D 0A 09 09 65 63 68 6F 20 22 3C
6D 65 74 61 20 68 74 74 70 2D 65 71 75 69 76 3D 5C 22 43 6F 6E 74 65 6E
74 2D 54 79 70 65 5C 22 20 63 6F 6E 74 65 6E 74 3D 5C 22 74 65 78 74 2F
68 74 6D 6C 3B 20 63 68 61 72 73 65 74 3D 77 69 6E 64 6F 77 73 2D 38 37
34 5C 22 20 2F 3E 22 3B 0D 0A 09 09 65 63 68 6F 20 22 3C 70 20 73 74 79
6C 65 3D 70 61 64 64 69 6E 67 2D 74 6F 70 3A 31 31 35 70 78 3E 3C 70 20
61 6C 69 67 6E 3D 63 65 6E 74 65 72 3E 3C 62 72 20 2F 3E 3C 66 6F 6E 74
20 63 6F 6C 6F 72 3D 72 65 64 3E 3C 73 74 72 6F 6E 67 3E A1 C3 D8 B3 D2
B7 D3 A1 D2 C3 20 4C 6F 67 69 6E 20 A1 E8 CD B9 3C 2F 73 74 72 6F 6E 67
3E 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 3C 2F 70 3E 22 3B 0D 0A 09 09 65 63
68 6F 20 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 20 55 52
4C 3D 2E 2E 2F 6C 6F 67 69 6E 2E 70 68 70 5C 22 20 2F 3E 22 3B 0D 0A 09
09 65 78 69 74 28 29 3B 0D 0A 09 7D 20 0D 0A 09 65 6C 73 65 20 7B 0D 0A
09 09 2F 2A 2A 20 20 43 6F 6E 66 69 67 75 72 61 74 69 6F 6E 20 20 2A 2F
0D 0A 09 09 72 65 71 75 69 72 65 5F 6F 6E 63 65 28 20 22 2E 2E 2F 63 6F
6E 66 69 67 75 72 61 74 69 6F 6E 2E 70 68 70 22 20 29 3B 0D 0A 09 09 72
65 71 75 69 72 65 5F 6F 6E 63 65 28 20 24 5F 43 6F 6E 66 69 67 5F 61 62
73 6F 6C 75 74 65 5F 70 61 74 68 20 2E 20 22 2F 69 6E 63 6C 75 64 65 73
2F 66 72 61 6D 65 77 6F 72 6B 2E 70 68 70 22 20 29 3B 0D 0A 09 20 20 20
09 72 65 71 75 69 72 65 5F 6F 6E 63 65 28 20 22 2E 2E 2F 69 6E 63 6C 75
64 65 73 2F 46 75 6E 63 74 69 6F 6E 44 42 2E 70 68 70 22 20 29 3B 0D 0A
09 09 0D 0A 09 09 2F 2A 2A 20 20 43 72 65 61 74 65 20 44 61 74 61 62 61
73 65 20 4F 62 6A 65 63 74 20 20 2A 2F 0D 0A 09 09 24 64 62 4F 62 6A 20
3D 20 6E 65 77 20 44 42 43 6F 6E 6E 3B 0D 0A 09 09 0D 0A 09 09 2F 2F 23
23 23 20 20 C3 D1 BA A4 E8 D2 A8 D2 A1 20 46 6F 72 6D 0D 0A 20 20 20 20
20 20 20 24 52 65 70 6F 72 74 5F 6E 61 6D 65 20 20 3D 20 68 74 6D 6C 73
70 65 63 69 61 6C 63 68 61 72 73 28 74 72 69 6D 28 24 5F 50 4F 53 54 5B
27 52 65 70 6F 72 74 5F 6E 61 6D 65 27 5D 29 29 3B 0D 0A 20 20 20 20 20
20 0D 0A 09 09 0D 0A 09 09 0D 0A 09 09 09 09 49 6E 73 65 72 74 52 65 70
6F 72 74 49 6E 64 69 63 74 6F 72 28 24 50 72 6F 6A 65 63 74 49 64 2C 20
24 69 6E 64 49 64 2C 24 41 63 61 64 65 6D 69 63 59 65 61 72 2C 24 4F 72
64 65 72 4E 6F 20 2C 20 24 52 65 70 6F 72 74 5F 6E 61 6D 65 20 29 3B 0D
0A 09 09 09 09 0D 0A 09 09 09 09 24 64 62 4F 62 6A 2D 3E 64 69 73 63 6F
6E 6E 28 29 3B 0D 0A 09 09 09 09 75 6E 73 65 74 28 24 64 62 4F 62 6A 29
3B 0D 0A 09 09 09 09 65 63 68 6F 20 22 3C 6D 65 74 61 20 68 74 74 70 2D
65 71 75 69 76 3D 5C 22 43 6F 6E 74 65 6E 74 2D 54 79 70 65 5C 22 20 63
6F 6E 74 65 6E 74 3D 5C 22 74 65 78 74 2F 68 74 6D 6C 3B 20 63 68 61 72
73 65 74 3D 77 69 6E 64 6F 77 73 2D 38 37 34 5C 22 20 2F 3E 22 3B 0D 0A
09 09 09 09 65 63 68 6F 20 22 3C 73 63 72 69 70 74 3E 61 6C 65 72 74 28
27 BA D1 B9 B7 D6 A1 A2 E9 CD C1 D9 C5 E0 C3 D5 C2 BA C3 E9 CD C2 E1 C5
E9 C7 27 29 3B 3C 2F 73 63 72 69 70 74 3E 22 3B 0D 0A 09 09 09 09 65 63
68 6F 20 22 3C 73 63 72 69 70 74 3E 77 69 6E 64 6F 77 2E 6F 70 65 6E 65
72 2E 64 6F 63 75 6D 65 6E 74 2E 61 6C 6C 2E 6D 79 46 6F 72 6D 3B 20 77
69 6E 64 6F 77 2E 6F 70 65 6E 65 72 2E 6C 6F 63 61 74 69 6F 6E 2E 72 65
6C 6F 61 64 28 29 3B 20 77 69 6E 64 6F 77 2E 63 6C 6F 73 65 28 29 3B 3C
2F 73 63 72 69 70 74 3E 22 3B 0D 0A 09 09 09 09 65 78 69 74 28 29 3B 0D
0A 09 09 0D 0A 09 09 0D 0A 09 7D 20 23 20 65 6C 73 65 0D 0A 20 3F 3E 0D
0A 3C 21 44 4F 43 54 59 50 45 20 68 74 6D 6C 20 50 55 42 4C 49 43 20 22
2D 2F 2F 57 33 43 2F 2F 44 54 44 20 58 48 54 4D 4C 20 31 2E 30 20 54 72
61 6E 73 69 74 69 6F 6E 61 6C 2F 2F 45 4E 22 20 22 68 74 74 70 3A 2F 2F
77 77 77 2E 77 33 2E 6F 72 67 2F 54 52 2F 78 68 74 6D 6C 31 2F 44 54 44
2F 78 68 74 6D 6C 31 2D 74 72 61 6E 73 69 74 69 6F 6E 61 6C 2E 64 74 64
22 3E 0D 0A 3C 68 74 6D 6C 20 78 6D 6C 6E 73 3D 22 68 74 74 70 3A 2F 2F
77 77 77 2E 77 33 2E 6F 72 67 2F 31 39 39 39 2F 78 68 74 6D 6C 22 3E 0D
0A 3C 68 65 61 64 3E 0D 0A 3C 6D 65 74 61 20 68 74 74 70 2D 65 71 75 69
76 3D 22 43 6F 6E 74 65 6E 74 2D 54 79 70 65 22 20 63 6F 6E 74 65 6E 74
3D 22 74 65 78 74 2F 68 74 6D 6C 3B 20 63 68 61 72 73 65 74 3D 77 69 6E
64 6F 77 73 2D 38 37 34 22 20 2F 3E 0D 0A 3C 74 69 74 6C 65 3E 45 64 69
74 20 50 61 73 73 77 6F 72 64 3C 2F 74 69 74 6C 65 3E 0D 0A 3C 6C 69 6E
6B 20 68 72 65 66 3D 22 2E 2E 2F 63 73 73 2F 64 65 66 61 75 6C 74 2E 63
73 73 22 20 72 65 6C 3D 22 73 74 79 6C 65 73 68 65 65 74 22 20 74 79 70
65 3D 22 74 65 78 74 2F 63 73 73 22 20 2F 3E 0D 0A 3C 2F 68 65 61 64 3E
0D 0A 0D 0A 3C 62 6F 64 79 20 74 6F 70 6D 61 72 67 69 6E 3D 22 30 22 20
72 69 67 68 74 6D 61 72 67 69 6E 3D 22 30 22 20 62 6F 74 74 6F 6D 6D 61
72 67 69 6E 3D 22 30 22 20 6C 65 66 74 6D 61 72 67 69 6E 3D 22 30 22 3E
0D 0A 3C 2F 62 6F 64 79 3E 0D 0A 3C 2F 68 74 6D 6C 3E 0D 0A
<?php     session_start(
);      /**  Define Vali
date Access  */   define
( '_VALID_ACCESS', 1 ); 
    /**  Check Session U
ser Login  */   if (! se
ssion_is_registered("val
id_user") ) {   echo "<
meta http-equiv=\"Conten
t-Type\" content=\"text/
html; charset=windows-87
4\" />";   echo "<p sty
le=padding-top:115px><p 
align=center><br /><font
 color=red><strong>กรุณา
ทำการ Login ก่อน</strong
></font></p></p>";   ec
ho "<meta http-equiv=\"r
efresh\" content=\"1; UR
L=../login.php\" />";  
exit();   }    else {  
/**  Configuration  */
   require_once( "../co
nfiguration.php" );   r
equire_once( $_Config_ab
solute_path . "/includes
/framework.php" );      
require_once( "../inclu
des/FunctionDB.php" );  
   /**  Create Databa
se Object  */   $dbObj 
= new DBConn;      //#
##  รับค่าจาก Form      
   $Report_name  = htmls
pecialchars(trim($_POST[
'Report_name']));       
          InsertRep
ortIndictor($ProjectId, 
$indId,$AcademicYear,$Or
derNo , $Report_name ); 
     $dbObj->disco
nn();   unset($dbObj)
;   echo "<meta http-
equiv=\"Content-Type\" c
ontent=\"text/html; char
set=windows-874\" />";  
echo "<script>alert(
'บันทึกข้อมูลเรียบร้อยแล
้ว');</script>";   ec
ho "<script>window.opene
r.document.all.myForm; w
indow.opener.location.re
load(); window.close();<
/script>";   exit(); 
        } # else   ?> 
 <!DOCTYPE html PUBLIC "
-//W3C//DTD XHTML 1.0 Tr
ansitional//EN" "http://
www.w3.org/TR/xhtml1/DTD
/xhtml1-transitional.dtd
">  <html xmlns="http://
www.w3.org/1999/xhtml"> 
 <head>  <meta http-equi
v="Content-Type" content
="text/html; charset=win
dows-874" />  <title>Edi
t Password</title>  <lin
k href="../css/default.c
ss" rel="stylesheet" typ
e="text/css" />  </head>
    <body topmargin="0" 
rightmargin="0" bottomma
rgin="0" leftmargin="0">
  </body>  </html>  

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 ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: 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.016 ]--