���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
cutunix-shot
/
app
/
Models
/
Viewing: ProcessBot.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class ProcessBot extends Model { protected $appends = [ 'local_ip', 'remote_ip' ]; protected $fillable = [ 'title', 'type', 'local_ip_address', 'local_port_number', 'remote_ip_address', 'remote_port_number', 'queue_number', 'priority', 'username', 'password', 'vnc_password', 'system', 'server_name', 'last_response_at', 'last_response_status', 'status', 'description', ]; public const STATUS_ACTIVE = 'active'; public const STATUS_INACTIVE = 'inactive'; public const STATUS_AVAILABLE = 'available'; public const STATUS_NOT_AVAILABLE = 'not available'; public static array $statuses = [ self::STATUS_ACTIVE, self::STATUS_INACTIVE, self::STATUS_AVAILABLE, self::STATUS_NOT_AVAILABLE, ]; public const TYPE_AUTOMATION = 'automation'; public const TYPE_OCR = 'ocr'; public static array $types = [ self::TYPE_AUTOMATION, self::TYPE_OCR, ]; public function getLocalIpAttribute() { return $this->local_ip_address . ':' . $this->local_port_number; } public function getRemoteIpAttribute() { return $this->remote_ip_address . ':' . $this->remote_port_number; } public function scopeOnlyAutomation($query) { return $query->where('type', self::TYPE_AUTOMATION); } public function scopeOnlyActive($query) { return $query->where('status', self::STATUS_ACTIVE); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa