!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/vendor/laravel/framework/src/Illuminate/Broadcasting/   drwxr-xr-x
Free 13.21 GB of 57.97 GB (22.79%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     BroadcastEvent.php (2.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Broadcasting;

use 
Illuminate\Bus\Queueable;
use 
Illuminate\Contracts\Broadcasting\Broadcaster;
use 
Illuminate\Contracts\Queue\ShouldQueue;
use 
Illuminate\Contracts\Support\Arrayable;
use 
Illuminate\Support\Arr;
use 
ReflectionClass;
use 
ReflectionProperty;

class 
BroadcastEvent implements ShouldQueue
{
    use 
Queueable;

    
/**
     * The event instance.
     *
     * @var mixed
     */
    
public $event;

    
/**
     * The number of times the job may be attempted.
     *
     * @var int
     */
    
public $tries;

    
/**
     * The number of seconds the job can run before timing out.
     *
     * @var int
     */
    
public $timeout;

    
/**
     * Create a new job handler instance.
     *
     * @param  mixed  $event
     * @return void
     */
    
public function __construct($event)
    {
        
$this->event $event;
        
$this->tries property_exists($event'tries') ? $event->tries null;
        
$this->timeout property_exists($event'timeout') ? $event->timeout null;
        
$this->afterCommit property_exists($event'afterCommit') ? $event->afterCommit null;
    }

    
/**
     * Handle the queued job.
     *
     * @param  \Illuminate\Contracts\Broadcasting\Broadcaster  $broadcaster
     * @return void
     */
    
public function handle(Broadcaster $broadcaster)
    {
        
$name method_exists($this->event'broadcastAs')
                ? 
$this->event->broadcastAs() : get_class($this->event);

        
$broadcaster->broadcast(
            
Arr::wrap($this->event->broadcastOn()), $name,
            
$this->getPayloadFromEvent($this->event)
        );
    }

    
/**
     * Get the payload for the given event.
     *
     * @param  mixed  $event
     * @return array
     */
    
protected function getPayloadFromEvent($event)
    {
        if (
method_exists($event'broadcastWith')) {
            return 
array_merge(
                
$event->broadcastWith(), ['socket' => data_get($event'socket')]
            );
        }

        
$payload = [];

        foreach ((new 
ReflectionClass($event))->getProperties(ReflectionProperty::IS_PUBLIC) as $property) {
            
$payload[$property->getName()] = $this->formatProperty($property->getValue($event));
        }

        unset(
$payload['broadcastQueue']);

        return 
$payload;
    }

    
/**
     * Format the given value for a property.
     *
     * @param  mixed  $value
     * @return mixed
     */
    
protected function formatProperty($value)
    {
        if (
$value instanceof Arrayable) {
            return 
$value->toArray();
        }

        return 
$value;
    }

    
/**
     * Get the display name for the queued job.
     *
     * @return string
     */
    
public function displayName()
    {
        return 
get_class($this->event);
    }

    
/**
     * Prepare the instance for cloning.
     *
     * @return void
     */
    
public function __clone()
    {
        
$this->event = clone $this->event;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0059 ]--