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


Viewing file:     pager_test_xss.php (1.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// $Id: pager_test_xss.php,v 1.1 2005/07/04 08:08:46 quipo Exp $

//override url
$_SERVER['PHP_SELF'] = '">test';

require_once 
'simple_include.php';
require_once 
'pager_include.php';

class 
TestOfPagerXSS extends UnitTestCase {
    var 
$pager;
    var 
$baseurl;
    function 
TestOfPagerXSS($name='Test of Pager - XSS attacks') {
        
$this->UnitTestCase($name);
    }
    function 
setUp() {
        
$options = array(
            
'itemData' => array(12345678910),
            
'perPage'  => 5,
        );
        
$this->pager Pager::factory($options);
        
$this->baseurl substr($_SERVER['PHP_SELF'], 0strrpos($_SERVER['PHP_SELF'], '/'));
    }
    function 
tearDown() {
        unset(
$this->pager);
    }
    function 
testXSS() {
        
$options = array(
            
'itemData' => array(12345678910),
            
'perPage'  => 5,
            
'nextImg'  => '&raquo;'
        
);
        
$this->pager Pager::factory($options);
        
$expected '&nbsp;<a href="./&quot;&gt;test?pageID=2" title="next page">&raquo;</a>&nbsp;';
        
$this->assertEqual($expected$this->pager->_getNextLink());
    }
}
if (!
defined('TEST_RUNNING')) {
    
define('TEST_RUNNING'true);
    
$test = &new TestOfPagerXSS();
    
$test->run(new HtmlReporter());
}
?>

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