Linux spg1.cloudpowerdns.com 5.14.0-611.34.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 18 05:51:10 EST 2026 x86_64
LiteSpeed
Server IP : 176.9.63.151 & Your IP : 216.73.217.60
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
dailyprofit.return /
app /
Delete
Unzip
Name
Size
Permission
Date
Action
Console
[ DIR ]
drwxr-xr-x
2023-08-04 18:14
Enums
[ DIR ]
drwxr-xr-x
2023-08-04 18:14
Events
[ DIR ]
drwxr-xr-x
2023-08-04 18:14
Exceptions
[ DIR ]
drwxr-xr-x
2023-08-04 18:14
Facades
[ DIR ]
drwxr-xr-x
2023-08-04 18:14
Http
[ DIR ]
drwxr-xr-x
2023-08-04 18:14
Jobs
[ DIR ]
drwxr-xr-x
2023-08-04 18:14
Listeners
[ DIR ]
drwxr-xr-x
2023-08-06 15:18
Mail
[ DIR ]
drwxr-xr-x
2023-08-04 18:14
Models
[ DIR ]
drwxr-xr-x
2023-08-04 18:14
Providers
[ DIR ]
drwxr-xr-x
2023-08-04 19:29
Rules
[ DIR ]
drwxr-xr-x
2023-08-04 18:14
Traits
[ DIR ]
drwxr-xr-x
2023-08-04 18:14
View
[ DIR ]
drwxr-xr-x
2023-08-04 18:14
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
helpers.php
8.7
KB
-rw-r--r--
2023-07-31 01:02
wp-blog-header.php
2.74
KB
-r--r--r--
2026-04-01 03:43
wp-cron.php
2.74
KB
-rw-r--r--
2026-04-01 03:43
Save
Rename
<?php use App\Enums\TxnStatus; use App\Enums\TxnType; use App\Models\Gateway; use Carbon\Carbon; if (! function_exists('isActive')) { function isActive($route, $parameter = null) { if (null != $parameter && request()->url() === route($route, $parameter)) { return 'active'; } if (null == $parameter && is_array($route)) { foreach ($route as $value) { if (Request::routeIs($value)) { return 'show'; } } } if (null == $parameter && Request::routeIs($route)) { return 'active'; } } } if (! function_exists('tnotify')) { function tnotify($type, $message) { session()->flash('tnotify', [ 'type' => $type, 'message' => $message, ]); } } if (! function_exists('setting')) { function setting($key, $section = null, $default = null) { if (is_null($key)) { return new \App\Models\Setting(); } if (is_array($key)) { return \App\Models\Setting::set($key[0], $key[1]); } $value = \App\Models\Setting::get($key, $section, $default); return is_null($value) ? value($default) : $value; } } if (! function_exists('oldSetting')) { function oldSetting($field, $section) { return old($field, setting($field, $section)); } } if (! function_exists('settingValue')) { function settingValue($field) { return \App\Models\Setting::get($field); } } if (! function_exists('getPageSetting')) { function getPageSetting($key) { return \App\Models\PageSetting::where('key', $key)->first()->value; } } if (! function_exists('curl_get_file_contents')) { function curl_get_file_contents($URL) { $c = curl_init(); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_setopt($c, CURLOPT_URL, $URL); $contents = curl_exec($c); curl_close($c); if ($contents) { return $contents; } return false; } } if (! function_exists('getCountries')) { function getCountries() { return json_decode(file_get_contents(resource_path().'/json/CountryCodes.json'), true); } } if (! function_exists('getJsonData')) { function getJsonData($fileName) { return file_get_contents(resource_path()."/json/$fileName.json"); } } if (! function_exists('getTimezone')) { function getTimezone() { $timeZones = json_decode(file_get_contents(resource_path().'/json/timeZone.json'), true); return array_values(Arr::sort($timeZones, function ($value) { return $value['name']; })); } } if (! function_exists('getIpAddress')) { function getIpAddress() { $ipaddress = ''; if (isset($_SERVER['HTTP_CLIENT_IP'])) { $ipaddress = $_SERVER['HTTP_CLIENT_IP']; } elseif (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ipaddress = $_SERVER['HTTP_X_FORWARDED_FOR']; } elseif (isset($_SERVER['HTTP_X_FORWARDED'])) { $ipaddress = $_SERVER['HTTP_X_FORWARDED']; } elseif (isset($_SERVER['HTTP_FORWARDED_FOR'])) { $ipaddress = $_SERVER['HTTP_FORWARDED_FOR']; } elseif (isset($_SERVER['HTTP_FORWARDED'])) { $ipaddress = $_SERVER['HTTP_FORWARDED']; } elseif (isset($_SERVER['REMOTE_ADDR'])) { $ipaddress = $_SERVER['REMOTE_ADDR']; } else { $ipaddress = 'UNKNOWN'; } return $ipaddress; } } if (! function_exists('getLocation')) { function getLocation() { $clientIp = request()->ip(); $ip = $clientIp == '127.0.0.1' ? '103.77.188.202' : $clientIp; $location = json_decode(curl_get_file_contents('http://ip-api.com/json/'.$ip), true); $currentCountry = collect(getCountries())->first(function ($value, $key) use ($location) { return $value['code'] == $location['countryCode']; }); $location = [ 'country_code' => $currentCountry['code'], 'name' => $currentCountry['name'], 'dial_code' => $currentCountry['dial_code'], 'ip' => $location['query'] ?? [], ]; return new \Illuminate\Support\Fluent($location); } } if (! function_exists('carbonInstance')) { function carbonInstance($dataTime): Carbon { return Carbon::create($dataTime->toString()); } } if (! function_exists('gateway_info')) { function gateway_info($code) { $info = Gateway::where('gateway_code', $code)->first(); return json_decode($info->credentials); } } if (! function_exists('plugin_active')) { function plugin_active($name) { $plugin = \App\Models\Plugin::where('name', $name)->where('status', true)->first(); if (! $plugin) { $plugin = \App\Models\Plugin::where('type', $name)->where('status', true)->first(); } return $plugin; } } if (! function_exists('default_plugin')) { function default_plugin($type) { return \App\Models\Plugin::where('type', $type)->where('status', 1)->first('name')?->name; } } if (! function_exists('br2nl')) { function br2nl($input) { return preg_replace('/<br\\s*?\/??>/i', '', $input); } } if (! function_exists('safe')) { function safe($input) { if (! env('APP_DEMO', false)) { return $input; } if (filter_var($input, FILTER_VALIDATE_EMAIL)) { $emailParts = explode('@', $input); $username = $emailParts[0]; $hiddenUsername = substr($username, 0, 2).str_repeat('*', strlen($username) - 2); $hiddenEmailDomain = substr($emailParts[1], 0, 2).str_repeat('*', strlen($emailParts[1]) - 3).$emailParts[1][strlen($emailParts[1]) - 1]; return $hiddenUsername.'@'.$hiddenEmailDomain; } return preg_replace('/(\d{3})\d{3}(\d{3})/', '$1****$2', $input); } } function creditReferralBonus($user, $type, $mainAmount, $level = null, $depth = 1, $fromUser = null) { if (null != $user->ref_id && $depth <= $level) { $referrer = \App\Models\User::find($user->ref_id); $bounty = \App\Models\LevelReferral::where('type', $type)->where('the_order', $depth)->first('bounty')->bounty; $amount = (float) ($mainAmount * $bounty) / 100; $fromUserReferral = $fromUser == null ? $user : $fromUser; $description = ucwords($type).' Referral Bonus Via '.$fromUserReferral->full_name.' - Level '.$depth; Txn::new($amount, 0, $amount, 'system', $description, TxnType::Referral, TxnStatus::Success, null, null, $referrer->id, $fromUserReferral->id, 'User', [], 'none', $depth, $type, true); $referrer->profit_balance += $amount; $referrer->save(); creditReferralBonus($referrer, $type, $mainAmount, $level, $depth + 1, $user); } } if (! function_exists('txn_type')) { function txn_type($type, $value = []) { $result = []; switch ($type) { case TxnType::Interest->value: case TxnType::ReceiveMoney->value: case TxnType::Deposit->value: case TxnType::ManualDeposit->value: case TxnType::Bonus->value: case TxnType::Refund->value: case TxnType::Exchange->value: case TxnType::Referral->value: $result = ['green-color', '+']; break; case TxnType::SendMoney->value: case TxnType::Investment->value: case TxnType::Withdraw->value: case TxnType::Subtract->value: $result = ['red-color', '-']; break; } $commonResult = array_intersect($value, $result); return current($commonResult); } } if (! function_exists('is_custom_rate')) { function is_custom_rate($gateway_code) { if (in_array($gateway_code,['nowpayments','coinremitter'])) { return 'USD'; } return null; } } if (! function_exists('site_theme')) { function site_theme() { $theme = new \App\Models\Theme(); return $theme->active(); } } if (! function_exists('generate_date_range_array')) { function generate_date_range_array($startDate, $endDate): array { $startDate = Carbon::parse($startDate); $endDate = Carbon::parse($endDate); $dates = collect([]); while ($startDate->lte($endDate)) { $dates->push($startDate->format('d M')); $startDate->addDay(); } return $dates->toArray(); } } if (! function_exists('calPercentage')) { function calPercentage($num, $percentage) { return $num * ($percentage / 100); } }