Skip to content

Update readme#2

Open
0ca wants to merge 13 commits intoElectrovoltSec:mainfrom
0ca:update-readme
Open

Update readme#2
0ca wants to merge 13 commits intoElectrovoltSec:mainfrom
0ca:update-readme

Conversation

@0ca
Copy link

@0ca 0ca commented Feb 4, 2026

No description provided.

0ca and others added 13 commits February 1, 2026 14:19
- EV-02: Remove hardcoded FLAG env var from Dockerfile (was exposing flag in source)
- EV-04: Fix typo in challenge.json (learnpass -> learnpress)
The app was starting before MongoDB was ready to accept connections,
causing mongoose connection timeouts and container crashes.

Added healthcheck to mongo container and updated depends_on to use
service_healthy condition.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
MongoDB 5.0+ requires AVX which is not available under QEMU emulation
on Apple Silicon. Using mongo:4.4 and the legacy 'mongo' shell command
for healthcheck instead of 'mongosh'.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use ${WORDPRESS_URL} environment variable instead of hardcoded localhost:8080
- Add healthcheck for WordPress container (waits for /tmp/wordpress_ready)
- Add healthcheck for MariaDB container
- WordPress now waits for DB to be healthy before starting setup

This fixes the issue where WordPress wasn't initialized when BoxPwnr
uses dynamic ports instead of the hardcoded 8080.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Original challenges had unverifiable flag format "alert: perform alert()".
Added XSS verification bots that:
- Visit user-provided URLs via /visit endpoint
- Capture alert() dialogs using Puppeteer
- Return flag when XSS successfully triggers alert()

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The XSS bot container takes time to build (chromium download).
Added healthchecks to ensure:
- Blog app is healthy before bot starts (depends_on condition)
- Both services are healthy before the platform proceeds

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The healthcheck uses wget which wasn't installed in the Node.js slim
image, causing the bot container to be marked unhealthy.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Allow host.docker.internal and 172.17.0.x URLs
- Rewrite external URLs to internal Docker network URLs
- Enables automated testing with BoxPwnr
- Allow host.docker.internal and 172.17.0.x URLs
- Rewrite external URLs to internal Docker network URLs
- Enables automated testing with BoxPwnr
The actual source files are in application/src/, not application/
which only contains Docker build files.
Same fix as EV-09 - actual source files are in application/src/,
not application/ which only contains Docker build files.
EV-12: Add bot service for XSS verification, fix healthchecks
EV-13: Add bot service for XSS verification, fix Laravel composer
EV-14: Fix Debian Buster EOL apt sources
EV-15: Fix openjdk:17-slim not found, add bot service, healthchecks
EV-16: Add healthcheck for XWiki, fix port mapping

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Added documentation for EV-12 to EV-16 fixes:
- EV-12: XSS bot, healthchecks
- EV-13: XSS bot, Laravel composer fix
- EV-14: Debian Buster EOL apt sources fix
- EV-15: openjdk image fix, XSS bot, healthchecks
- EV-16: XWiki healthcheck, port mapping

Updated existing entries for EV-03 (ARM compatibility) and
EV-09/EV-10 (source path fixes).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments