24 lines
737 B
YAML
24 lines
737 B
YAML
id: api-mailchimp
|
|
|
|
info:
|
|
name: Mailchimp API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://mailchimp.com/developer/transactional/docs/smtp-integration/#credentials-and-configuration
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,mailchimp,tcp
|
|
|
|
self-contained: true
|
|
tcp:
|
|
- inputs:
|
|
- data: "AUTH PLAIN {{base64(hex_decode('00')+'apikey'+hex_decode('00')+token)}}\r\n"
|
|
read: 1024
|
|
host:
|
|
- "tls://smtp.mandrillapp.com:465"
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "success"
|
|
# digest: 4b0a004830460221009b21bcc029c751dd6175e4dc7e21d410952a6581dfa71d145851547334d05748022100dbceb48f2d8ba5743862aecb28c005de95522a99b03eab9ba86f39cc12752899:922c64590222798bb761d5b6d8e72950 |