mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-13 14:52:53 +00:00
Remove unnecessary condition to extract columns
Since we retrieve only the rows with a specific table name `name ='table_name', the table name won't start with `sqlite_` . Thus, we can remove the unnecessary condition.
This commit is contained in:
parent
8863292545
commit
3cf44386da
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ Use limit X+1 offset X, to extract all tables.
|
|||
## Integer/String based - Extract column name
|
||||
|
||||
```sql
|
||||
SELECT sql FROM sqlite_master WHERE type!='meta' AND sql NOT NULL AND name NOT LIKE 'sqlite_%' AND name ='table_name'
|
||||
SELECT sql FROM sqlite_master WHERE type!='meta' AND sql NOT NULL AND name ='table_name'
|
||||
```
|
||||
|
||||
For a clean output
|
||||
|
|
Loading…
Reference in a new issue