← Back
Po po po po postgresql | Avishai’s CTF Writeups

Avishai's CTF Writeups

Yalla Balagan! A collection of my CTF writeups and solutions.

View on GitHub

This is the query:

SELECT * FROM users WHERE (username = ('$username') AND ...

so, let’s give this input: ')) or 1 --

however, i get this error, because this is PostgresSQL image

so, let’s give it true value instead of 1: ')) or TRUE --

Flag: FLAG-mdeq68jNN88xLB1o2m8V33Ld