This will build in AWS a Covenant C2 + HTTP redirector routing traffic on port 80
git clone https://github.com/b3n-j4m1n/CovenantTF.git
terraform.tfvars needs to be edited with your AWS details and IP whitelist if required.
# --- providers ---
aws_access_key = "AKIAXXXXXXXXXXXXXXXX"
aws_secret_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
aws_region = "ap-southeast-2"
# --- whitelist ---
ip_whitelist = [
"0.0.0.0/0"
]
Download Terraform to the CovenantTF directory - https://www.terraform.io/downloads.html
./terraform init
./terraform apply