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


Viewing file:     printrep_namesplitprogram.php (3.8 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "../../class/clsConnection.php";
include_once 
"../../class/clsDB.php";
include_once 
"../global.php";
include_once(
"../class/clsPrefix.php");

$oPf = new Prefix($oC2);

include_once 
"../class/clsalumnimain.php";
include_once(
"../class/clsprogramalumni.php");
$oAm = new AlumniMain($oC1);
$oPg_A = new Programalumni($oC1);
?>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<table width="740" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr align="left">
        <td><br>
      <label>
                    <div align="center"><br>
                            <form name="ps" method="post" action="<?php echo $PHP_SELF;?>"><table width="700" align="center" border="0" cellpadding="0" cellspacing="1">
                                <?
                                $oPg_A
->SearchByKey($programId);
                                
$oPg_A->GetRecord();
                                
?>
<tr>
                    <td align="center" colspan="2"><font size="3" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><strong>รายชื่อศิษย์เก่า  ปีที่จบการศึกษา <? echo $finishAcadYear;  ?><br>หลักสูตร<? echo $oPg_A->programalumniName;?></strong></font></td>
                </tr>
                <tr>
                    <td height="22" colspan="2" >&nbsp;</td>
                </tr>
                <tr>
                    <td colspan="2"   align="center"><table width="550" border="1" cellspacing="0" cellpadding="1" bordercolor="<?php echo $GLOBALS["COLOR_BORDER_TABLE_1"]; ?>">
                  <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TABLE_2"];?>"> 
                    <td width="62"  height="22" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ลำดับ</strong></font></td>
                    <td width="370"   height="22" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ชื่อ-นามสกุล</strong></font></td>
                    <td width="104" height="22" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ปีที่จบการศึกษา</strong></font></td>
                  </tr>
                  <?
                            $i
=0;
                            
//$oAm2->RSAlumniMainadmitAcadYearAndprogramIdAndstudentStatusAndstudentName($admitAcadYear,$programalumniId,4,$fName,$lName,$oGn->genId);
                            
$oAm->RSAlumniMainJAlumniBioProgramIdAndFinishAcadYear($programId,$finishAcadYear);
                            while(
$oAm->GetRecord())
                            {
                                
$oPf->SearchByKey($oAm->prefixId);
                                
$oPf->GetRecord();
                                
                                
                  
?>
                  <tr>
                    <td  height="22" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $i+1?></font></td>
                    <td  height="22" align="left"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oPf->prefixName.$oAm->studentName."  ".$oAm->studentSurname?></font></td>
                    <td  height="22" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oAm->graduateYear;?></font></td>
                  </tr>
                  <?
                                  $i
++;
                            }
                              if(
$i==0)
                            {
                  
?>
                  <tr> 
                    <td colspan="5"    align="center" height="22"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>">** ไม่ปรากฏรายการในฐานข้อมูล **</font></td>
                  </tr>
                  <?
                              
}
                  
?>
                  <tr align="left"> 
                    <td height="22">&nbsp;</td>
                    <td height="22"  align="right" colspan="4"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">รวม <?php echo $i;?>
                      รายการ</font></td>
                  </tr>
                  </table>
                  </td>
                  </tr>
                <tr>
                    <td colspan="2"   align="center"></td>
                </tr>
            </table> 
                        </form>
                </div>
        <font color="<?php echo $GLOBALS['COLOR_FONT_3'];?>" size="2" face="MS Sans Serif"><br>
          </font>
                <br>        
            </label>
          <br><br><br><br>
        </td>
       </tr>
</table>

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