Kernel : Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
Disable function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Safe mode : OFF
Host : diestoffstrasse.com | Server ip : 127.0.0.1 | Your ip : 127.0.0.1 | Time @ Server : 24 Aug 2025 00:37:49
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/dev2.destoffenstraat.com/vendor-1/magento/framework/Stdlib/

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

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/Stdlib/BooleanUtils.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Stdlib; /** * Utility methods for the boolean data type * * @api * @since 100.0.2 */ class BooleanUtils { /** * Expressions that mean boolean TRUE * * @var array */ private $trueValues; /** * Expressions that mean boolean FALSE * * @var array */ private $falseValues; /** * @param array $trueValues * @param array $falseValues * @codingStandardsIgnoreStart */ public function __construct( array $trueValues = [true, 1, 'true', '1'], array $falseValues = [false, 0, 'false', '0'] ) { $this->trueValues = $trueValues; $this->falseValues = $falseValues; } // @codingStandardsIgnoreEnd /** * Retrieve boolean value for an expression * * @param mixed $value Boolean expression * @return bool * @throws \InvalidArgumentException */ public function toBoolean($value) { /** * Built-in function filter_var() is not used, because such values as on/off are irrelevant in some contexts * @link http://www.php.net/manual/en/filter.filters.validate.php */ if (in_array($value, $this->trueValues, true)) { return true; } if (in_array($value, $this->falseValues, true)) { return false; } $allowedValues = array_merge($this->trueValues, $this->falseValues); throw new \InvalidArgumentException( 'Boolean value is expected, supported values: ' . var_export($allowedValues, true) ); } /** * Try to convert $value to boolean else return non processed $value * * @param mixed $value * @return mixed * @since 101.0.0 */ public function convert($value) { if (in_array($value, $this->trueValues, true)) { return true; } elseif (in_array($value, $this->falseValues, true)) { return false; } else { return $value; } } }