!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:\Intranet\C\xampp\htdocs\php\OAB\WebCalendar-1.0.2\   drwxrwxrwx
Free 4.09 GB of 39.52 GB (10.36%)
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:     layers_toggle.php (1.27 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* $Id: layers_toggle.php,v 1.17.2.1 2005/12/02 21:45:15 cknudsen Exp $ */
include_once 'includes/init.php';
load_user_layers ();


$status getValue 'status''(on|off)'true );


if ( 
$allow_view_other != 'Y' ) {
  
print_header ();
  
etranslate("You are not authorized");
  
print_trailer ();
  exit;
}

$updating_public false;
if ( 
$is_admin && ! empty ( $public ) && $public_access == "Y" ) {
  
$updating_public true;
  
$layer_user "__public__";
  
$url 'layers.php?public=1';
} else {
  
$layer_user $login;
  
$url 'layers.php';
}

$sql "DELETE FROM webcal_user_pref WHERE cal_login = '$layer_user' " .
  
"AND cal_setting = 'LAYERS_STATUS'";
dbi_query $sql );

$value = ( $status == "off" "N" "Y" );

$sql "INSERT INTO webcal_user_pref " .
  
"( cal_login, cal_setting, cal_value ) VALUES " .
  
"( '$layer_user', 'LAYERS_STATUS', '$value' )";
if ( ! 
dbi_query $sql ) ) {
  
$error "Unable to update preference: " dbi_error () .
    
"<br /><br /><span style=\"font-weight:bold;\">SQL:</span> $sql";
  break;
}

if ( empty ( 
$error ) ) {
  
do_redirect $url );
}

print_header();
?>

<h2><?php etranslate("Error")?></h2>

<?php etranslate("The following error occurred")?>:
<blockquote>
<?php echo $error?>
</blockquote>

<?php print_trailer(); ?>

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