2021-10-28 21:14:37 +08:00
|
|
|
## CTF
|
2021-10-14 04:28:17 +08:00
|
|
|
Welcome to the first part of the comma CTF!
|
|
|
|
|
|
|
|
* all the flags are contained in this route: `0c7f0c7f0c7f0c7f|2021-10-13--13-00-00`
|
|
|
|
* there's 2 flags in each segment, with roughly increasing difficulty
|
|
|
|
* everything you'll need to find the flags is in the openpilot repo
|
2021-10-14 04:31:40 +08:00
|
|
|
* grep is also your friend
|
|
|
|
* first, [setup](https://github.com/commaai/openpilot/tree/master/tools#setup-your-pc) your PC
|
|
|
|
* read the docs & checkout out the tools in tools/ and selfdrive/debug/
|
|
|
|
* tip: once you get the replay and UI up, start by familiarizing yourself with seeking in replay
|
2021-10-14 04:28:17 +08:00
|
|
|
|
|
|
|
getting started
|
|
|
|
```bash
|
|
|
|
# start the route reply
|
2022-06-28 22:12:42 +08:00
|
|
|
cd tools/replay
|
2021-10-14 04:28:17 +08:00
|
|
|
./replay '0c7f0c7f0c7f0c7f|2021-10-13--13-00-00' --dcam --ecam
|
|
|
|
|
|
|
|
# start the UI in another terminal
|
|
|
|
selfdrive/ui/ui
|
|
|
|
```
|