Three passwords in one file’s history
database.yml has had three different passwords committed over time. Follow one file’s history, list each password, and find the one the team says is still in use.
- Terminal mission
- Intermediate
- 3 questions
- 0 of 3 solved
Your goal
Your goalList every password one config file has held and find the one still in use.
The ops repository holds config/database.yml. The team says the current password is in a vault, but an old one is still used by the reporting replica.
git log -p -- <file> shows only the commits that touched one file, oldest changes at the bottom.
What’s on screen
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
dev-laptop · Secrets in Git
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
Read first
More in Secrets in Git
The whole walkthrough
Every step in order: 263 words, about 2 min. It gives away every answer, so try the steps first.