LegacyGuard WorkbenchPHP 7.2 → PHP 8.3 & Laravel 11
Portfolio
BEFORE & AFTER SECURITY MIGRATION SANDBOX

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.

Switch Target System (Old vs New)
HOW THIS LAB WORKS (CLICK STEPS 1 → 3 IN ORDER)Scenario: Clinic North & Clinic South share one hospital database

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:

READYHTTP 200 · laravel11

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!"
}
Live `users` Table (Zero-Downtime Hash State)
SHA-256 Hash-Chained `audit_logs` (0 Blocks)CHAIN CRYPTOGRAPHICALLY INTACT