Kernel : Linux vmw02p.internet-indee.net 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Tue Nov 16 14:42:35 UTC 2021 x86_64
Disable function : NONE
Safe mode : OFF
Host : firofichi.it | Server ip : 5.196.164.15 | Your ip : 3.137.168.30 | Time @ Server : 19 Oct 2024 12:11:57
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/webmaster/bottegadicalabria/test/vendor/magento/framework/HTTP/

HOME about upload exec mass file domain root vuln newfile newfolder kill me

File Path : /home/webmaster/bottegadicalabria/test/vendor/magento/framework/HTTP/Header.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\HTTP; /** * Library for working with HTTP headers */ class Header { /** * Request object * * @var \Magento\Framework\App\RequestInterface */ protected $_request; /** * @var \Magento\Framework\Stdlib\StringUtils */ protected $_converter; /** * @param \Magento\Framework\App\RequestInterface $httpRequest * @param \Magento\Framework\Stdlib\StringUtils $converter */ public function __construct( \Magento\Framework\App\RequestInterface $httpRequest, \Magento\Framework\Stdlib\StringUtils $converter ) { $this->_request = $httpRequest; $this->_converter = $converter; } /** * Retrieve HTTP HOST * * @param boolean $clean clean non UTF-8 characters * @return string */ public function getHttpHost($clean = true) { return $this->_getHttpCleanValue('HTTP_HOST', $clean); } /** * Retrieve HTTP USER AGENT * * @param boolean $clean clean non UTF-8 characters * @return string */ public function getHttpUserAgent($clean = true) { return $this->_getHttpCleanValue('HTTP_USER_AGENT', $clean); } /** * Retrieve HTTP ACCEPT LANGUAGE * * @param boolean $clean clean non UTF-8 characters * @return string */ public function getHttpAcceptLanguage($clean = true) { return $this->_getHttpCleanValue('HTTP_ACCEPT_LANGUAGE', $clean); } /** * Retrieve HTTP ACCEPT CHARSET * * @param boolean $clean clean non UTF-8 characters * @return string */ public function getHttpAcceptCharset($clean = true) { return $this->_getHttpCleanValue('HTTP_ACCEPT_CHARSET', $clean); } /** * Retrieve HTTP REFERER * * @param boolean $clean clean non UTF-8 characters * @return string */ public function getHttpReferer($clean = true) { return $this->_getHttpCleanValue('HTTP_REFERER', $clean); } /** * Returns the REQUEST_URI taking into account * platform differences between Apache and IIS * * @param boolean $clean clean non UTF-8 characters * @return string */ public function getRequestUri($clean = false) { $uri = $this->_request->getRequestUri(); if ($clean) { $uri = $this->_converter->cleanString($uri); } return $uri; } /** * Retrieve HTTP "clean" value * * @param string $var * @param boolean $clean clean non UTF-8 characters * @return string */ protected function _getHttpCleanValue($var, $clean = true) { $value = $this->_request->getServer($var, ''); if ($clean) { $value = $this->_converter->cleanString($value); } return $value; } }