Skip to main content

Identification


Information Gathering


Enumerate Tables


Enumerate Columns

sql column shows full CREATE TABLE statement with all column names and types.

Dump Data


String Functions


Conditional


Time Delay

SQLite has no sleep function. Alternatives:

Error-Based

SQLite error messages are less verbose. Limited error-based:

UNION


File Write — ATTACH DATABASE

Writes PHP web shell as SQLite database file (contains payload in binary).

Boolean Blind


Stacked Queries

Supported depending on driver:

No information_schema

SQLite uses sqlite_master instead:

Type System

SQLite uses dynamic typing — any column accepts any type. No strict type enforcement. This means:
  • CAST errors are less common
  • Type-based detection may not work
  • No need to match column types in UNION

Sources