shell bypass 403

UnknownSec Shell


name : makeFakeCategories.php
<?php
namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Faker\Factory as Faker;
use \Illuminate\Support\Str;

class makeFakeCategories extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $faker = Faker::create();

        // make organization
        foreach (range(1, 10) as $index) {
            DB::table('categories')->insert([
                'parent_id' => null,
                'title' => Str::random(10) . ' ' . Str::random(6)
            ]);
        }

        $categories = App\Models\Category::whereNull('parent_id')->get();

        foreach ($categories as $category) {
            foreach (range(1, random_int(2, 6)) as $index) {
                DB::table('categories')->insert([
                    'parent_id' => $category->id,
                    'title' => Str::random(5) . ' ' . Str::random(6)
                ]);
            }
        }
    }
}

© 2025 UnknownSec
Effective Time Management | Anyleson - Learning Platform
INR (₹)
India Rupee
$
United States Dollar
Effective Time Management

Effective Time Management

in Management
5.00
(1 Ratings)
Created by John Powe
5/10 Students

Report course

Please describe about the report short and clearly.

Share

Share course with your friends

Buy with points