Linux lionsclub 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.29 (Ubuntu)
: 161.35.52.75 | : 3.149.241.128
Cant Read [ /etc/named.conf ]
7.4.28
www-data
shells.trxsecurity.org
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
Backdoor Scanner
Backdoor Create
Alfa Webshell
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
lionsclub /
core /
vendor /
torann /
geoip /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Console
[ DIR ]
drwxr-xr-x
Contracts
[ DIR ]
drwxr-xr-x
Facades
[ DIR ]
drwxr-xr-x
Services
[ DIR ]
drwxr-xr-x
Support
[ DIR ]
drwxr-xr-x
Cache.php
1.35
KB
-rw-r--r--
GeoIP.php
7.09
KB
-rw-r--r--
GeoIPServiceProvider.php
1.63
KB
-rw-r--r--
Location.php
4.28
KB
-rw-r--r--
helpers.php
360
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : GeoIPServiceProvider.php
<?php namespace Torann\GeoIP; use Illuminate\Support\Str; use Illuminate\Support\ServiceProvider; class GeoIPServiceProvider extends ServiceProvider { /** * Register the service provider. * * @return void */ public function register() { $this->registerGeoIpService(); if ($this->app->runningInConsole()) { $this->registerResources(); $this->registerGeoIpCommands(); } if ($this->isLumen() === false) { $this->mergeConfigFrom(__DIR__ . '/../config/geoip.php', 'geoip'); } } /** * Register currency provider. * * @return void */ public function registerGeoIpService() { $this->app->singleton('geoip', function ($app) { return new GeoIP( $app->config->get('geoip', []), $app['cache'] ); }); } /** * Register resources. * * @return void */ public function registerResources() { if ($this->isLumen() === false) { $this->publishes([ __DIR__ . '/../config/geoip.php' => config_path('geoip.php'), ], 'config'); } } /** * Register commands. * * @return void */ public function registerGeoIpCommands() { $this->commands([ Console\Update::class, Console\Clear::class, ]); } /** * Check if package is running under Lumen app * * @return bool */ protected function isLumen() { return Str::contains($this->app->version(), 'Lumen') === true; } }
Close