Exploit database

GH-053071543cf4ca57f4bad79789be22cb

nth347/cve-2019-9081_poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2019-9081

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files5
nth347/cve-2019-9081_pocRevision 692fb62bfc68

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

app/Providers/AuthServiceProvider.php

PHP · 575 bytes
<?php

namespace App\Providers;

use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;

class AuthServiceProvider extends ServiceProvider
{
    /**
     * The policy mappings for the application.
     *
     * @var array
     */
    protected $policies = [
        'App\Model' => 'App\Policies\ModelPolicy',
    ];

    /**
     * Register any authentication / authorization services.
     *
     * @return void
     */
    public function boot()
    {
        $this->registerPolicies();

        //
    }
}