SadServer Apia task url: https://sadservers.com/scenario/apia
Simple file-level task. Using md5sum and diff only.
Compare all files, find unusual md5 hash:
md5sum files
Use diff command, add word in solution, md5sum to check:
final commands
Vladimir Cicovic - Security, Programming, Puzzles, Cryptography, Math, Linux
SadServer Apia task url: https://sadservers.com/scenario/apia
Simple file-level task. Using md5sum and diff only.
Compare all files, find unusual md5 hash:
md5sum files
Use diff command, add word in solution, md5sum to check:
final commands
SadServer task Bilbao url: https://sadservers.com/scenario/bilbao
After login and inspection of the issue, we get this picture:
Pod status
After googling I found an issue with nodeSelector - so I removed it from the manifest.yml file:
Remove nodeSelector
After removing - it needs to delete all pods, re-run manifest, and check with curl:
Delete pods & run yaml file
Solution for Bucharest
Bucharest - url for task: https://sadservers.com/scenario/bucharest File edit:
If we run command:
PGPASSWORD=app1user psql -h 127.0.0.1 -d app1 -U app1user -c '\q'
We could see issue with access and file named "pg_hba.conf " If we open file, and we could see next lines:
host all all all reject
host all all all reject
If we dig manual for file - we could find that "reject" do that - reject any connection. So replacing with md5 word reject (use sudo for editing file and restarting services), and restart services with
sudo systemctl restart postgresql@13-main.service