4837 Total CVEs
26 Years
GitHub
README.md
Rendering markdown...
POC / entrypoint.sh SH
#!/bin/sh
set -e

# Generate a fresh, random flag every container start
RAND="$(head -c 12 /dev/urandom | base64 | tr -dc 'A-Z0-9' | head -c 10)"
FLAG="FLAG{DAY1_SESSIONREAPER_${RAND}}"

echo "$FLAG" > /opt/flag.txt
chown www-data:www-data /opt/flag.txt
chmod 640 /opt/flag.txt

# Launch Apache in foreground (php:8.x-apache convention)
exec apache2-foreground