shell bypass 403
UnknownSec Shell
: /proc/thread-self/root/home/bouloter/public_html/vendor/whichbrowser/parser/src/Model/ [ drwxr-xr-x ]
<?php
namespace WhichBrowser\Model;
use WhichBrowser\Model\Primitive\NameVersion;
class Engine extends NameVersion
{
/**
* Get an array of all defined properties
*
* @internal
*
* @return array
*/
public function toArray()
{
$result = [];
if (!empty($this->name)) {
$result['name'] = $this->name;
}
if (!empty($this->version)) {
$result['version'] = $this->version->toArray();
}
if (isset($result['version']) && empty($result['version'])) {
unset($result['version']);
}
return $result;
}
}