!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/mis/info/   drwxr-xr-x
Free 51.23 GB of 127.8 GB (40.08%)
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 (8.86 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 *--------------> Begin: Editable zone <----------------
 */

//
// System data
//

/* System path */
#$ROOT_PATH = "/var/mis/";
$ROOT_PATH "/var/www/html/mis/";
$ROOT_URL "/mis/";
$ADMIN_LOGIN "admin";

/* Database info */
ini_set('include_path','/var/www/sekret:.');
include_once(
"info.inc");

$INFOSYS_MESG "ระบบสารสนเทศ";
$SYSTEM_TITLE ""// To set system-title, modifies this variable at current script.
$SYSTEM_DETAIL "";
$INFOSYS_TITLE "ระบบสารสนเทศ - วิทยาลัย"// default system-title
$INFOSYS_LOGO "SiteBanner.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 "http://".$HOST_NAME."${ROOT_URL}uploads/eregis/picture/";//"${_INFO_URL}img/";
/*
 *--------------> End:   Read-only zone <---------------
 */


/*
 *--------------> Begin: Editable zone <----------------
 */
/* Subsystem path */
$_EREGIS_PATH "${ROOT_PATH}eregis/";
$_INFOADDIN_PATH "${ROOT_PATH}infoaddin/";
$_EASSESS_PATH "${ROOT_PATH}eassess/";
$_EOFFICE_PATH "${ROOT_PATH}eoffice/";
$_ESA_PATH "${ROOT_PATH}eregis/";
$_EALUMNI_PATH "${ROOT_PATH}eregis/";

/* Subsystem URL */
$_UMS_URL "${ROOT_URL}ums/";
$_EREGIS_URL "${ROOT_URL}eregis/";
$_INFOADDIN_URL "${ROOT_URL}infoaddin/";
$_EASSESS_URL "${ROOT_URL}eassess/";
$_EOFFICE_URL "${ROOT_URL}eoffice/";
$_ESA_URL "${ROOT_URL}eregis/";
$_EALUMNI_URL "${ROOT_URL}eregis/";
/*
 * 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(10 => $_UMS_PATH,
                      
70 => $_EREGIS_PATH,
                      
80 => $_INFOADDIN_PATH,
                      
90 => $_EASSESS_PATH,
                      
100 => $_EOFFICE_PATH,
                      
160 => $_ESA_PATH,
                      
190 => $_EALUMNI_PATH
                
);
$_SYSURL_PATH = array(10 => "${_UMS_URL}",
                      
70 => "${_EREGIS_URL}",
                      
80 => "${_INFOADDIN_URL}",
                      
90 => "${_EASSESS_URL}",
                      
100 => "${_EOFFICE_URL}",
                      
160 => "${_ESA_URL}",
                      
190 => "${_EALUMNI_URL}"
                
);

$_SUBSYS_URL  = array(10 => array(10001  => ""
                           
),    // --- UMS ---
                      
70 => array(70070 => "${_EREGIS_URL}admin/",
                                 
70071 => "${_EREGIS_URL}admin/",
                                 
70072 => "${_EREGIS_URL}admin/",
                                 
70077 => "${_EREGIS_URL}admin/",
                                 
70078 => "${_EREGIS_URL}admin/"
                           
),     // --- EREGIS ---
                      
80 => array(80 => "${_INFOADDIN_URL}announce/",
                                 
81 => "${_INFOADDIN_URL}onlinedocs/code/",
                                 
82 => "${_INFOADDIN_URL}appointment/"
                           
),     // --- INFO-ADDIN ---
                      
90 => array(90090 => "${_EASSESS_URL}admin/",
                                 
90091 => "${_EASSESS_URL}student/",
                                 
90092 => "${_EASSESS_URL}teacher/",
                                 
90093 => "${_EASSESS_URL}admin/",
                                 
90096 => "${_EASSESS_URL}admin/",
                                 
90097 => "${_EASSESS_URL}admin/"
                           
),     // --- EASSESS ---
                      
100 => array(100107 => "${_EOFFICE_URL}admin/",
                                 
100108 => "${_EOFFICE_URL}admin/",
                                 
100109 => "${_EOFFICE_URL}admin/",
                                 
100110 => "${_EOFFICE_URL}admin/",
                                 
100111 => "${_EOFFICE_URL}admin/",
                                 
100112 => "${_EOFFICE_URL}admin/",
                                 
100114 => "${_EOFFICE_URL}admin/",
                                 
100115 => "${_EOFFICE_URL}admin/"
                           
),    // --- EOFFICE ---
                      
160 => array(160001 => "${_ESA_URL}admin/",
                                 
160002 => "${_ESA_URL}admin/"
                           
),    // --- ESA ---
                      
190 => array(190190 => "${_EALUMNI_URL}admin/"
                           
)     // --- EALUMNI ---
                
);

$_SYS1ST_URL  = array(10 => array(10001  => ""
                           
),    // --- UMS ---
                      
70 => array(70070 => "index.php",
                                 
70071 => "index.php",
                                 
70072 => "index.php",
                                 
70077 => "index.php",
                                 
70078 => "adminIndex.php"
                           
),     // --- EREGIS ---
                      
80 => array(80 => "index.php",
                                 
81 => "onlinepublicdocview.php",
                                 
82 => "index.php"
                           
),     // --- INFO-ADDIN ---
                      
90 => array(90090 => "index.php",
                                 
90091 => "index.php",
                                 
90092 => "index.php",
                                 
90093 => "index.php",
                                 
90096 => "index.php",
                                 
90097 => "index.php"
                           
),    // --- EASSESS ---
                      
100 => array(100107 => "index.php",
                                 
100108 => "index.php",
                                 
100109 => "index.php",
                                 
100110 => "index.php",
                                 
100111 => "index.php",
                                 
100112 => "index.php",
                                 
100114 => "selectDocPost.php",
                                 
100115 => "index.php"
                           
),     // --- EOFFICE2 ---
                      
160 => array(160001 => "index.php",
                                 
160002 => "index.php",
                           ),    
// --- ESA ---
                      
190 => array(190190 => "index.php"
                           
)     // --- EALUMNI ---
                
);

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

$_SYSICO_MINI = array(10 => "${_INFO_URL}img/admin-mini.gif",
                      
70 => "${_INFO_URL}img/eregis-mini.gif",
                      
80 => "${_INFO_URL}img/addin-mini.gif",
                      
90 => "${_INFO_URL}img/eassess-mini.gif",
                      
100 => "${_INFO_URL}img/eoffice-mini.gif",
                      
160 => "${_INFO_URL}img/esa-mini.gif",
                      
190 => "${_INFO_URL}img/ealumni-mini.gif"
                
);
$_SYSICO_BIGZ = array(10 => "${_INFO_URL}img/admin-large.gif",
                      
70 => "${_INFO_URL}img/eregis-large.gif",
                      
80 => "${_INFO_URL}img/addin-large.gif",
                      
90 => "${_INFO_URL}img/eassess-large.gif",
                      
100 => "${_INFO_URL}img/eoffice-large.gif",
                      
160 => "${_INFO_URL}img/esa-large.gif",
                      
190 => "${_INFO_URL}img/ealumni-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.
 
function nTestInFoSys(){
     return 
'function nTestInFoSys';
 }
?>

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