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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/ecom1.picotech.app/public_html/vendor/laravel/prompts/src/   drwxr-xr-x
Free 28.45 GB of 117.98 GB (24.12%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Laravel\Prompts;

use 
Closure;
use 
Illuminate\Support\Collection;

/**
 * Prompt the user for text input.
 */
function text(string $labelstring $placeholder ''string $default ''bool|string $required falseClosure $validate nullstring $hint ''): string
{
    return (new 
TextPrompt($label$placeholder$default$required$validate$hint))->prompt();
}

/**
 * Prompt the user for input, hiding the value.
 */
function password(string $labelstring $placeholder ''bool|string $required falseClosure $validate nullstring $hint ''): string
{
    return (new 
PasswordPrompt($label$placeholder$required$validate$hint))->prompt();
}

/**
 * Prompt the user to select an option.
 *
 * @param  array<int|string, string>|Collection<int|string, string>  $options
 */
function select(string $label, array|Collection $optionsint|string $default nullint $scroll 5Closure $validate nullstring $hint ''): int|string
{
    return (new 
SelectPrompt($label$options$default$scroll$validate$hint))->prompt();
}

/**
 * Prompt the user to select multiple options.
 *
 * @param  array<int|string, string>|Collection<int|string, string>  $options
 * @param  array<int|string>|Collection<int, int|string>  $default
 * @return array<int|string>
 */
function multiselect(string $label, array|Collection $options, array|Collection $default = [], int $scroll 5bool|string $required falseClosure $validate nullstring $hint 'Use the space bar to select options.'): array
{
    return (new 
MultiSelectPrompt($label$options$default$scroll$required$validate$hint))->prompt();
}

/**
 * Prompt the user to confirm an action.
 */
function confirm(string $labelbool $default truestring $yes 'Yes'string $no 'No'bool|string $required falseClosure $validate nullstring $hint ''): bool
{
    return (new 
ConfirmPrompt($label$default$yes$no$required$validate$hint))->prompt();
}

/**
 * Prompt the user for text input with auto-completion.
 *
 * @param  array<string>|Collection<int, string>|Closure(string): array<string>  $options
 */
function suggest(string $label, array|Collection|Closure $optionsstring $placeholder ''string $default ''int $scroll 5bool|string $required falseClosure $validate nullstring $hint ''): string
{
    return (new 
SuggestPrompt($label$options$placeholder$default$scroll$required$validate$hint))->prompt();
}

/**
 * Allow the user to search for an option.
 *
 * @param  Closure(string): array<int|string, string>  $options
 */
function search(string $labelClosure $optionsstring $placeholder ''int $scroll 5Closure $validate nullstring $hint ''): int|string
{
    return (new 
SearchPrompt($label$options$placeholder$scroll$validate$hint))->prompt();
}

/**
 * Render a spinner while the given callback is executing.
 *
 * @template TReturn of mixed
 *
 * @param  \Closure(): TReturn  $callback
 * @return TReturn
 */
function spin(Closure $callbackstring $message ''): mixed
{
    return (new 
Spinner($message))->spin($callback);
}

/**
 * Display a note.
 */
function note(string $messagestring $type null): void
{
    (new 
Note($message$type))->display();
}

/**
 * Display an error.
 */
function error(string $message): void
{
    (new 
Note($message'error'))->display();
}

/**
 * Display a warning.
 */
function warning(string $message): void
{
    (new 
Note($message'warning'))->display();
}

/**
 * Display an alert.
 */
function alert(string $message): void
{
    (new 
Note($message'alert'))->display();
}

/**
 * Display an informational message.
 */
function info(string $message): void
{
    (new 
Note($message'info'))->display();
}

/**
 * Display an introduction.
 */
function intro(string $message): void
{
    (new 
Note($message'intro'))->display();
}

/**
 * Display a closing message.
 */
function outro(string $message): void
{
    (new 
Note($message'outro'))->display();
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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