Skip to content

Instantly share code, notes, and snippets.

View swoodford-clear's full-sized avatar

Shawn Woodford swoodford-clear

View GitHub Profile
@swoodford-clear
swoodford-clear / ssl-ciphers-test.sh
Created September 12, 2023 20:16
This script will use curl to test a list of SSL Ciphers against an endpoint (URL) and report if the cipher was accepted or failed.
#!/usr/bin/env bash
# This script will use curl to test a list of SSL Ciphers against an endpoint (URL) and report if the cipher was accepted or failed.
# The URL to test
ENDPOINT="https://enroll.clearme.com/enroll"
# Date format for ReportFile
Date=$(date "+%Y-%m-%d")
@swoodford-clear
swoodford-clear / postgresdebug.sh
Created March 18, 2021 19:26
Terraform module postgres debug
terraform apply -var-file="example.tfvars"
2021/03/18 15:08:15 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2021/03/18 15:08:15 [INFO] Terraform version: 0.13.6
2021/03/18 15:08:15 [INFO] Go runtime version: go1.14.7
2021/03/18 15:08:15 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/2.2.0/versions/0.13.6/terraform", "apply", "-var-file=example.tfvars"}
2021/03/18 15:08:15 [DEBUG] Attempting to open CLI config file: /Users/user.name/.terraformrc
2021/03/18 15:08:15 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/18 15:08:15 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins