Shinny Upatree: Sleigh Bell Lotttery
![](/hh2018//assets/img/elves/shinny/avatar.png)
The Elf's Request
![](/hh2018//assets/img/elves/shinny/question.png)
The Terminal Riddle
![](/hh2018//assets/img/elves/shinny/riddle.png)
The Solution
Area 2 on the left
GDB Debugger https://pen-testing.sans.org/blog/2018/12/11/using-gdb-to-call-random-functions
Using nm, got a listing of the functions.
![](/hh2018/assets/img/elves/shinny/1.png)
![](/hh2018/assets/img/elves/shinny/2.png)
The winnerwinner
seems to be the most interesting.
Start GDB and put a break at Main. Then, did a jump to winnerwinner
.
![](/hh2018/assets/img/elves/shinny/3.png)
This printed the winner message and achievement
Terminal Success
![](/hh2018//assets/img/elves/shinny/success.png)
The Hint
![](/hh2018//assets/img/elves/shinny/hint.png)