!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_led/php/vendor/siu/security-multitool/library/SecurityMultiTool/Html/   drwxrwxr-x
Free 15.68 GB of 61.93 GB (25.31%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Sanitizer.php (2.55 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace SecurityMultiTool\Html;

use 
SecurityMultiTool\Exception;
use 
SecurityMultiTool\Common;

class 
Sanitizer extends Common\AbstractOptions implements Common\OptionsInterface
{

    protected 
$purifier null;

    protected 
$config null;

    protected 
$filter '';

    public function 
__construct($cachePath, array $options null)
    {
        if ((!isset(
$cachePath) || !is_dir($cachePath) || !is_writable($cachePath))
        && 
false !== $cachePath) {
            throw new 
Exception\RuntimeException(
                
'The HTMLPurifier HTML Sanitiser requires a cache location to '
                
'improve performance. Please set a cache path or set the '
                
'first parameter to the constructor of this class to false. '
                
'Ensure the given location, if set, is writable by PHP'
            
);
        }
        
$this->config = \HTMLPurifier_Config::createDefault();
        if (
false === $cachePath) {
            
$this->getConfig()->set('Cache.DefinitionImpl'null);
        } else {
            
$this->getConfig()->set('Cache.SerializerPath'rtrim($cachePath'\\/ '));
        }
        
parent::__construct($options);
    }

    public function 
sanitize($html$filter null)
    {
        return 
$this->getHtmlPurifier()->purify($html$filter);
    }

    public function 
reset()
    {
        
$this->purifier null;
    }

    public function 
setFilterDefinition($filter)
    {
        
$this->filter $filter;
        
$this->setOption('HTML.Allowed'$this->filter);
    }

    public function 
getFilterDefinition()
    {
        return 
$this->filter;
    }

    public function 
setOption($key$value)
    {
        
$this->reset();
        
$this->getConfig()->set($key$value);
    }

    public function 
getOption($key)
    {
        return 
$this->getConfig()->get($key);
    }

    public function 
getOptions()
    {
        throw new 
Exception\RuntimeException(
            
'Unfortunately, there\'s no way to retrieve all options from '
            
'HTMLPurifier_Config\'s property list object'
        
);
    }

    public function 
setConfig(\HTMLPurifier_Config $config)
    {
        
$this->reset();
        
$this->config $config;
    }

    public function 
getConfig()
    {
        return 
$this->config;
    }

    public function 
setHtmlPurifier(\HtmlPurifier $purifier)
    {
        
$this->purifier $purifier;
    }

    public function 
getHtmlPurifier()
    {
        if (!isset(
$this->purifier)) {
            
$this->setHtmlPurifier(new \HTMLPurifier($this->getConfig()));
        }
        return 
$this->purifier;
    }

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.2819 ]--