!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.11 GB of 39.52 GB (10.4%)
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:     post.php (3.24 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;
  }
    
//When form is  submited
 
if (isset($_POST['sub'])) {
 
// update the config file
 
$str "<?php
/**
*  Copyright 2008 Grestul Group
*  Powered by Grestul
**/\n
// Please use the visual Installer to install this software
// If Grestul is already installed please use the admin panel
// to modify some of this information\n"
;
  foreach (
$_POST as $k=>$v)
 {
 if (
$k != 'sub')              // ignore submit button
 
{
 
$str .= "\$$k='$v';\n";        // add line to config file text
  
}
  }
 
$str .= "include ('config.inc.php');\n ?>";
 
$file_open fopen(GRESTUL_ROOT.'inc/config.php'"w+");
 
fwrite($file_open$str);
 
 }
require (
GRESTUL_ROOT.'inc/config.php');

?>
<!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="on">Create Tables</li>
        <li>Create Admin</li>
        <li>Complete Install</li>
            </ul>
        </div>
        <div class="content">
            <h3 class="data">Creating Tables...</h3>
            <?php
 mysql_select_db
("$dbname");
$sql "CREATE TABLE comments (
  ID int(11) NOT NULL auto_increment,
  name varchar(255) default NULL,
  url varchar(255) default NULL,
  datetime int(11) unsigned default NULL,
  comment text,
  ip varchar(15) default NULL,
  KEY ID (ID) )"
;
$result mysql_query($sql$db); 
if (!
$result){
print 
mysql_error();
echo 
'<br />';
}
if (
$result) {
echo 
'<b>Create comments table. &mdash; Done!<br /></b>';
}
 
$sql "CREATE TABLE grestullogin (
  ID int(11) NOT NULL auto_increment,
  user varchar(30) default NULL,
  pass varchar(50) default NULL,
  KEY ID (ID) )
  TYPE=MyISAM AUTO_INCREMENT=2;"
;
mysql_query($sql$db);
if (!
$result){
print 
mysql_error();
}
if (
$result) {
echo 
'<b>Create grestullogin table. &mdash; Done!<br /></b>';
echo 
'<br /><br /> The tables have been created successfully! &mdash; Click continue to resume the install.<br /><br /><br />';
}
mysql_close($db);
?>
            <a href="create.php">
            <div class="next"><div class="submit">Continue >></div></div><br style="clear: both;" /></a>
            </form>

        </div>

            <div class="footer">
            Copyright &copy; 2008 Grestul Group
            </div>
        </div>
        </div>
</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 ]--