---
# System prepended metadata

title: MLH CTF Notes

---

# MLH CTF Notes

**Detective Skdiddle Skdaddle 2**: checked out to a previous commit hash which had the file
**Detective Skdiddle Skdaddle 3**: opened original head.txt file with hash for original head, checked out to the commit hash for original head and found flag.txt
**Alien**: the mp4 file was an mp3 file in disguise. The metadata revealed last half of flag, used ffmpeg software to reveal first half

**File Upload JPG**: write bash script to show the files but change the extension to .jpg 
```sh    
#!/bin/bash

more .secret/.hidden

```


**Treasure hunt**: 
1. Run docker container
2. Download utilities `apk add tree`
3. Do `tree /mlh` and the result shows `mlh{_____4______t__4__R__}`
4. Run `export` and get `mlh{____w_________3__u___}`
5. Ascii gives `mlh{y______T___^_R______?}`
```
mlh{____w_________3__u___}  // env variable
mlh{y______T___^_R______?}  // Ascii
mlh{_0____n_*m_________3_}  // docker image inspect
mlh{_____4______t__4__R__}  // directory tree
```
