Obtain flag from the current table in Sqlite DBMS.
| ID | Name | Age | Weight | Secret |
|---|---|---|---|---|
| 1 | Andrea Ramirez | 5 | 39 | 899720382 |
| 2 | Cynthia Bailey | 12 | 50 | W98470181 |
| 3 | Laura Randolph | 22 | 67 | 357691095 |
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 -- ':