!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)

E:\xampp\xampp\htdocs\jaime\nuevo\WebCalendar-1.0.2\   drwxrwxrwx
Free 8.8 GB of 239.26 GB (3.68%)
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:     approve_entry.php (1.48 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once 'includes/init.php';
load_user_categories();

$error "";

if ( 
$readonly == 'Y' ) {
  
$error translate("You are not authorized");
}

// Allow administrators to approve public events
if ( $public_access == "Y" && ! empty ( $public ) && $is_admin )
  
$app_user "__public__";
else
  
$app_user = ( $is_assistant || $is_nonuser_admin $user $login );

if ( empty ( 
$error ) && $id ) {
  if ( ! 
dbi_query "UPDATE webcal_entry_user SET cal_status = 'A' " .
    
"WHERE cal_login = '$app_user' AND cal_id = $id) ) {
    
$error translate("Error approving event") . ": " dbi_error ();
  } else {
    
activity_log $id$login$app_user$LOG_APPROVE"" );
  }
  
// Update any extension events related to this one.
  
$res dbi_query "SELECT cal_id FROM webcal_entry " .
    
"WHERE cal_ext_for_id = $id);
  if ( 
$res ) {
    if ( 
$row dbi_fetch_row $res ) ) {
      
$ext_id $row[0];
      if ( ! 
dbi_query "UPDATE webcal_entry_user SET cal_status = 'A' " .
        
"WHERE cal_login = '$app_user' AND cal_id = $ext_id) ) {
        
$error translate("Error approving event") . ": " dbi_error ();
      }
    }
    
dbi_free_result $res );
  }
}

if ( empty ( 
$error ) ) {
  if ( ! empty ( 
$ret ) && $ret == "list" )
    
do_redirect "list_unapproved.php?user=$app_user);
  else
    
do_redirect "view_entry.php?id=$id&amp;user=$app_user);
  exit;
}
print_header ();
echo 
"<h2>" translate("Error") . "</h2>\n";
echo 
"<p>" $error "</p>\n";
print_trailer ();
?>

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