Random mail recipients #306
-
Hi, I am trying to send mails randomly but ghosts sends to all mail addresses in the json files. How can I limit the recipients? |
Beta Was this translation helpful? Give feedback.
Answered by
sei-dupdyke
Apr 9, 2024
Replies: 1 comment
-
Hi, check out this sample: https://github.com/cmu-sei/GHOSTS/blob/master/src/Ghosts.Client/Sample%20Timelines/Outlook.json#L11 — starting at line 11: {
"Command": "create",
"CommandArgs": [
"CurrentUser",
"Random|Other:string ToEmailAddress - comma separate multiples",
"Random|Other:string CcEmailAddress - comma separate multiples",
"Random|Other:string BccEmailAddress - comma separate multiples",
"Random|Other:string Subject",
"Random|Other:string Body",
"PlainText|RTF|HTML enum BodyType",
"string Attachments - comma separate multiples"
],
"DelayAfter": 900000,
"DelayBefore": 0
},
make it something like: {
"Command": "create",
"CommandArgs": [
"CurrentUser",
"[email protected],[email protected]",
"[email protected],[email protected]",
"[email protected],[email protected]",
"A Great Subject",
"Even better body of message",
"PlainText",
""
],
"DelayAfter": 900000,
"DelayBefore": 0
},
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sucremad
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, check out this sample: https://github.com/cmu-sei/GHOSTS/blob/master/src/Ghosts.Client/Sample%20Timelines/Outlook.json#L11 — starting at line 11:
make it something like: