Files
metasploit-gs/documentation/modules/exploit
Valentin Lobstein f6430ee093 Fix MariaDB tc.log corruption issue in AVideo lab setup
The MariaDB container fails to start with 'Bad magic header in tc log' error
when the data directory has incorrect permissions or was previously corrupted.
This occurs during first-time setup of the AVideo lab environment.

The fix:
- Creates a custom entrypoint script that detects and removes corrupted tc.log
  files by checking the magic header (should be 01 00 00 00)
- Modifies Dockerfile.mariadb to integrate the fix script into the original
  MariaDB entrypoint using sed
- Ensures the fix runs automatically before MariaDB initialization

This allows the lab to start successfully on first run without manual intervention.

Co-authored-by: bwatters-r7 <bwatters-r7@users.noreply.github.com>
2026-01-13 22:31:38 +01:00
..
2025-11-07 15:42:23 -05:00
2025-11-07 15:42:23 -05:00
2025-07-17 11:51:29 +01:00
2025-07-17 11:51:29 +01:00
2025-11-07 15:42:23 -05:00
2023-10-10 14:46:18 -04:00
2025-11-07 15:42:27 -05:00
2025-11-07 15:42:23 -05:00
2025-11-07 15:42:23 -05:00
2025-11-07 15:42:27 -05:00
2025-12-03 15:42:57 -05:00