forked from mantvydasb/Red-Team-Infrastructure-Automation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
19 lines (15 loc) · 1.38 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
output "outputs" {
value = [
"c2 http a1 ${cloudflare_record.c2-http-a1.name}.${var.domain-c2} - ${digitalocean_droplet.c2-http.ipv4_address}",
"c2 http a2 ${cloudflare_record.c2-http-a2.name}.${var.domain-c2} - ${digitalocean_droplet.c2-http.ipv4_address}",
"c2 http redirector a1 ${digitalocean_record.c2-http-rdr-a1.name}.${var.domain-rdir} - ${digitalocean_droplet.c2-http-rdr.ipv4_address}",
"c2 http redirector a2 ${digitalocean_record.c2-http-rdr-a2.name}.${var.domain-rdir} - ${digitalocean_droplet.c2-http-rdr.ipv4_address}",
"phishing ${cloudflare_record.phishing-a1.name}.${var.domain-c2} - ${digitalocean_droplet.phishing.ipv4_address}",
"phishing redirector a1 ${digitalocean_record.phishing-rdr-a0.name}${var.domain-rdir} - ${digitalocean_droplet.phishing-rdr.ipv4_address}",
"phishing redirector a2 ${digitalocean_record.phishing-rdr-a1.name}.${var.domain-rdir} - ${digitalocean_droplet.phishing-rdr.ipv4_address}",
"phishing smtp relay ${digitalocean_record.phishing-rdr-mail-a1.name}.${var.domain-rdir} - ${digitalocean_droplet.phishing-rdr.ipv4_address}",
"payload - ${digitalocean_droplet.payload.ipv4_address}",
"payload redirector - ${digitalocean_droplet.payload-rdr.ipv4_address}",
"To finalise the infrastructure, run ./finalize.sh and update the DNS DKIM in DigitalOcean for ${var.domain-rdir} which the script will provide."
]
}