!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/Modules/Ad/Database/factories/   drwxr-xr-x
Free 28.27 GB of 117.98 GB (23.96%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Modules\Ad\Database\factories;

use 
App\Models\User;
use 
Illuminate\Database\Eloquent\Factories\Factory;
use 
Illuminate\Support\Arr;
use 
Illuminate\Support\Str;
use 
Modules\Brand\Entities\Brand;
use 
Modules\Category\Entities\Category;
use 
Modules\Category\Entities\SubCategory;

class 
AdFactory extends Factory
{
    
/**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    
protected $model \Modules\Ad\Entities\Ad::class;

    
/**
     * Define the model's default state.
     *
     * @return array
     */
    
public function definition()
    {
        
$id rand(10600);
        
$title $this->faker->sentence($nbWords 3$variableNbWords true);

        return [
            
'title' => $title,
            
'slug' => Str::slug($title),
            
'user_id' => User::inRandomOrder()->first()->id,
            
'category_id' => Category::inRandomOrder()->first()->id,
            
'subcategory_id' => SubCategory::inRandomOrder()->first()->id ?? null,
            
'brand_id' => Brand::inRandomOrder()->first()->id,
            
'price' => rand(100550),
            
'description' => $this->faker->paragraph,
            
'phone' => $this->faker->phoneNumber,
            
'thumbnail' => $this->faker->imageUrl,
            
'status' => Arr::random(['active''sold''pending''declined']),
            
'featured' => rand(truefalse),
            
'total_reports' => rand(130),
            
'total_views' => rand(1300),
            
'is_blocked' => rand(truefalse),
            
'country' => $this->faker->country(),
            
'lat' => $this->faker->latitude(-9090),
            
'long' => $this->faker->longitude(-9090),
            
'whatsapp' => Arr::random(['''https://web.whatsapp.com']),
        ];
    }
}

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