!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 52 GB of 127.8 GB (40.69%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     printrep_alumnigiveaword.php (6.04 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");
include_once 
"../class/clslevelaword.php";
include_once 
"../class/clstypeaword.php";
include_once 
"../class/clshisaword.php";

$oAm = new AlumniMain($oC1);
$oPg_A = new Programalumni($oC1);
$oLa = new LevelAword($oC1);
$oTa = new TypeAword($oC1);
$oHa = new HisAword($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">
                    <td align="center" colspan="2"><font size="3" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><strong>การได้รับรางวัลของศิษย์เก่า</strong></font></td>
                </tr>
                <tr>
                    <td height="22" colspan="2" >&nbsp;</td>
                </tr>
                <tr>
                    <td colspan="2"   align="center"><table width="740" border="1" cellspacing="0" cellpadding="1" bordercolor="<?php echo $GLOBALS["COLOR_BORDER_TABLE_1"]; ?>">
                  <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TABLE_2"];?>"> 
                    <td  height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ลำดับ</strong></font></td>
                    <td    height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ชื่อ-นามสกุล</strong></font></td>
                    <td height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>หลักสูตร</strong></font></td>
                    <td height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ปีที่จบการศึกษา</strong></font></td>
                    <td height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ชื่อรางวัล (ภาษาไทย)</strong></font></td>
                    <td  height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ชื่อรางวัล(ภาษาอังกฤษ)</strong></font></td>
                    <td  height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>หน่วยงานที่ให้รางวัล</strong></font></td>
                    <td  height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ปีที่ได้รับรางวัล</strong></font></td>
                    <td  height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ระดับการได้รับรางวัล</strong></font></td>
                  </tr>
                  <?
                            $oTa
->RSTypeAwordId($typeawordId);
                            while(
$oTa->GetRecord())
                            {
                
?>
                  <tr> 
                    <td colspan="10"    align="left" height="22"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><strong><? echo $oTa->typeawordNameT?></strong></font></td>
                  </tr>
                <?
                            $i
=0;
                            
$oHa->RSHisAwordByTypeaword($oTa->typeawordId,$levelawordId);
                            while(
$oHa->GetRecord())
                            {
                                
$oAm->SearchByKey($oHa->alumniId);
                                
$oAm->GetRecord();

                                
$oPf->SearchByKey($oAm->prefixId);
                                
$oPf->GetRecord();
                                
                                
$oPg_A->SearchByKey($oAm->programId);
                                
$oPg_A->GetRecord();
                                
                                
$oLa->SearchByKey($oHa->levelawordId);
                                
$oLa->GetRecord();
                  
?>
                  <tr>
                    <td  height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $i+1?></font></td>
                    <td  height="22" align="left" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oPf->prefixName.$oAm->studentName."  ".$oAm->studentSurname?></font></td>
                    <td  height="22" align="left" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oPg_A->programalumniName;?></font></td>
                    <td  height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oAm->graduateYear;?></font></td>
                    <td  height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oHa->awordNameT;?></font></td>
                    <td  height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oHa->awordNameE;?></font></td>
                    <td  height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oHa->awordCompany;?></font></td>
                    <td  height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oHa->awordYaer;?></font></td>
                    <td  height="22" align="center" nowrap><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oLa->lavelawordNameT;?></font></td>
                  </tr>
                  <?
                                  $i
++;
                                
$num++;
                                }
                              if(
$i==0)
                            {
                  
?>
                  <tr> 
                    <td colspan="10"    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="8"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">รวม <?php echo $num;?>
                      รายการ</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.0143 ]--