RSS
 

Posts Tagged ‘day 3’

HACKvent 2015: Day 3

07 Dec 2015
CTF: Hackvent 2015
Link to challenge: http://hackvent.hacking-lab.com
Date Completed: 07 December 2015

Challenge

This image was provided:

Day 3 QR Image

Solution

We clearly have to either scan every QR code or find the correct QR code.
So we simply use an online tool that splits up GIF files based on their frames (link).
We download all the frames (29 images exist so its likely that each frame corresponds to one character in the nugget).

This turns out to be the case, we scan every code in order to get the flag.

Flag:
HV15-6Jhd-nWbQ-4dY8-yxH5-vSiA

 
No Comments

Posted in Hackvent 2015

 

Advent Of Code: Day 3

04 Dec 2015
CTF: Advent Of Code
Link to challenge: http://adventofcode.com
Date Completed: 03/12/2015

The Challenge

Solution

A rather interesting challenge. I wasn’t too happy with my solution but it works.
I split up parts 1 and parts 2 so the code can be read more easily.

Part 1 – Santa Solo Trip

 

Part 2 – Santa + Robo Santa

I didn’t like the use of the santasTurn boolean here too much but couldn’t think of a nicer way to complete the task (in the 15 minutes before I went to sleep!).

 
No Comments

Posted in Advent Of Code