Skip to content

Commit b490964

Browse files
authored
enable healthcheck in apache-php and fix misc errors from last commit (google#40)
1 parent 85807dc commit b490964

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# this file will be sourced by the deployment scripts
22
DEPLOY=true
33
PUBLIC=false
4-
HEALTHCHECK=false
4+
HEALTHCHECK=true

infrastructure/kctf-samples/apache-php/challenge/config/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
configMapGenerator:
22
- name: apache-php-config
33
files:
4-
- apache-nsjail-php.conf
4+
- apache2-nsjail-php.conf
55
- nsjail-php.cfg
66
generatorOptions:
77
disableNameSuffixHash: true

infrastructure/kctf-samples/apache-php/healthcheck/exploit/run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ set -Eeuo pipefail
55
TIMEOUT=20
66
PERIOD=30
77

8+
export TERM=linux
9+
export TERMINFO=/etc/terminfo
10+
811
while true; do
912
source /config/env
1013
date

0 commit comments

Comments
 (0)