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

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

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

File Path : /home/webmaster/firofichi/www/vendor/magento/framework/Event/Observer.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Event; use Magento\Framework\Event; /** * @api * @since 100.0.2 */ class Observer extends \Magento\Framework\DataObject { /** * Checks the observer's event_regex against event's name * * @param Event $event * @return boolean */ public function isValidFor(Event $event) { return $this->getEventName() === $event->getName(); } /** * Dispatches an event to observer's callback * * @param Event $event * @return $this */ public function dispatch(Event $event) { if (!$this->isValidFor($event)) { return $this; } $callback = $this->getCallback(); $this->setEvent($event); $_profilerKey = 'OBSERVER: '; if (is_object($callback[0])) { $_profilerKey .= get_class($callback[0]); } else { $_profilerKey .= (string)$callback[0]; } $_profilerKey .= ' -> ' . $callback[1]; \Magento\Framework\Profiler::start($_profilerKey); call_user_func($callback, $this); \Magento\Framework\Profiler::stop($_profilerKey); return $this; } /** * @return string */ public function getName() { return $this->getData('name'); } /** * @param string $data * @return \Magento\Framework\DataObject */ public function setName($data) { return $this->setData('name', $data); } /** * @return string */ public function getEventName() { return $this->getData('event_name'); } /** * @param string $data * @return \Magento\Framework\DataObject */ public function setEventName($data) { return $this->setData('event_name', $data); } /** * @return string */ public function getCallback() { return $this->getData('callback'); } /** * @param string $data * @return \Magento\Framework\DataObject */ public function setCallback($data) { return $this->setData('callback', $data); } /** * Get observer event object * * @return Event */ public function getEvent() { return $this->getData('event'); } /** * @param mixed $data * @return \Magento\Framework\DataObject */ public function setEvent($data) { return $this->setData('event', $data); } }