Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.222.82.248
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
beyondcode /
laravel-dump-server /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
DumpServerCommand.php
2.26
KB
-rw-r--r--
2018-10-04 09:00
DumpServerServiceProvider.php
1.49
KB
-rw-r--r--
2018-10-04 09:00
Dumper.php
1.19
KB
-rwxr-xr-x
2018-10-04 09:00
RequestContextProvider.php
1.65
KB
-rw-r--r--
2018-10-04 09:00
Save
Rename
<?php namespace BeyondCode\DumpServer; use Illuminate\Support\ServiceProvider; use Symfony\Component\VarDumper\VarDumper; use Symfony\Component\VarDumper\Server\Connection; use Symfony\Component\VarDumper\Server\DumpServer; use Symfony\Component\VarDumper\Dumper\ContextProvider\SourceContextProvider; class DumpServerServiceProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { if ($this->app->runningInConsole()) { $this->publishes([ __DIR__.'/../config/config.php' => config_path('debug-server.php'), ], 'config'); } } /** * Register the application services. * * @return void */ public function register() { $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'debug-server'); $this->app->bind('command.dumpserver', DumpServerCommand::class); $this->commands([ 'command.dumpserver', ]); $host = $this->app['config']->get('debug-server.host'); $this->app->when(DumpServer::class)->needs('$host')->give($host); $connection = new Connection($host, [ 'request' => new RequestContextProvider($this->app['request']), 'source' => new SourceContextProvider('utf-8', base_path()), ]); VarDumper::setHandler(function ($var) use ($connection) { (new Dumper($connection))->dump($var); }); } }