Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
laragon /
etc /
php /
pear /
PHPMailer /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxrwxrwx
scripts
[ DIR ]
drwxrwxrwx
styles
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-rw-rw-
code_generator.phps
26.82
KB
-rw-rw-rw-
contents.html
645
B
-rw-rw-rw-
contentsutf8.html
830
B
-rw-rw-rw-
exceptions.phps
1.45
KB
-rw-rw-rw-
gmail.phps
2.11
KB
-rw-rw-rw-
gmail_xoauth.phps
2.64
KB
-rw-rw-rw-
index.html
6.14
KB
-rw-rw-rw-
mail.phps
1.04
KB
-rw-rw-rw-
mailing_list.phps
2.24
KB
-rw-rw-rw-
pop_before_smtp.phps
2.14
KB
-rw-rw-rw-
send_file_upload.phps
1.6
KB
-rw-rw-rw-
sendmail.phps
1.11
KB
-rw-rw-rw-
signed-mail.phps
4.1
KB
-rw-rw-rw-
smtp.phps
1.83
KB
-rw-rw-rw-
smtp_check.phps
1.21
KB
-rw-rw-rw-
smtp_no_auth.phps
1.7
KB
-rw-rw-rw-
ssl_options.phps
2.03
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mailing_list.phps
<?php error_reporting(E_STRICT | E_ALL); date_default_timezone_set('Etc/UTC'); require '../PHPMailerAutoload.php'; $mail = new PHPMailer; $body = file_get_contents('contents.html'); $mail->isSMTP(); $mail->Host = 'smtp.example.com'; $mail->SMTPAuth = true; $mail->SMTPKeepAlive = true; // SMTP connection will not close after each email sent, reduces SMTP overhead $mail->Port = 25; $mail->Username = 'yourname@example.com'; $mail->Password = 'yourpassword'; $mail->setFrom('list@example.com', 'List manager'); $mail->addReplyTo('list@example.com', 'List manager'); $mail->Subject = "PHPMailer Simple database mailing list test"; //Same body for all messages, so set this before the sending loop //If you generate a different body for each recipient (e.g. you're using a templating system), //set it inside the loop $mail->msgHTML($body); //msgHTML also sets AltBody, but if you want a custom one, set it afterwards $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; //Connect to the database and select the recipients from your mailing list that have not yet been sent to //You'll need to alter this to match your database $mysql = mysqli_connect('localhost', 'username', 'password'); mysqli_select_db($mysql, 'mydb'); $result = mysqli_query($mysql, 'SELECT full_name, email, photo FROM mailinglist WHERE sent = false'); foreach ($result as $row) { //This iterator syntax only works in PHP 5.4+ $mail->addAddress($row['email'], $row['full_name']); if (!empty($row['photo'])) { $mail->addStringAttachment($row['photo'], 'YourPhoto.jpg'); //Assumes the image data is stored in the DB } if (!$mail->send()) { echo "Mailer Error (" . str_replace("@", "@", $row["email"]) . ') ' . $mail->ErrorInfo . '<br />'; break; //Abandon sending } else { echo "Message sent to :" . $row['full_name'] . ' (' . str_replace("@", "@", $row['email']) . ')<br />'; //Mark it as sent in the DB mysqli_query( $mysql, "UPDATE mailinglist SET sent = true WHERE email = '" . mysqli_real_escape_string($mysql, $row['email']) . "'" ); } // Clear all addresses and attachments for next loop $mail->clearAddresses(); $mail->clearAttachments(); }
Close