diff --git a/SQL Injection/SQLite Injection.md b/SQL Injection/SQLite Injection.md index 1d3b8d9..739f49d 100644 --- a/SQL Injection/SQLite Injection.md +++ b/SQL Injection/SQLite Injection.md @@ -4,6 +4,7 @@ * [SQLite comments](#sqlite-comments) * [SQLite version](#sqlite-version) +* [String based - Extract database structure](#string-based---extract-database-structure) * [Integer/String based - Extract table name](#integerstring-based---extract-table-name) * [Integer/String based - Extract column name](#integerstring-based---extract-column-name) * [Boolean - Count number of tables](#boolean---count-number-of-tables) @@ -26,6 +27,12 @@ select sqlite_version(); ``` +## String based - Extract database structure + +```sql +SELECT sql FROM sqlite_schema +``` + ## Integer/String based - Extract table name ```sql