write-ups-challenges-2022-2023/k8s_easter_eggs/part3/init.sql
2022-11-24 22:59:22 +01:00

6 lines
255 B
SQL

CREATE USER klarrio PASSWORD 'IGCTF-KLARRIO{save_the_environment!}';
GRANT CONNECT ON DATABASE klarrio TO klarrio;
CREATE TABLE flags (flag text);
INSERT INTO flags VALUES ('IGCTF-KLARRIO{lets_all_love_postgres}');
GRANT SELECT ON TABLE flags TO klarrio;