Decoded Output
Download<?php
namespace PHPDaemon\Applications\GibsonREST;
/**
* @package GibsonREST
* @subpackage Base
*
* @author Vasily Zorin <[email protected]>
*/
class App extends \PHPDaemon\Core\AppInstance
{
public $gibson;
/**
* Constructor.
* @return void
*/
public function init()
{
$this->gibson = \PHPDaemon\Clients\Gibson\Pool::getInstance($this->config->gibsonname->value);
}
/**
* Creates Request.
* @param object Request.
* @param object Upstream application instance.
* @return Request Request.
*/
public function beginRequest($req, $upstream)
{
return new Request($this, $upstream, $req);
}
/**
* Setting default config options
* Overriden from AppInstance::getConfigDefaults
* Uncomment and return array with your default options
* @return array|false
*/
protected function getConfigDefaults()
{
return [
'gibson-name' => '',
'auth' => 0,
'username' => 'admin',
'password' => 'gibson',
'credver' => 1,
];
}
}
?>
Did this file decode correctly?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
None
Stats
| MD5 | 0aa8bf8f84ec2aa1 |
|---|---|
| Eval Count | 0 |
| Decode Time | 97 ms |
Original Code
<?php
namespace PHPDaemon\Applications\GibsonREST;
/**
* @package GibsonREST
* @subpackage Base
*
* @author Vasily Zorin <[email protected]>
*/
class App extends \PHPDaemon\Core\AppInstance
{
public $gibson;
/**
* Constructor.
* @return void
*/
public function init()
{
$this->gibson = \PHPDaemon\Clients\Gibson\Pool::getInstance($this->config->gibsonname->value);
}
/**
* Creates Request.
* @param object Request.
* @param object Upstream application instance.
* @return Request Request.
*/
public function beginRequest($req, $upstream)
{
return new Request($this, $upstream, $req);
}
/**
* Setting default config options
* Overriden from AppInstance::getConfigDefaults
* Uncomment and return array with your default options
* @return array|false
*/
protected function getConfigDefaults()
{
return [
'gibson-name' => '',
'auth' => 0,
'username' => 'admin',
'password' => 'gibson',
'credver' => 1,
];
}
}