Adding more code for Exchange
This commit is contained in:
@@ -54,16 +54,10 @@
|
||||
|
||||
- debug: msg="{{ redteam.stdout_lines }}"
|
||||
|
||||
- name: Install Utilities
|
||||
win_chocolatey:
|
||||
name:
|
||||
- NotepadPlusPlus
|
||||
- GoogleChrome
|
||||
- WinRar
|
||||
- wireshark
|
||||
- winpcap
|
||||
state: present
|
||||
ignore_checksums: yes
|
||||
|
||||
|
||||
|
||||
- name: Install Utilities
|
||||
win_shell: ".\\install-utilities.ps1"
|
||||
args:
|
||||
chdir: 'c:\vagrant\scripts'
|
||||
register: utilities
|
||||
failed_when: "'Exception' in utilities.stdout"
|
||||
ignore_errors: true
|
||||
|
||||
@@ -212,6 +212,7 @@
|
||||
/opt/splunk/bin/splunk add index suricata -auth 'admin:changeme'
|
||||
/opt/splunk/bin/splunk add index threathunting -auth 'admin:changeme'
|
||||
/opt/splunk/bin/splunk add index evtx_attack_samples -auth 'admin:changeme'
|
||||
/opt/splunk/bin/splunk add index msexchange -auth 'admin:changeme'
|
||||
/opt/splunk/bin/splunk install app /vagrant/resources/splunk_forwarder/splunk-add-on-for-microsoft-windows_700.tgz -auth 'admin:changeme'
|
||||
/opt/splunk/bin/splunk install app /vagrant/resources/splunk_server/splunk-add-on-for-microsoft-sysmon_1062.tgz -auth 'admin:changeme'
|
||||
/opt/splunk/bin/splunk install app /vagrant/resources/splunk_server/asn-lookup-generator_110.tgz -auth 'admin:changeme'
|
||||
|
||||
@@ -23,11 +23,11 @@ output "wef_ips" {
|
||||
}
|
||||
|
||||
output "exchange_interfaces" {
|
||||
value = esxi_guest.exchange.network_interfaces
|
||||
value = esxi_guest.exchange[0].network_interfaces
|
||||
}
|
||||
|
||||
output "exchange_ips" {
|
||||
value = esxi_guest.exchange.ip_address
|
||||
value = "${var.create_exchange_server ? esxi_guest.exchange[0].ip_address : null}"
|
||||
}
|
||||
|
||||
output "win10_interfaces" {
|
||||
|
||||
Reference in New Issue
Block a user