enowars / bambictf

Ansible/Packer/Terraform setup for our Bambi CTF on Hetzner Cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix variable names in config/internal_router/gen_keys.sh

Trolldemorted opened this issue · comments

for team_id in $(seq 1 "$1"); do
team_ip="${TEAM_IP_PREFIX}${team_id}"
echo $team_ip
privkey=$(wg genkey)
echo $privkey
pubkey=$(echo "$privkey" | wg pubkey)
echo $pubkey

It still uses team* names because we copied it from there

This was fixed at some point and is live on the dev branch