!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/laravel/framework/src/Illuminate/Database/   drwxr-xr-x
Free 116.5 GB of 200.55 GB (58.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Illuminate\Database;

use 
Faker\Factory as FakerFactory;
use 
Faker\Generator as FakerGenerator;
use 
Illuminate\Database\Eloquent\Model;
use 
Illuminate\Support\ServiceProvider;
use 
Illuminate\Database\Eloquent\QueueEntityResolver;
use 
Illuminate\Database\Connectors\ConnectionFactory;
use 
Illuminate\Database\Eloquent\Factory as EloquentFactory;

class 
DatabaseServiceProvider extends ServiceProvider
{
    
/**
     * Bootstrap the application events.
     *
     * @return void
     */
    
public function boot()
    {
        
Model::setConnectionResolver($this->app['db']);

        
Model::setEventDispatcher($this->app['events']);
    }

    
/**
     * Register the service provider.
     *
     * @return void
     */
    
public function register()
    {
        
Model::clearBootedModels();

        
$this->registerEloquentFactory();

        
$this->registerQueueableEntityResolver();

        
// The connection factory is used to create the actual connection instances on
        // the database. We will inject the factory into the manager so that it may
        // make the connections while they are actually needed and not of before.
        
$this->app->singleton('db.factory', function ($app) {
            return new 
ConnectionFactory($app);
        });

        
// The database manager is used to resolve various connections, since multiple
        // connections might be managed. It also implements the connection resolver
        // interface which may be used by other components requiring connections.
        
$this->app->singleton('db', function ($app) {
            return new 
DatabaseManager($app$app['db.factory']);
        });

        
$this->app->bind('db.connection', function ($app) {
            return 
$app['db']->connection();
        });
    }

    
/**
     * Register the Eloquent factory instance in the container.
     *
     * @return void
     */
    
protected function registerEloquentFactory()
    {
        
$this->app->singleton(FakerGenerator::class, function () {
            return 
FakerFactory::create();
        });

        
$this->app->singleton(EloquentFactory::class, function ($app) {
            
$faker $app->make(FakerGenerator::class);

            return 
EloquentFactory::construct($fakerdatabase_path('factories'));
        });
    }

    
/**
     * Register the queueable entity resolver implementation.
     *
     * @return void
     */
    
protected function registerQueueableEntityResolver()
    {
        
$this->app->singleton('Illuminate\Contracts\Queue\EntityResolver', function () {
            return new 
QueueEntityResolver;
        });
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0372 ]--