!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

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

Safe-mode: OFF (not secure)

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


Viewing file:     GitRevision.php (3.49 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Displays git revision
 *
 * @package PhpMyAdmin
 */
namespace PhpMyAdmin\Display;

use 
PhpMyAdmin\Core;
use 
PhpMyAdmin\Response;
use 
PhpMyAdmin\Util;

/**
 * PhpMyAdmin\Display\GitRevision class
 *
 * @package PhpMyAdmin
 */
class GitRevision
{
    
/**
    * Prints details about the current Git commit revision
    *
    * @return void
    */
    
public static function display()
    {

        
// load revision data from repo
        
$GLOBALS['PMA_Config']->checkGitRevision();

        if (! 
$GLOBALS['PMA_Config']->get('PMA_VERSION_GIT')) {
            
$response Response::getInstance();
            
$response->setRequestStatus(false);
            return;
        }

        
// if using a remote commit fast-forwarded, link to GitHub
        
$commit_hash substr(
            
$GLOBALS['PMA_Config']->get('PMA_VERSION_GIT_COMMITHASH'),
            
0,
            
7
        
);
        
$commit_hash '<strong title="'
            
htmlspecialchars($GLOBALS['PMA_Config']->get('PMA_VERSION_GIT_MESSAGE'))
            . 
'">' htmlspecialchars($commit_hash) . '</strong>';
        if (
$GLOBALS['PMA_Config']->get('PMA_VERSION_GIT_ISREMOTECOMMIT')) {
            
$commit_hash '<a href="'
                
Core::linkURL(
                    
'https://github.com/phpmyadmin/phpmyadmin/commit/'
                    
htmlspecialchars($GLOBALS['PMA_Config']->get('PMA_VERSION_GIT_COMMITHASH'))
                )
                . 
'" rel="noopener noreferrer" target="_blank">' $commit_hash '</a>';
        }

        
$branch $GLOBALS['PMA_Config']->get('PMA_VERSION_GIT_BRANCH');
        
$isRemoteBranch $GLOBALS['PMA_Config']->get('PMA_VERSION_GIT_ISREMOTEBRANCH');
        if (
$isRemoteBranch) {
            
$branch '<a href="'
                
Core::linkURL(
                    
'https://github.com/phpmyadmin/phpmyadmin/tree/'
                    
$GLOBALS['PMA_Config']->get('PMA_VERSION_GIT_BRANCH')
                )
                . 
'" rel="noopener noreferrer" target="_blank">' htmlspecialchars($branch) . '</a>';
        }
        if (
$branch !== false) {
            
$branch sprintf(
                
__('%1$s from %2$s branch'),
                
$commit_hash,
                
$isRemoteBranch $branch htmlspecialchars($branch)
            );
        } else {
            
$branch $commit_hash ' (' __('no branch') . ')';
        }

        
$committer $GLOBALS['PMA_Config']->get('PMA_VERSION_GIT_COMMITTER');
        
$author $GLOBALS['PMA_Config']->get('PMA_VERSION_GIT_AUTHOR');
        
Core::printListItem(
            
__('Git revision:') . ' '
            
$branch ',<br /> '
            
sprintf(
                
__('committed on %1$s by %2$s'),
                
Util::localisedDate(strtotime($committer['date'])),
                
'<a href="' Core::linkURL(
                    
'mailto:' htmlspecialchars($committer['email'])
                ) . 
'">'
                
htmlspecialchars($committer['name']) . '</a>'
            
)
            . (
$author != $committer
                
', <br />'
                
sprintf(
                    
__('authored on %1$s by %2$s'),
                    
Util::localisedDate(strtotime($author['date'])),
                    
'<a href="' Core::linkURL(
                        
'mailto:' htmlspecialchars($author['email'])
                    ) . 
'">'
                    
htmlspecialchars($author['name']) . '</a>'
                
)
                : 
''),
            
'li_pma_version_git'nullnullnull
        
);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0051 ]--