Done ! 403WebShell
403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/blueversion/wp-content/plugins/give/src/Tracking/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/blueversion/wp-content/plugins/give/src/Tracking//TrackRegisterer.php
<?php

namespace Give\Tracking;

use Give\Tracking\Enum\EventType;
use Give\Tracking\Repositories\TrackEvents;

/**
 * Class TrackRegisterer
 *
 * This class uses to recode tracks and send them to sever on "shutdown" action hook.
 *
 * @package Give\Tracking
 * @since 2.10.0
 */
class TrackRegisterer
{
    /**
     * Collection of track events.
     *
     * @sicne 2.10.0
     * @var array
     */
    private $newTracks = [];

    /**
     * Recoded tracks.
     * @var array
     */
    private $recordedTracks;

    /**
     * Track constructor.
     *
     * @param TrackEvents $trackEvents
     */
    public function __construct(TrackEvents $trackEvents)
    {
        $this->recordedTracks = $trackEvents->getTrackList();
    }

    /**
     * Register track.
     *
     * @since 2.10.0
     *
     * @param string    $trackData
     *
     * @param EventType $eventType
     */
    public function register($eventType, $trackData)
    {
        $id = $eventType->getValue();
        if (array_key_exists($id, $this->recordedTracks) || ! $trackData) {
            return;
        }

        $this->newTracks[$id] = $trackData;
    }

    /**
     * Get new tracks.
     *
     * @since 2.10.0
     *
     * @return array
     */
    public function getTrackList()
    {
        return array_merge($this->recordedTracks, $this->newTracks);
    }

    /**
     * Return whether or not new tracks registered.
     *
     * @since 2.10.0
     *
     * @return bool
     */
    public function hasNewTracks()
    {
        return (bool)$this->newTracks;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit