!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_led/php/3ros/simplesamlphp/lib/SimpleSAML/Error/   drwxrwxr-x
Free 13.74 GB of 61.93 GB (22.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Assertion.php (1.92 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Class for creating exceptions from assertion failures.
 *
 * @author Olav Morken, UNINETT AS.
 * @package simpleSAMLphp
 * @version $Id$
 */
class SimpleSAML_Error_Assertion extends SimpleSAML_Error_Exception {


    
/**
     * The assertion which failed, or NULL if only an expression was passed to the
     * assert-function.
     */
    
private $assertion;


    
/**
     * Constructor for the assertion exception.
     *
     * Should only be called from the onAssertion handler.
     *
     * @param string|NULL $assertion  The assertion which failed, or NULL if the assert-function was
     *                                given an expression.
     */
    
public function __construct($assertion NULL) {
        
assert('is_null($assertion) || is_string($assertion)');

        
$msg 'Assertion failed: ' var_export($assertionTRUE);
        
parent::__construct($msg);

        
$this->assertion $assertion;
    }


    
/**
     * Retrieve the assertion which failed.
     *
     * @return string|NULL  The assertion which failed, or NULL if the assert-function was called with an expression.
     */
    
public function getAssertion() {
        return 
$this->assertion;
    }


    
/**
     * Install this assertion handler.
     *
     * This function will register this assertion handler. If will not enable assertions if they are
     * disabled.
     */
    
public static function installHandler() {

        
assert_options(ASSERT_WARNING,    0);
        
assert_options(ASSERT_QUIET_EVAL0);
        
assert_options(ASSERT_CALLBACK,   array('SimpleSAML_Error_Assertion''onAssertion'));
    }


    
/**
     * Handle assertion.
     *
     * This function handles an assertion.
     *
     * @param string $file  The file assert was called from.
     * @param int $line  The line assert was called from.
     * @param mixed $message  The expression which was passed to the assert-function.
     */
    
public static function onAssertion($file$line$message) {

        if(!empty(
$message)) {
            
$exception = new self($message);
        } else {
            
$exception = new self();
        }

        
$exception->logError();
    }

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5176 ]--