This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Molecule managed | |
FROM microsoft/windowsservercore:latest | |
RUN powershell.exe -Command \ | |
wget https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1 -Proxy <proxy> -Outfile c:\remoting.ps1; \ | |
powershell.exe -ExecutionPolicy ByPass -File c:\remoting.ps1 -EnableCredSSP; \ | |
$password = ConvertTo-SecureString "<password>" -AsPlainText -Force; \ | |
Set-LocalUser -Name administrator -Password $password; \ | |
Enable-LocalUser -Name "Administrator"; \ | |
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase | |
EXPOSE 5986 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019/01/10 14:46:13 [INFO] Terraform version: 0.11.10 | |
2019/01/10 14:46:13 [INFO] Go runtime version: go1.11.2 | |
2019/01/10 14:46:13 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.10/bin/terraform", "apply"} | |
2019/01/10 14:46:13 [DEBUG] Attempting to open CLI config file: /Users/miqueladrover/.terraformrc | |
2019/01/10 14:46:13 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2019/01/10 14:46:13 [INFO] CLI command args: []string{"apply"} | |
2019/01/10 14:46:14 [TRACE] module source: "../../modules/virtual_machine" | |
2019/01/10 14:46:14 [INFO] command: empty terraform config, returning nil | |
2019/01/10 14:46:14 [DEBUG] command: no data state file found for backend config | |
2019/01/10 14:46:14 [DEBUG] New state was assigned lineage "73ac4100-de8f-29c8-eed1-056fc5cb2217" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Example of multiple key AES encryption for text files using the openssl v. 0.9.8+ command line utility | |
# Uses n public certs as key for MIME PKCS envelope, any individual private key can decrypt. | |
# | |
# If standard RSA ssh keys exist, these can be converted to public certs as well (and ssh keys can decrypt) | |
# | |
# To sign (and verify) the encrypted file, one of the private keys is required, see: | |
# http://www.openssl.org/docs/apps/smime.html#EXAMPLES for openssl smime examples | |
# or http://www.openssl.org/docs/apps/cms.html#EXAMPLES for cms utility (OpenSSL v. 1.0+) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tshark -V -R "tcp.port == 80 && (http.request || http.response)" | awk "/Hypertext Transfer Protocol/,/Frame/ { print };/Transmission Control Protocol/{print};/Internet Protocol/{print}" |