# SQL Injection

> Master the art of database manipulation. Learn to identify, exploit, and extract data from SQL injection vulnerabilities across various database engines.

Canonical: https://codelivly.com/rooms/sql-injection
Last updated: 2026-07-13

| | |
|---|---|
| Level | Intermediate |
| Category | Cybersecurity |
| Lessons | 6 |
| Estimated time | 30 min |
| XP | 200 |

SQL Injection (SQLi) remains one of the most devastating and prevalent web vulnerabilities in existence. Amateurs just throw single quotes at a login box and hope for a syntax error. When it fails, they move on.

Professionals understand the underlying database architecture. They know how to differentiate between In-Band, Blind, and Out-of-Band techniques. They can manually construct complex UNION queries to extract data, infer database contents one bit at a time when the screen is blank, and weaponize automation tools like sqlmap with precision to bypass Web Application Firewalls (WAFs).

In this module, we transition from guessing syntax to systematic database extraction. You will learn to break the logical structure of SQL queries, dump entire databases through blind inference, and execute operating system commands directly through the database engine. Stop throwing random characters. Start speaking the database's native language.

## Lessons

1. What is SQL Injection & Why It Still Works Today (30 min)
2. Manual SQLi (30 min)
3. Union-Based SQL Injection Step-by-Step (30 min)
4. sqlmap Fundamentals - Automating Exploitation (30 min)
5. Blind SQL Injection (Boolean & Time-Based) (30 min)
6. Guided Lab: Full Database Extraction via SQLi (30 min)

## Related

- [Learning path: Exploitation Fundamentals](https://codelivly.com/learning-paths/exploitation-fundamentals)
- [All rooms](https://codelivly.com/rooms)
