uawdijnntqw1x1x1
IP : 52.14.45.84
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
lscache
/
..
/
ssl
/
..
/
.trash
/
system.1
/
library
/
request.php
/
/
<?php /** * @package OpenCart * @author Daniel Kerr * @copyright Copyright (c) 2005 - 2017, OpenCart, Ltd. (https://www.opencart.com/) * @license https://opensource.org/licenses/GPL-3.0 * @link https://www.opencart.com */ /** * Request class */ namespace Opencart\System\Library; class Request { public array $get = []; public array $post = []; public array $cookie = []; public array $files = []; public array $server = []; /** * Constructor */ public function __construct() { $this->get = $this->clean($_GET); $this->post = $this->clean($_POST); $this->request = $this->clean($_REQUEST); $this->cookie = $this->clean($_COOKIE); $this->files = $this->clean($_FILES); $this->server = $this->clean($_SERVER); } /** * * @param array $data * * @return array */ public function clean(mixed $data): mixed { if (is_array($data)) { foreach ($data as $key => $value) { unset($data[$key]); $data[$this->clean($key)] = $this->clean($value); } } else { $data = trim(htmlspecialchars($data, ENT_COMPAT, 'UTF-8')); } return $data; } }
/home/sudancam/lscache/../ssl/../.trash/system.1/library/request.php