Updated to run from /usr/bin

pull/16/head
TheDragonkeeper 2017-11-07 23:23:44 +00:00 committed by GitHub
parent fd4fc8147d
commit 4f3c8d5e55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 1 deletions

View File

@ -3,7 +3,7 @@
| **Title** | Email-Sender | | **Title** | Email-Sender |
| **Description** | Sends emails / has html and file support / it can be used with bash and python . | | **Description** | Sends emails / has html and file support / it can be used with bash and python . |
**Author** | TheDragonkeeper | **Author** | TheDragonkeeper |
| **Version** | 1.0 | | **Version** | 1.1 |
| **Category** | Exfiltration | | **Category** | Exfiltration |
| **Target** | Any | | **Target** | Any |
@ -11,3 +11,25 @@
|:----------|:-----------------:|:----------------------------| |:----------|:-----------------:|:----------------------------|
| SUCCESS: | Blink Green | Payload ended complete | | SUCCESS: | Blink Green | Payload ended complete |
| SETUP: | Blink Yellow | Payload is waiting on network | | SETUP: | Blink Yellow | Payload is waiting on network |
| Command | Arguments |
:----------|:-----------------|
| SENDMAIL | $FROM $RCPT "$SUBJECT" "$BODY" $SERVER $USER $PASS "$FILE" |
Running the payload will install the command to /usr/bin
this will allow you to use the command SENDMAIL to send an email using your bash payload
the default arguments are as follows.
| $1 | $2 | $3 | $4 | $5 | $6 | $7 | $8
|:----------|:----------|:-----------------|:----------|:----------|:-----------------|:----------|:-----------------:|
| $FROM |$RCPT |"$SUBJECT"| "$BODY"| $SERVER | $USER | $PASS |"$FILE" |
if you wish to hard code one of these values you can simply edit the SENDMAIL file and then drop the numbers down a value;
i.e if you change $1 to 'thisismyemail@somedomain.net' then $2 now needs to be $1
The other option is to edit the python file 'sendemail.py' and change the corresponding sys.argv[1] in the same way.
but then you need to make sure you also edit the SENDMAIL to only send the amount of arguments needed.