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 /
lms-api /
app /
Jobs /
[ HOME SHELL ]
Name
Size
Permission
Action
SendEmail.php
2.3
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : SendEmail.php
<?php namespace App\Jobs; use App\Modules\User\Entities\Setting; use App\Traits\CommonTrait; use App\Traits\MailSettingTrait; use Illuminate\Bus\Queueable; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; class SendEmail implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, MailSettingTrait, CommonTrait; public $tries = 2; protected $email_data, $detail,$response; /** * SendEmail constructor. * @param $email_data * @param $detail */ public function __construct($detail, $email_data = []) { $this->email_data = $email_data; $this->detail = $detail; } public function handle() { $settings = Setting::where('type', 'mail')->get(); $datum = $this->detail; // info('datum:' . json_encode($datum)); // info('email_data: ' . json_encode($this->email_data)); try { $mail = $this->getPHPMailer($settings); info('$mail: ' . json_encode($mail)); // info('mail_to: ' . $datum['mail_to']); $mail->addAddress($datum['mail_to']); // // Add a recipient // if (!empty($data->cc)) { // foreach ($data->cc as $c) { // $mail->addCC($c); // } // } // if (!empty($data->bcc)) { // foreach ($data->bcc as $bc) { // $mail->addBCC($bc); // } // } if (!empty($datum['attachment'])) { $mail->addAttachment($datum['attachment']); } $mail->isHTML(true); // Set email format to HTML $mail->Subject = $datum['subject']; $mail->Body = view($datum['template'])->with('data', $this->email_data); if ($mail->send()) { $this->response=true; info('mail sent: yes'); } else { $this->response=false; info('mail sent: no'); } } catch (\Exception $ex) { $this->response=false; info('ex: ' . $ex->getMessage()); } } public function getResponse() { return $this->response; } }
Close