!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/home/mnnews/public_html/login/users/   drwxr-xr-x
Free 654.71 MB of 27.03 GB (2.37%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     install.php (5.6 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
          <HTML>
          <HEAD>
          <TITLE>The Best Autorize - Installation</TITLE>
          </HEAD>
          <BODY BGCOLOR="#000000" TEXT="#FFFFFF" LINK="#11C6BD" VLINK="#11C6BD">
<?
  
if( isset($table) )
    {
     include
"config.php";

     echo
"Creating The Best Autorize tables an inserting default data...<BR><BR>";

     
$user_tbl = "CREATE TABLE client(user TEXT, password TEXT";
     if (
$other<>"") { $user_tbl.= ",".$other.")"; }
      else {
$user_tbl.=")"; }

    
$tables = array (
                  
"sesiuni" => "CREATE TABLE sesiuni(id text,timp int)",
                   
"client"      => $user_tbl
              
);
     echo
"
     <TABLE BORDER=\"0\">\n"
;
     while(list(
$name, $table) = each($tables)) {
        echo
"
       <TR>
        <TD>Creating table $name</TD> "
;
        
mysql_query($table,$db_conect) or die ("<font color=\"#FF0000\">ERROR! $tables.</font>");
        echo
"
        <TD><font color=\"#00FF00\">[OK]</FONT></TD>
       </TR>"
;
        
flush();
     }

    
$sql_txt = "INSERT INTO client (user, password) VALUES ('admin','21232f297a57a5a743894a0e4a801fc3')";
     echo
"
       <TR>
        <TD>Creating default user</TD> "
;
    
mysql_query($sql_txt,$db_conect) or die ("<font color=\"#FF0000\">ERROR! creating default user.</font>");
     echo
"
        <TD><font color=\"#00FF00\">[OK]</FONT></TD>
       </TR>
       "
;
     echo
"<BR><BR><BR> Default user: admin password: admin<BR><BR>
     </TABLE>
     <BR><BR><center> Your copy of The Best Autorize is now installed.<BR>For any questions send an email at romancristinel@yahoo.com</center>"
;
    }
  elseif( isset(
$baza) )
    {
      
$config_file = file("config.php");
      if(!
strstr($config_file[count($config_file)-1], '?>') )
        {  
// Last line of config file shouldn't contain php closing tag.
         
if(!$fp = fopen("config.php", "a"))
            die(
"Error opening config.php, please check and make sure it exists in the same directory as this installation script and then try again.");
            
$config_data = '$dbhost = "'.$dbserver.'";'."\n".
                   
'$dbname   = "'.$dbname.'";'."\n".
                   
'$dbuser   = "'.$dbuser.'";'."\n".
                   
'$dbpasswd = "'.$dbpass.'";'."\n\n".
                
'if(!$db_conect = @mysql_connect($dbhost,$dbuser,$dbpasswd)) die($err_query);'."\n".
                
'if(!@mysql_select_db($dbname,$db_conect)) die($err_query);'."\n".
                   
"\n".'?>'."\n";
         
fputs($fp, $config_data);
         
fclose($fp);
       } else print
"DB config was probably already added. Did not modify DB config.<br>\n";

        echo
"
            <FORM METHOD=\"POST\" ACTION=\"install.php\">
             <TABLE BORDER=\"0\" CELLPADDING=\"1\" CELLSPACING=\"0\" ALIGN=\"CENTER\" VALIGN=\"TOP\" WIDTH=\"95%\">
              <TR>
               <TD BGCOLOR=\"#001100\">
                <TABLE BORDER=\"0\" CELLPADDING=\"1\" CELLSPACING=\"1\" WIDTH=\"100%\">
                 <TR BGCOLOR=\"#6C706D\" ALIGN=\"CENTER\"><TD COLSPAN=\"2\"><b>The Best Autorize installer</b></TD></TR>
                 <TR BGCOLOR=\"#2E4460\" ALIGN=\"LEFT\">
                  <TD COLSPAN=\"2\">
                    In the form below please fill in all areas of the form to create your client table
                  </TD>
                 </TR>
                 <TR ALIGN=\"LEFT\">
                  <TD BGCOLOR=\"#6C706D\">User's field:</TD>
                  <TD BGCOLOR=\"#2E4460\"><INPUT TYPE=\"TEXT\" NAME=\"user\" SIZE=\"30\" VALUE=\"user TEXT\"></TD>
                 </TR>
                 <TR>
                  <TD BGCOLOR=\"#6C706D\">Password's field:</TD>
                  <TD BGCOLOR=\"#2E4460\"><INPUT TYPE=\"TEXT\" NAME=\"password\" SIZE=\"30\" VALUE=\"password TEXT\"></TD>
                 <TR>
                  <TD BGCOLOR=\"#6C706D\">
                    <p>other_field(s)</p><br>
                    <p>For example:<br>email varchar(20), web varchar(25)</p>
                  </TD>
                  <TD BGCOLOR=\"#2E4460\"><INPUT TYPE=\"TEXT\" NAME=\"other\" SIZE=\"30\"></TD>
                 </TR>
                 <TR BGCOLOR=\"#6C706D\" ALIGN=\"CENTER\">
                  <TD COLSPAN=\"2\"><INPUT TYPE=\"HIDDEN\" NAME=\"table\" VALUE=\"database\"><INPUT TYPE=\"SUBMIT\" VALUE=\"Next >\"></TD>
                 </TR>
                </TABLE>
               </TD>
              </TR>
             </TABLE>
            </FORM>"
;
    }
   else
    {
      echo
"
        <FORM METHOD=\"POST\" ACTION=\"install.php\">
         <TABLE BORDER=\"0\" CELLPADDING=\"1\" CELLSPACING=\"0\" ALIGN=\"CENTER\" VALIGN=\"TOP\" WIDTH=\"95%\">
          <TR>
           <TD BGCOLOR=\"#001100\">
            <TABLE BORDER=\"0\" CELLPADDING=\"1\" CELLSPACING=\"1\" WIDTH=\"100%\">
             <TR BGCOLOR=\"#6C706D\" ALIGN=\"CENTER\"><TD COLSPAN=\"2\"><b>The Best Autorize installer</b></TD></TR>
             <TR BGCOLOR=\"#2E4460\" ALIGN=\"LEFT\">
              <TD COLSPAN=\"2\">
                Thank you for choosing The Best Autorize. This install will take only a few minutes of your time
                The first step is to setup your database. In the form below please fill in all areas of the form
                and press the 'next' button.
              </TD>
             </TR>
             <TR ALIGN=\"LEFT\">
              <TD BGCOLOR=\"#6C706D\">Database Server Address:</TD>
              <TD BGCOLOR=\"#2E4460\"><INPUT TYPE=\"TEXT\" NAME=\"dbserver\" SIZE=\"30\" VALUE=\"localhost\"></TD>
             </TR>
             <TR>
              <TD BGCOLOR=\"#6C706D\">Database Name: (Be sure that you have this database)</TD>
              <TD BGCOLOR=\"#2E4460\"><INPUT TYPE=\"TEXT\" NAME=\"dbname\" SIZE=\"30\" VALUE=\"phpBB\"></TD>
             <TR>
              <TD BGCOLOR=\"#6C706D\">Database User name:</TD>
              <TD BGCOLOR=\"#2E4460\"><INPUT TYPE=\"TEXT\" NAME=\"dbuser\" SIZE=\"30\" VALUE=\"root\"></TD>
             </TR>
             <TR>
              <TD BGCOLOR=\"#6C706D\">Database Password:</TD>
              <TD BGCOLOR=\"#2E4460\"><INPUT TYPE=\"PASSWORD\" NAME=\"dbpass\" SIZE=\"30\"></TD>
             </TR>
             <TR BGCOLOR=\"#6C706D\" ALIGN=\"CENTER\">
              <TD COLSPAN=\"2\"><INPUT TYPE=\"HIDDEN\" NAME=\"baza\" VALUE=\"database\"><INPUT TYPE=\"SUBMIT\" VALUE=\"Next >\"></TD>
             </TR>
            </TABLE>
           </TD>
          </TR>
         </TABLE>
        </FORM>"
;
    }

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0038 ]--