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


Viewing file:     EditPunish.php (679 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /var/www/html/manage/Std_Acc_depart/EditPunish.php
Size 679 B
MD5 f1824e9d25b51fedd1f4d24ad6e8a7fb
Owner/Group apache/apache
Perms-rw-r--r--
Create time 03/07/2013 18:31:17
Access time 11/07/2024 21:03:17
MODIFY time 07/05/2007 09:43:48

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
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 20 20 20 20 0A 24
44 61 74 65 5F 6E 6F 74 65 20 3D 20 24 5F 50 4F 53 54 5B 6D 59 65 61 72
5D 2E 22 2D 22 2E 24 5F 50 4F 53 54 5B 6D 4D 6F 6E 74 68 5D 2E 22 2D 22
2E 24 5F 50 4F 53 54 5B 6D 44 61 74 65 5D 3B 0A 24 53 74 75 64 65 6E 74
5F 69 64 20 3D 20 24 5F 50 4F 53 54 5B 53 74 75 64 65 6E 74 5F 69 64 5D
3B 0A 0A 24 73 71 6C 20 3D 20 22 55 50 44 41 54 45 20 73 74 64 5F 70 75
6E 69 73 68 5F 74 62 20 53 45 54 20 20 44 61 74 65 5F 6E 6F 74 65 3D 27
24 44 61 74 65 5F 6E 6F 74 65 27 2C 50 75 6E 69 73 68 5F 74 79 70 65 3D
27 24 50 75 6E 69 73 68 5F 74 79 70 65 27 2C 50 65 72 66 6F 72 6D 3D 27
24 50 65 72 66 6F 72 6D 27 2C 43 6F 6E 73 69 64 65 72 3D 27 24 43 6F 6E
73 69 64 65 72 27 20 57 48 45 52 45 20 63 6F 64 65 20 3D 27 24 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 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 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 50 75 6E 69 73 68 4C
69 73 74 2E 70 68 70 3F 53 74 75 64 65 6E 74 5F 69 64 3D 24 53 74 75 64
65 6E 74 5F 69 64 5C 22 3E 22 3B 0A 2F 2F 09 68 65 61 64 65 72 28 22 4C
6F 63 61 74 69 6F 6E 3A 45 64 69 74 50 75 6E 69 73 68 4C 69 73 74 2E 70
68 70 3F 53 74 75 64 65 6E 74 5F 69 64 3D 24 53 74 75 64 65 6E 74 5F 69
64 22 29 3B 09 09 09 09 0A 20 20 20 20 20 20 20 20 43 6C 6F 73 65 44 42
28 29 3B 0A 3F 3E 0A
<?php  include("../inclu
de/FunctionDB.php");  Co
nnectDB();             $
Date_note = $_POST[mYear
]."-".$_POST[mMonth]."-"
.$_POST[mDate]; $Student
_id = $_POST[Student_id]
;  $sql = "UPDATE std_pu
nish_tb SET  Date_note='
$Date_note',Punish_type=
'$Punish_type',Perform='
$Perform',Consider='$Con
sider' WHERE code ='$cod
e' "; $result = mysql_qu
ery($sql) or die("Update
 Error $sql".mysql_error
());    echo"<center><fo
nt face=\"Tahoma\"size=\
"6\" color=\"#FF0000\">U
pdate Complete</font></c
enter>";   echo"<meta ht
tp-equiv=\"refresh\" con
tent=\"1;URL=EditPunishL
ist.php?Student_id=$Stud
ent_id\">"; // header("L
ocation:EditPunishList.p
hp?Student_id=$Student_i
d");          CloseDB
(); ?> 

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