mirror of
https://github.com/anotherhadi/spilltea.git
synced 2026-05-20 01:32:33 +02:00
QOL & Security improvement
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
+2
-6
@@ -4,9 +4,7 @@ The History page has a built-in search bar with two modes:
|
||||
|
||||
**Fulltext search**: press `/` to open it. Results filter in real time as you type across all fields: method, host, path, and the raw request/response bodies.
|
||||
|
||||
**SQL mode**: press `:` to open it, then `Enter` to run. You can write either a WHERE expression or a full SELECT query against the `entries` table.
|
||||
|
||||
WHERE expression (the `SELECT` is added automatically):
|
||||
**SQL mode**: press `:` to open it, then `Enter` to run. Type a WHERE expression: the full `SELECT … FROM entries WHERE` is added automatically.
|
||||
|
||||
```sql
|
||||
status_code = 404
|
||||
@@ -16,10 +14,8 @@ status_code = 404
|
||||
host LIKE '%.api.%' AND method = 'POST'
|
||||
```
|
||||
|
||||
Full SELECT query:
|
||||
|
||||
```sql
|
||||
SELECT * FROM entries WHERE response_raw LIKE '%password%' ORDER BY timestamp DESC LIMIT 20
|
||||
response_raw LIKE '%password%' ORDER BY timestamp DESC LIMIT 20
|
||||
```
|
||||
|
||||
The `entries` table has the following columns: `id`, `timestamp`, `method`, `host`, `path`, `status_code`, `request_raw`, `response_raw`.
|
||||
|
||||
Reference in New Issue
Block a user