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: Select action/file-type: <?php //--Class Course-------------------------- include_once "clsbase_Course.php"; class Course extends base_Course{ function RSCourseLimit($start, $pageSize){ $this->SetQuery("select * from Course order by courseId limit $start, $pageSize"); } function RSCourseByCoCodeAndCoName($xKey, $yKey){ $this->SetQuery("select * from Course where courseCode like '%$xKey%' and courseName like '%$yKey%'"); } function RSCourseByCoCodeAndCoNameLimit($xKey, $yKey, $start, $pageSize){ $this->SetQuery("select * from Course where courseCode like '%$xKey%' and courseName like '%$yKey%' order by courseId limit $start, $pageSize"); } function SearchByCourseCode($xKey){ $this->SetQuery("select * from Course where courseCode='$xKey'"); } // Use on page classTable.php function SearchByCourseName($xKey){ $this->SetQuery("select * from Course where courseName like '%$xKey%' order by courseId"); } //-- The End -- //-- Use on page addCourseInGroup.php -- function RSCourseByConId($cKey){ $this->SetQuery("select * from Course where conditionId='$cKey' order by courseId"); } //-- The end -- // Use on page course.php function SearchByCourseCodeAndCourseName($cCode,$cName,$cNameEng){ $this->SetQuery("select * from Course where courseCode like '%$cCode%' and courseName LIKE '%$cName%' and courseNameEng LIKE '%$cNameEng%' order by courseId"); } //-- The End -- } //--End class Course-- ?> |
:: 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 ]-- |