403Webshell
Server IP : 217.160.0.95  /  Your IP : 216.73.216.62
Web Server : Apache
System : Linux infong-uk56 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64
User : u78863098 ( 10368940)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /homepages/oneclick/WordPress/7.0/601/scripts/factory/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /homepages/oneclick/WordPress/7.0/601/scripts/factory/factory.php
<?php
namespace Factory;

use \Core\Environment;
use \Core\Database;

use \Exception;

class Factory
{
    public function factory($appName, Environment $env, Database $db)
    {
        // Class name is the same as app name
        $wrapperName = $appName;

        if (!file_exists('wrappers/' . $wrapperName . '.php')) {
            throw new Exception("wrapper $wrapperName not implemented.");
        }

        $className = "\\Wrappers\\" . $wrapperName;
        return new $className($appName, $env, $db);
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit