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


Viewing file:     getinfo.js (7.97 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
	var xmlHttp

	function ShowInfo(DrsIDshow){ 
		xmlHttp=GetXmlHttpObject()
		if (xmlHttp==null){
			alert ("Browser does not support HTTP Request")
			return
		} 

		var url="getinfo.php";
		url=url+"?DrsIDshow="+DrsIDshow+"&q=getinfo"+GetInfoString();
		//alert(url);
		xmlHttp.onreadystatechange=stateChanged
		xmlHttp.open("GET",url,true)
		xmlHttp.send(null)
	
	}
	
	function ShowInfo2(DtPsID,DrsIDshow){ 
		var agree=confirm("คุณต้องการลบรายชื่อที่จะส่งด่วนแน่นอนใช่หรือไม่ ?");
		if (agree){
			xmlHttp=GetXmlHttpObject()
			if (xmlHttp==null){
				alert ("Browser does not support HTTP Request")
				return
			} 
			
			var url="getinfo.php";
			url=url+"?DrsIDshow="+DrsIDshow+"&DtPsID="+DtPsID+"&del=1";
			xmlHttp.onreadystatechange=stateChanged1
			xmlHttp.open("GET",url,true)
			xmlHttp.send(null)
		}else{
			return false ;
		}
	
	}
	
	function ShowInfoReceive(DLCID,MaxDocGroup,DlcPS2){ 
			xmlHttp=GetXmlHttpObject()
			if (xmlHttp==null){
				alert ("Browser does not support HTTP Request")
				return
			} 
			
			s=document.getElementById("s").value;
			searchName=document.getElementById("searchName").value;
			searchNo=document.getElementById("searchNo").value;
			monthe=document.getElementById("monthe").value;
			searchYear=document.getElementById("searchYear").value;
			searchTypeNoF=document.getElementById("searchTypeNoF").value;
			searchTypeNoT=document.getElementById("searchTypeNoT").value;
			
			if (searchYear=="") {
			  alert('กรุณากรอกปี');
			  document.getElementById("searchYear").focus();
			  return false ;
		   	}
			
			var url="showSelectDoc.php";
			url=url+"?s="+s+"&DLCID="+DLCID+"&MaxDocGroup="+MaxDocGroup+"&DlcPS2="+DlcPS2+"&searchName="+searchName+"&searchNo="+searchNo+"&monthe="+monthe+"&searchYear="+searchYear+"&searchTypeNoF="+searchTypeNoF+"&searchTypeNoT="+searchTypeNoT;
			//alert(url);
			xmlHttp.onreadystatechange=stateChanged2
			xmlHttp.open("GET",url,true)
			xmlHttp.send(null)
	}
	function ShowInfoSendDoc(DLCID,MaxDocGroup,DlcPS2){ 
			xmlHttp=GetXmlHttpObject()
			if (xmlHttp==null){
				alert ("Browser does not support HTTP Request")
				return
			} 
			
			searchName=document.getElementById("searchName").value;
			searchNo=document.getElementById("searchNo").value;
			monthe=document.getElementById("monthe").value;
			searchYear=document.getElementById("searchYear").value;
			
			if (searchYear=="") {
			  alert('กรุณากรอกปี');
			  document.getElementById("searchYear").focus();
			  return false ;
		   	}
			
			var url="showSelectSendDoc.php";
			url=url+"?DLCID="+DLCID+"&MaxDocGroup="+MaxDocGroup+"&DlcPS2="+DlcPS2+"&searchName="+searchName+"&searchNo="+searchNo+"&monthe="+monthe+"&searchYear="+searchYear;
			//alert(url);
			xmlHttp.onreadystatechange=stateChanged2
			xmlHttp.open("GET",url,true)
			xmlHttp.send(null)
	}
	function ShowInfoSign(DLCID,MaxDocGroup,DlcPS2){ 
			xmlHttp=GetXmlHttpObject()
			if (xmlHttp==null){
				alert ("Browser does not support HTTP Request")
				return
			} 
			
			s=document.getElementById("s").value;
			searchName=document.getElementById("searchName").value;
			searchNo=document.getElementById("searchNo").value;
			monthe=document.getElementById("monthe").value;
			searchYear=document.getElementById("searchYear").value;
			
			if (searchYear=="") {
			  alert('กรุณากรอกปี');
			  document.getElementById("searchYear").focus();
			  return false ;
		   	}
			
			var url="showSelectSignDoc.php";
			url=url+"?s="+s+"&DLCID="+DLCID+"&MaxDocGroup="+MaxDocGroup+"&DlcPS2="+DlcPS2+"&searchName="+searchName+"&searchNo="+searchNo+"&monthe="+monthe+"&searchYear="+searchYear;
			//alert(url);
			xmlHttp.onreadystatechange=stateChanged2
			xmlHttp.open("GET",url,true)
			xmlHttp.send(null)
	}
	function ShowInfoRegis(DLCID,MaxDocGroup,DlcPS2,RsID,DtID){ 
			xmlHttp=GetXmlHttpObject()
			if (xmlHttp==null){
				alert ("Browser does not support HTTP Request")
				return
			} 
			
			searchName=document.getElementById("searchName").value;
			searchNo=document.getElementById("searchNo").value;
			monthe=document.getElementById("monthe").value;
			searchYear=document.getElementById("searchYear").value;
			alert(searchYear);
			/*
			if (searchYear=="") {
			  alert('กรุณากรอกปี');
			  document.getElementById("searchYear").focus();
			  return false ;
		   	}
			
			var url="showSelectRegisDoc.php";
			url=url+"?DLCID="+DLCID+"&MaxDocGroup="+MaxDocGroup+"&DlcPS2="+DlcPS2+"&RsID="+RsID+"&DtID="+DtID+"&searchName="+searchName+"&searchNo="+searchNo+"&monthe="+monthe+"&searchYear="+searchYear;
			alert(url);
			xmlHttp.onreadystatechange=stateChanged2
			xmlHttp.open("GET",url,true)
			xmlHttp.send(null)
			*/
	}
	function ShowInfoSendDocforSign(DLCID,MaxDocGroup,DlcPS2){ 
			xmlHttp=GetXmlHttpObject()
			if (xmlHttp==null){
				alert ("Browser does not support HTTP Request")
				return
			} 
			
			searchName=document.getElementById("searchName").value;
			searchNo=document.getElementById("searchNo").value;
			monthe=document.getElementById("monthe").value;
			searchYear=document.getElementById("searchYear").value;
			
			if (searchYear=="") {
			  alert('กรุณากรอกปี');
			  document.getElementById("searchYear").focus();
			  return false ;
		   	}
			
			var url="showSelectSendDocforSign.php";
			url=url+"?DLCID="+DLCID+"&MaxDocGroup="+MaxDocGroup+"&DlcPS2="+DlcPS2+"&searchName="+searchName+"&searchNo="+searchNo+"&monthe="+monthe+"&searchYear="+searchYear;
			//alert(url);
			xmlHttp.onreadystatechange=stateChanged2
			xmlHttp.open("GET",url,true)
			xmlHttp.send(null)
	}
	function ShowInfostatusSendDocforSign(DLCID,MaxDocGroup,DlcPS2){ 
			xmlHttp=GetXmlHttpObject()
			if (xmlHttp==null){
				alert ("Browser does not support HTTP Request")
				return
			} 
			
			searchName=document.getElementById("searchName").value;
			searchNo=document.getElementById("searchNo").value;
			monthe=document.getElementById("monthe").value;
			searchYear=document.getElementById("searchYear").value;
			
			if (searchYear=="") {
			  alert('กรุณากรอกปี');
			  document.getElementById("searchYear").focus();
			  return false ;
		   	}
			
			var url="showSelectstatusSendDocforSign.php";
			url=url+"?DLCID="+DLCID+"&MaxDocGroup="+MaxDocGroup+"&DlcPS2="+DlcPS2+"&searchName="+searchName+"&searchNo="+searchNo+"&monthe="+monthe+"&searchYear="+searchYear;
			//alert(url);
			xmlHttp.onreadystatechange=stateChanged2
			xmlHttp.open("GET",url,true)
			xmlHttp.send(null)
	}
	function GetInfoString(){
		var iCount =0;
	    var sData="";
		iCount=document.ff.elements.namedItem("sendToPs[]","").length;
	    if(iCount>>0){
	        for(i=0;i<iCount;i++){    
	            if (document.ff.elements.namedItem("sendToPs[]","")(i).checked){
					sData += "&sendToPs[]=" +  document.ff.elements.namedItem("sendToPs[]","")(i).value;
				}
			}
	    }         
		return sData;
	}
	function stateChanged(){ 
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){ 
			document.getElementById("show_info").innerHTML=xmlHttp.responseText 
		} 
	}	
	function stateChanged1(){ 
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){ 
			document.getElementById("show_info").innerHTML=xmlHttp.responseText 
		} 
	}
	function stateChanged2(){ 
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){ 
			document.getElementById("showselect").innerHTML=xmlHttp.responseText 
		} 
	}
	
	function GetXmlHttpObject(){
		var xmlHttp=null;
		try
			{
			// Firefox, Opera 8.0+, Safari
			xmlHttp=new XMLHttpRequest();
			}
		catch (e)
			{
				// Internet Explorer
			try
				{
				xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
				}
			catch (e)
				{
				xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
				}
			}

		return xmlHttp;
	}

	function ShowPendingImage(){
		document.getElementById("show_info").innerHTML="<image src=bigrotation2.gif>Please Wait!</image>";
	}

	function HidePendingImage(){
		document.getElementById("show_info").innerHTML="";
	}

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