picoctf/web/sql_direct/output.txt

24 lines
727 B
Plaintext
Raw Normal View History

2024-09-05 18:51:15 +02:00
$ psql -h saturn.picoctf.net -p 56842 -U postgres pico
Password for user postgres:
psql (14.13, server 15.2 (Debian 15.2-1.pgdg110+1))
WARNING: psql major version 14, server major version 15.
Some psql features might not work.
Type "help" for help.
pico=# \d
List of relations
Schema | Name | Type | Owner
--------+-------+-------+----------
public | flags | table | postgres
(1 row)
pico=# SELECT * FROM flags;
id | firstname | lastname | address
----+-----------+-----------+----------------------------------------
1 | Luke | Skywalker | picoCTF{L3arN_S0m3_5qL_t0d4Y_21c94904}
2 | Leia | Organa | Alderaan
3 | Han | Solo | Corellia
(3 rows)
pico=# \q