!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/   drwxr-xr-x
Free 51.23 GB of 127.8 GB (40.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     PersnalEduDetail.php (13.03 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

include("./include/FunctionDB.php");
include(
"admin_menu.php");
include(
"./include/Function.php");
ConnectDB();
$sql =  " SELECT * FROM  persnal_project_tb Where Persnal_code='$Persnal_code' ";
$result mysql_query($sql) or die("Select Has Error").mysql_error();
$rs mysql_fetch_array($result);
?> 
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">

<table width="835" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="835" ><br> 
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="Board.php">หน้าหลัก</a> <img src="./picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="AddProjectedu.php? Project_code=<? echo $rsProject_code]?>">สมัครเข้าร่วมประชุม</a> <img src="./picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="ProjectEduList.php?Project_code=<? echo $rsProject_code]?>">รายชื่อผู้สมัคร</a><img src="./picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="EditProjectedu.php?Persnal_code=<? echo $rs[Persnal_code]?>">แก้ไขข้อมูลผู้สมัคร</a></font></legend>
            <label>
  <form id="form1" name="form1" method="post" action="InsertCourse.php">
    <table width="93%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E4E4E4" style="border:0px solid gray">
      <!--DWLayoutTable-->
      <tr bgcolor="#CEE6FF">
        <td colspan="3"><div align="center" class="style18"><font color="#FFFFFF" face="Tahoma"><font color="#003366" size="2">แสดงรายละเอียดผู้สมัคร</font></font></div></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td width="131" height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><div align="center" class="style15">
            <div align="left"><font color="#003300" size="2" face="Tahoma">เลขที่บัตรประชาชน</font></div>
        </div></td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma"><? echo $rs["citizenId"]?> </font> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="2" face="Tahoma"><font face="Tahoma">เลขที่สมัคร </font></font><font color="#003366" size="2" face="Tahoma"><? echo $rs["Code_no"]?></font></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><div align="center" class="style15">
            <div align="left"><font color="#003300" size="2" face="Tahoma">สถานะการเงิน</font></div>
        </div></td>
        <td bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>">
          <?php 
            $Persnal_code 
$rs["Persnal_code"];
            
$str "Select * From  persnal_project_tb Where Persnal_code='$Persnal_code' ";
            
$res_p mysql_query($str) or die("Error".mysql_error());
            
$res1 mysql_fetch_array($res_p);    
            if (!(
strcmp("$res1[Flag]","2")))
               {
                echo
"<img src=\"./picture/close.gif\" width=\"13\" height=\"11\" align=\"absmiddle\" border=\"0\"> <font face=\"Tahoma\" size=\"2\" color=\"#0000FF\">ยังไม่ชำระเงิน</font>";
                }
                 else     if (!(
strcmp("$res1[Flag]","1")))
                        {
                        echo
"<img src=\"./picture/open.gif\" width=\"13\" height=\"11\" align=\"absmiddle\" border=\"0\"><font face=\"Tahoma\" size=\"2\" color=\"#0000FF\">่ ชำระเงินแล้ว</font>";
                       }
                else if (!(
strcmp("$res1[Flag]","1")))
                 { 
                 echo
"<img src=\"./picture/open.gif\" width=\"10\" height=\"10\" align=\"absmiddle\" border=\"0\"> ชำระเงินแล้ว";
                 }            
            
?>
        </font><font color="#003366" size="2" face="Tahoma">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;จำนวนเงิน <? echo $rs["Amount"]?> บาท ห้องพัก <font color="#003366" size="2" face="Tahoma"><? echo $rs["Room"]?></font></font></font></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><div align="center" class="style15">
            <div align="left"><font color="#003300" size="2" face="Tahoma">ชื่อ-นามสกุล</font></div>
        </div></td>
        <td width="7" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="633" bgcolor="#EEEEEE"><font size="2" face="Tahoma"><a href="PersnalEduDetail.php?Persnal_code=<?=$row["Persnal_code"]?>"title="Click to see Detail" class="d" ><? echo $rs["First_name"]?></a></font><font color="#003366" size="2" face="Tahoma">&nbsp; <? echo $rs["Name"?> <? echo $rs["Last_name"?> </font></td>
      </tr>
      <tr bordercolor="#FFFFFF">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><div align="center" class="style15">
            <div align="left"><font size="2" face="Tahoma">ตำแหน่งทางราชการ</font></div>
        </div></td>
        <td width="7" nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="633" nowrap="nowrap" bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma"><? echo $rs["Work"?></font></td>
      </tr>
      <tr bordercolor="#FFFFFF">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><div align="center" class="style15">
            <div align="left"><font size="2" face="Tahoma">สถานที่ปฏิบัติงาน</font></div>
        </div></td>
        <td width="7" nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="633" nowrap="nowrap" bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma"><? echo $rs["Addwork"?></font></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><font size="2" face="Tahoma">พักคู่กับ</font></td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma"><? echo $rs["Addname"?> </font><font size="2" face="Tahoma"> หัองพัก </font><font color="#003366" size="2" face="Tahoma"><? echo $rs["Class"?></font></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><div align="center" class="style15">
            <div align="left"><font size="2" face="Tahoma">จบหลักสูตร</font></div>
        </div></td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><font size="2" face="Tahoma"><font size="2" face="Tahoma">
          <?php
         $programId  
=  $rs["programId"];
         
$sql "Select * From  program  Where  programId='$programId ' ";
          
$result2mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result2);
          echo 
"$rss[programName] ";
         
?>
        </font></font><font color="#003366" size="2" face="Tahoma">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font size="2" face="Tahoma">รุ่น </font><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs["Code"])?></font></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><div align="center" class="style15">
            <div align="left"><font size="2" face="Tahoma">จากวิทยาลัย</font></div>
        </div></td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><font size="2" face="Tahoma"><font size="2" face="Tahoma">
          <?php
         $collegeCode 
=  $rs["collegeCode"];
         
$sql "Select * From   college   Where   collegeCode='$collegeCode'  ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[collegeName] ";
         
?>
        </font></font></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><div align="left"><span class="style16 style17"><span class="style15 style16"><font size="2" face="Tahoma"><font color="#003300" size="2" face="Tahoma">สถานที่ติดต่อ</font></span></span></div></td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="28" colspan="3"><span class="style16"><font size="2" face="Tahoma">ที่อย</font></span><font size="2" face="Tahoma">ู่</font><font color="#003366" size="2" face="Tahoma">   <? echo nl2br($rs["Address"])?></font></td>
            </tr>
            <tr>
              <td width="38%"><span class="style16"><font size="2" face="Tahoma">อำเภอ </font></span><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs["Amper"])?></font></td>
              <td width="34%"><span class="style16"><font size="2" face="Tahoma">จังหวัด </font></span><font size="2" face="Tahoma"><font size="2" face="Tahoma">
                <?php
         $ProvinceId  
=  $rs["ProvinceId"];
         
$sql "Select * From  province  Where  ProvinceId ='$ProvinceId' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[ProvinceName] ";
         
?>
              </font></font></td>
              <td width="28%"><font size="2" face="Tahoma"><font face="Tahoma">รหัสไปรษณีย์ </font><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs["Zipcode"])?></font></font></td>
            </tr>
        </table></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><div align="center" class="style15">
            <div align="left"><font color="#000000" size="2" face="Tahoma">โทรศัพท</font><font color="#000000" face="Tahoma">์</font></div>
        </div></td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma"><? echo $rs["Phone"]?></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#003366" size="2" face="Tahoma"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  เมล์ <? echo $rs["Email"]?></font></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><div align="center" class="style15">
            <div align="left"><font size="2" face="Tahoma">อายุ</font></div>
        </div></td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma"><? echo $rs["Age"]?> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><font size="2" face="Tahoma">ประวัติการศึกษา</font></td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma"><? echo $rs["Education"]?></font></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><font size="2" face="Tahoma">สาขา</font></td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma"><? echo $rs["Education_1"]?></font></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><div align="center" class="style15">
            <div align="left"><font size="2" face="Tahoma">จบจากสถานศึกษา</font></div>
        </div></td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma"><? echo $rs["Education_2"]?></font></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><font size="2" face="Tahoma">หมายเหตุ</font></td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs["Detail"])?></font></td>
      </tr>
      <tr bordercolor="#E7FAFE">
        <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#ECF5FF"><font size="2" face="Tahoma">การชำระเงินโดย</font></td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td nowrap="nowrap" bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs["Bank"])?></font></td>
      </tr>
      <tr bgcolor="#CEE6FF">
      
        <td height="25" colspan="3"><!--DWLayoutEmptyCell-->&nbsp;</td>
      </tr>
    </table>
  </form>
          </fieldset>
        <br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> <br />
        Y คือห้องพักคู่ N คือห้องพักเดี่ยว <br />
        ค่าห้องพัก Tower  wing   ราคา  4050  บาท <br />
        ค่าห้องพัก Ocean  wing  ราคา  4500  บาท <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.0185 ]--