0799bfbae8
Sanitized version of red team infrastructure automation platform. Operational content (implant pipelines, lures, credential capture) replaced with documented stubs. Architecture and infrastructure automation code intact.
24 lines
836 B
YAML
24 lines
836 B
YAML
---
|
|
# Common MTA front server configuration tasks
|
|
|
|
- name: Configure MTA front servers
|
|
debug:
|
|
msg: |
|
|
Configuring MTA front servers for deployment {{ deployment_id }}
|
|
MTA hostname: {{ mta_hostname | default('mail.' + (phishing_domain | default(domain))) }}
|
|
SMTP auth user: {{ smtp_auth_user | default('admin') }}
|
|
|
|
- name: Install MTA software
|
|
debug:
|
|
msg: "Would install and configure MTA (Postfix/Exim) on target hosts"
|
|
delegate_to: "{{ item }}"
|
|
loop: "{{ groups['phishing_mta_front'] | default([]) }}"
|
|
when: groups['phishing_mta_front'] is defined
|
|
|
|
- name: Configure DKIM/SPF
|
|
debug:
|
|
msg: |
|
|
Would configure DKIM/SPF records for:
|
|
- Domain: {{ phishing_domain | default(domain) }}
|
|
- MTA hostname: {{ mta_hostname | default('mail.' + (phishing_domain | default(domain))) }}
|