!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/portfolio.picotech.app/public_html/vendor/symfony/uid/Command/   drwxr-xr-x
Free 28.48 GB of 117.98 GB (24.14%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Uid\Command;

use 
Symfony\Component\Console\Attribute\AsCommand;
use 
Symfony\Component\Console\Command\Command;
use 
Symfony\Component\Console\Helper\TableSeparator;
use 
Symfony\Component\Console\Input\InputArgument;
use 
Symfony\Component\Console\Input\InputInterface;
use 
Symfony\Component\Console\Output\ConsoleOutputInterface;
use 
Symfony\Component\Console\Output\OutputInterface;
use 
Symfony\Component\Console\Style\SymfonyStyle;
use 
Symfony\Component\Uid\Ulid;

#[
AsCommand(name'ulid:inspect'description'Inspect a ULID')]
class 
InspectUlidCommand extends Command
{
    protected function 
configure(): void
    
{
        
$this
            
->setDefinition([
                new 
InputArgument('ulid'InputArgument::REQUIRED'The ULID to inspect'),
            ])
            ->
setHelp(<<<'EOF'
The <info>%command.name%</info> displays information about a ULID.

    <info>php %command.full_name% 01EWAKBCMWQ2C94EXNN60ZBS0Q</info>
    <info>php %command.full_name% 1BVdfLn3ERmbjYBLCdaaLW</info>
    <info>php %command.full_name% 01771535-b29c-b898-923b-b5a981f5e417</info>
EOF
            )
        ;
    }

    protected function 
execute(InputInterface $inputOutputInterface $output): int
    
{
        
$io = new SymfonyStyle($input$output instanceof ConsoleOutputInterface $output->getErrorOutput() : $output);

        try {
            
$ulid Ulid::fromString($input->getArgument('ulid'));
        } catch (
\InvalidArgumentException $e) {
            
$io->error($e->getMessage());

            return 
1;
        }

        
$io->table(['Label''Value'], [
            [
'toBase32 (canonical)', (string) $ulid],
            [
'toBase58'$ulid->toBase58()],
            [
'toRfc4122'$ulid->toRfc4122()],
            [
'toHex'$ulid->toHex()],
            new 
TableSeparator(),
            [
'Time'$ulid->getDateTime()->format('Y-m-d H:i:s.v \U\T\C')],
        ]);

        return 
0;
    }
}

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