LegacyGuard — Renovating a Vulnerable PHP 7 App into Laravel 11.
Built to show how I modernize risky legacy business apps safely: keep old users logging in without forced password resets while eliminating SQL injection, cross-clinic data leaks, and mutable logs.
Step 01 · See The Bug (Old PHP 7)
Test how the old PHP 7 app lets a hacker from Clinic North read Clinic South's private payroll record.
Step 02 · Seamless Hash Upgrade
Log in as Dr. Amira on Laravel 11 and watch her weak MD5 password upgrade live to Argon2id below.
Step 03 · Prove Security Fix
Run the exact same cross-clinic hack against Laravel 11 — Eloquent tenant scoping blocks it immediately with HTTP 403.
1. Zero-Downtime Auth & Hash Upgrade
Dr. Amira starts with a legacy unsalted MD5 digest. Authenticate on Laravel 11 to upgrade her in-place to Argon2id.
2. Exploit & Isolation Scenarios
Switch runtime at top-right between Legacy PHP 7.2 and Laravel 11 to compare outcomes:
Select an action on the left to test Legacy PHP 7.2 vs Renovated Laravel 11 live.
{
"tip": "Try clicking \"1. Login & Upgrade MD5 → Argon2id\" while on Laravel 11, or switch to Legacy PHP 7.2 and run the SQLi / Cross-Tenant IDOR exploits!"
}