> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/es/web/sql-injection.md).

# Inyección SQL

Inyección SQL, ataques UNION, SQLi ciega, SQLi basada en errores, SQLi basada en tiempo, exfiltración OOB y enumeración de DBMS.

Notas sobre inyección SQL para los laboratorios de PortSwigger Web Security Academy, centradas en pasos prácticos de prueba, validación con Burp Suite, comportamiento de los payloads y flujo de explotación.

## Flujo de trabajo de pruebas

1. Identifica la funcionalidad vulnerable y la solicitud, parámetro, encabezado, cookie o sink del lado del navegador relevantes.
2. Reproduce el comportamiento en Burp Suite con una carga útil mínima antes de escalar el ataque.
3. Valida el impacto con una prueba de concepto clara, como acceso a la cuenta, divulgación de datos, ejecución de código, SSRF o cambio de estado.
4. Mantén sin cambios las cargas útiles, las URL, los tokens y las credenciales del laboratorio mientras documentas la ruta de explotación.

## Laboratorios

<table><thead><tr><th data-type="content-ref"></th></tr></thead><tbody><tr><td><a href="/es/web/sql-injection/blind-sql-injection-with-conditional-errors.md">Inyección SQL ciega con errores condicionales</a></td></tr><tr><td><a href="/es/web/sql-injection/blind-sql-injection-with-conditional-responses.md">Inyección SQL ciega con respuestas condicionales</a></td></tr><tr><td><a href="/es/web/sql-injection/blind-sql-injection-with-oob-interaction.md">Inyección SQL ciega con interacción fuera de banda</a></td></tr><tr><td><a href="/es/web/sql-injection/identifying-dbms-version-mysql-mssql-postgresql.md">Detección de versión del DBMS (MySQL, MSSQL, PostgreSQL)</a></td></tr><tr><td><a href="/es/web/sql-injection/error-based-sql-injection.md">Inyección SQL basada en errores</a></td></tr><tr><td><a href="/es/web/sql-injection/non-oracle-database-enumeration.md">Enumeración de bases de datos no Oracle</a></td></tr><tr><td><a href="/es/web/sql-injection/database-enumeration-on-oracle.md">Enumeración de bases de datos Oracle</a></td></tr><tr><td><a href="/es/web/sql-injection/oracle-dbms-version-detection.md">Detección de versión del DBMS Oracle</a></td></tr><tr><td><a href="/es/web/sql-injection/sql-injection-data-exfiltration-via-oob-channel.md">Exfiltración de datos mediante inyección SQL a través de una cadena OOB</a></td></tr><tr><td><a href="/es/web/sql-injection/sql-injection-filter-bypass-via-xml-encoding.md">Evasión de filtros de inyección SQL con codificación XML</a></td></tr><tr><td><a href="/es/web/sql-injection/sql-injection-in-where-clause.md">Inyección SQL en la cláusula WHERE</a></td></tr><tr><td><a href="/es/web/sql-injection/sql-injection-login-bypass.md">Evasión de inicio de sesión mediante inyección SQL</a></td></tr><tr><td><a href="/es/web/sql-injection/time-based-blind-sql-injection.md">Inyección SQL ciega basada en tiempo</a></td></tr><tr><td><a href="/es/web/sql-injection/blind-sql-injection-with-time-delay-and-exfiltration.md">Exfiltración de datos mediante inyección SQL ciega basada en tiempo</a></td></tr><tr><td><a href="/es/web/sql-injection/union-attack-determining-number-of-columns.md">Detección del número de columnas en un ataque UNION</a></td></tr><tr><td><a href="/es/web/sql-injection/union-attack-retrieving-data-from-other-tables.md">Ataque UNION para extraer datos de otras tablas</a></td></tr><tr><td><a href="/es/web/sql-injection/union-attack-to-extract-multiple-values-in-one-column.md">Ataque UNION para extraer múltiples valores en una columna</a></td></tr><tr><td><a href="/es/web/sql-injection/union-attack-to-find-a-text-compatible-column.md">Ataque UNION para encontrar una columna compatible con texto</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/es/web/sql-injection.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
