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 /
Models /
Delete
Unzip
Name
Size
Permission
Date
Action
Admin.php
608
B
-rw-r--r--
2023-07-25 13:22
Blog.php
518
B
-rw-r--r--
2023-07-25 13:22
CustomCss.php
267
B
-rw-r--r--
2023-07-25 23:21
DepositMethod.php
757
B
-rw-r--r--
2023-07-25 23:21
EmailTemplate.php
218
B
-rw-r--r--
2023-07-16 12:56
Gateway.php
444
B
-rw-r--r--
2023-07-25 23:21
Invest.php
1.45
KB
-rw-r--r--
2023-07-25 23:21
Kyc.php
208
B
-rw-r--r--
2023-07-16 12:56
LandingContent.php
219
B
-rw-r--r--
2023-07-31 14:10
LandingPage.php
216
B
-rw-r--r--
2023-07-16 12:56
Language.php
213
B
-rw-r--r--
2023-07-16 12:56
LevelReferral.php
231
B
-rw-r--r--
2023-07-25 13:22
LogActivity.php
337
B
-rw-r--r--
2023-07-25 13:22
LoginActivities.php
1.01
KB
-rw-r--r--
2023-07-25 23:21
Message.php
461
B
-rw-r--r--
2023-07-25 13:22
Navigation.php
597
B
-rw-r--r--
2023-07-31 00:09
Notification.php
308
B
-rw-r--r--
2023-07-25 13:22
Page.php
209
B
-rw-r--r--
2023-07-19 23:53
PageSetting.php
216
B
-rw-r--r--
2023-07-16 12:56
Plugin.php
211
B
-rw-r--r--
2023-07-16 12:56
PushNotificationTemplate.php
242
B
-rw-r--r--
2023-07-25 13:22
Ranking.php
212
B
-rw-r--r--
2023-07-16 12:56
Referral.php
439
B
-rw-r--r--
2023-07-16 12:56
ReferralLink.php
1.3
KB
-rw-r--r--
2023-07-25 23:21
ReferralProgram.php
250
B
-rw-r--r--
2023-07-16 12:56
ReferralRelationship.php
251
B
-rw-r--r--
2023-07-16 12:56
ReferralTarget.php
219
B
-rw-r--r--
2023-07-16 12:56
Schedule.php
213
B
-rw-r--r--
2023-07-16 12:56
ScheduledTask.php
195
B
-rw-r--r--
2023-07-25 23:21
Schema.php
928
B
-rw-r--r--
2023-07-31 01:08
SetTune.php
189
B
-rw-r--r--
2023-07-25 13:22
Setting.php
4.79
KB
-rw-r--r--
2023-07-25 23:21
SmsTemplate.php
334
B
-rw-r--r--
2023-07-25 13:22
Social.php
211
B
-rw-r--r--
2023-07-16 12:56
Subscription.php
385
B
-rw-r--r--
2023-07-16 12:56
Theme.php
427
B
-rw-r--r--
2023-07-25 13:22
Ticket.php
795
B
-rw-r--r--
2023-07-25 13:22
Transaction.php
3.9
KB
-rw-r--r--
2023-07-31 16:13
User.php
6.89
KB
-rw-r--r--
2023-07-31 00:09
WithdrawAccount.php
420
B
-rw-r--r--
2023-07-16 12:56
WithdrawMethod.php
394
B
-rw-r--r--
2023-07-25 13:22
WithdrawalSchedule.php
275
B
-rw-r--r--
2023-07-25 13:22
Save
Rename
<?php namespace App\Models; use App\Enums\TxnStatus; use App\Enums\TxnType; use Carbon\Carbon; use Coderflex\LaravelTicket\Concerns\HasTickets; use Coderflex\LaravelTicket\Contracts\CanUseTickets; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Casts\Attribute; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laravel\Sanctum\HasApiTokens; class User extends Authenticatable implements CanUseTickets, MustVerifyEmail { use HasApiTokens, HasFactory, Notifiable, HasTickets; /** * The attributes that are mass assignable. * * @var array<int, string> */ protected $fillable = [ 'ranking_id', 'rankings', 'avatar', 'first_name', 'last_name', 'country', 'phone', 'username', 'email', 'email_verified_at', 'gender', 'date_of_birth', 'city', 'zip_code', 'address', 'balance', 'profit_balance', 'status', 'kyc', 'kyc_credential', 'google2fa_secret', 'two_fa', 'deposit_status', 'withdraw_status', 'transfer_status', 'ref_id', 'password', ]; protected $appends = [ 'full_name', 'kyc_time', 'kyc_type', 'total_profit','total_deposit','total_invest', ]; protected $dates = ['kyc_time']; /** * The attributes that should be hidden for serialization. * * @var array<int, string> */ protected $hidden = [ 'password', 'remember_token', 'google2fa_secret', ]; /** * The attributes that should be cast. * * @var array<string, string> */ protected $casts = [ 'email_verified_at' => 'datetime', 'two_fa' => 'boolean', ]; public function getUpdatedAtAttribute(): string { return Carbon::parse($this->attributes['updated_at'])->format('M d Y h:i'); } public function getFullNameAttribute(): string { return ucwords("{$this->attributes['first_name']} {$this->attributes['last_name']}"); } public function getKycTypeAttribute(): string { return json_decode($this->attributes['kyc_credential'], true)['kyc_type_of_name'] ?? ''; } public function getKycTimeAttribute(): string { return json_decode($this->attributes['kyc_credential'], true)['kyc_time_of_time'] ?? ''; } public function getTotalProfitAttribute(): string { return $this->totalProfit(); } public function getTotalDepositAttribute(): string { return $this->totalDeposit(); } public function getTotalInvestAttribute(): string { return $this->totalInvestment(); } public function totalProfit($days = null) { $sum = $this->transaction()->where('status', TxnStatus::Success)->where(function ($query) { $query->where('type', TxnType::Referral) ->orWhere('type', TxnType::SignupBonus) ->orWhere('type', TxnType::Interest) ->orWhere('type', TxnType::Bonus); }); if (null != $days) { $sum->where('created_at', '>=', Carbon::now()->subDays((int) $days)); } $sum = $sum->sum('amount'); return round($sum, 2); } public function transaction() { return $this->hasMany(Transaction::class, 'user_id'); } public function totalRoiProfit() { $sum = $this->transaction()->where('status', TxnStatus::Success)->where(function ($query) { $query->where('type', TxnType::Interest); })->sum('amount'); return round($sum, 2); } public function getReferrals() { return ReferralProgram::all()->map(function ($program) { return ReferralLink::getReferral($this, $program); }); } public function referrals() { return $this->hasMany(User::class, 'ref_id'); } public function totalDeposit() { $sum = $this->transaction()->where('status', TxnStatus::Success)->where(function ($query) { $query->where('type', TxnType::Deposit) ->orWhere('type', TxnType::ManualDeposit); })->sum('amount'); return round($sum, 2); } public function totalInvestment() { $sum = $this->transaction()->where('status', TxnStatus::Success)->where(function ($query) { $query->where('type', TxnType::Investment); })->sum('amount'); return round($sum, 2); } public function totalDepositBonus() { $sum = $this->transaction()->where('status', TxnStatus::Success)->where(function ($query) { $query->where('target_id', '!=', null) ->where('target_type', 'deposit') ->where('type', TxnType::Referral); })->sum('amount'); return round($sum, 2); } public function totalInvestBonus() { $sum = $this->transaction()->where('status', TxnStatus::Success)->where(function ($query) { $query->where('target_id', '!=', null) ->where('target_type', 'investment') ->where('type', TxnType::Referral); })->sum('amount'); return round($sum, 2); } public function totalWithdraw() { $sum = $this->transaction()->where('status', TxnStatus::Success)->where(function ($query) { $query->where('type', TxnType::Withdraw) ->orWhere('type', TxnType::WithdrawAuto); })->sum('amount'); return round($sum, 2); } public function totalTransfer() { $sum = $this->transaction()->where('status', TxnStatus::Success)->where(function ($query) { $query->where('type', TxnType::SendMoney); })->sum('amount'); return round($sum, 2); } public function totalReferralProfit() { $sum = $this->transaction()->where('status', TxnStatus::Success)->where(function ($query) { $query->where('type', TxnType::Referral); })->sum('amount'); return round($sum, 2); } public function rank() { return $this->belongsTo(Ranking::class, 'ranking_id'); } public function ticket() { return $this->hasMany(Ticket::class); } public function rankAchieved() { return count(json_decode($this->rankings, true)); } protected function google2faSecret(): Attribute { return new Attribute( get: fn ($value) => $value != null ? decrypt($value) : $value, set: fn ($value) => encrypt($value), ); } }