makoo

Tools

Hacker's toolbox

Everyday tools for rooms and CTFs. They run entirely in your browser: nothing you type is sent to Makoo's server.

SQL injection sandbox

Attack a fake login and search form backed by a real SQLite database in your browser, then flip to the secure version and see why prepared statements stop it.

ShopCorp staff login

Try:

Query the server runs

SELECT id, username, role FROM users WHERE username = '' AND password = ''
How the fix works

The vulnerable version glues your input into the SQL text, so a quote can end the string and turn the rest into code. The secure version sends a fixed query with ? placeholders, and the database receives your input separately as a value. No input can change the query's structure. In real code: use parameterized queries or an ORM (Prisma does this for Makoo), never string concatenation.

Everything runs in your browser with a throwaway SQLite database; changes are rolled back after every query.