16 lines
441 B
Markdown
16 lines
441 B
Markdown
|
## Difficulty
|
||
|
Medium
|
||
|
|
||
|
## How to Solve
|
||
|
Exec into database pod with password the from flag 1. Find flag in database.
|
||
|
|
||
|
```bash
|
||
|
kubectl get pods -n my-first-project # Use the id of the postgres pod in the next command
|
||
|
kubectl exec -it -n my-first-project postgres-c7b99567f-tbf9b -- /bin/bash
|
||
|
psql --user klarrio # use flag from challenge 1
|
||
|
select * from flags; # table can be found with `\dt`
|
||
|
```
|
||
|
|
||
|
## Flag
|
||
|
IGCTF-KLARRIO{lets_all_love_postgres}
|