RSS
 

Modifying the Peggle Deluxe Game

06 Dec 2015

So some time ago I modified a the video game Peggle Deluxe which is a PC game by Popcap Games. My little baby brother had really gotten into the game and I wanted to add him as a character! I found a baby photo of him and thought I’d simply have to replace one image in…read more.

 
1 Comment

Posted in Gaming

 

Advent Of Code 2015: Day 5

05 Dec 2015

The Challenge

Solution Another quick and simple Python solution!

 
No Comments

Posted in Advent Of Code 2015

 

Customize your Linux Terminal (Bash)

05 Dec 2015

So the terminal is something that a program uses all the time but the default terminals on Unix distros looks very plain and boring in my opinion. While I really like the Kali Linux terminal style I use my Xubuntu distro much more often, its my personal favourite. So I decided to customize it and make…read more.

 
No Comments

Posted in Linux

 

Advent Of Code 2015: Day 4

04 Dec 2015

The Challenge

Solution Because speed was not an issue in this case, I simply used python again to solve the problem. The script is a little slow taking ~10 seconds to compute the answer in my case. A C/C++ solution would be orders of magnitude faster.

 
No Comments

Posted in Advent Of Code 2015

 

8891 – Santas leak (Hackvent 2015 Teaser)

04 Dec 2015

This was a fun and interesting challenge to kick off Hackvent. It took me 4 days to solve the problem! I strongly suggest you attempt the problem yourself before reading by solution. You can get the single image you need to do the challenge here (santa.png): Download Starting Image These are all the files/scripts I ended up with…read more.

 
No Comments

Posted in Hacking Lab

 

Advent Of Code 2015: Day 3

04 Dec 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…read more.

 
No Comments

Posted in Advent Of Code 2015

 

Advent Of Code 2015: Day 2

02 Dec 2015

The Challenge

Solution This challenge was very simple. I whipped up a short python script that solves it. The use of sorted to get the second smallest integer is not pretty but insignificant with such small numbers.

 
No Comments

Posted in Advent Of Code 2015

 

Advent Of Code 2015: Day 1

02 Dec 2015

The Challenge

Solution Before part 2 of the problem was revealed I decided to tackle the problem using the command line. I cam up with the following command:

We echo the input and remove the ) symbol which leaves only ( and we use wc to count the number of  ( symbols which tells us how many times…read more.

 
No Comments

Posted in Advent Of Code 2015

 

5020 – Password protected ZIP

02 Dec 2015

To solve this challenge I simply performed a dictionary attack on the zip file until I had discovered the correct password. Linux tools available are fairly slow and may only test 1000-10000 passwords each second so I decided to use Accent Zip password recovery which is a commercial tool capable of testing upto 600000 passwords a…read more.

 
No Comments

Posted in Hacking Lab

 

7002 – Linux Security: Got Wurzel

02 Dec 2015

I log into the system to discover I am in a restricted shell. Some testing reveals I can run commands like ls but cannot run cat etc. I realise that I can use the /  character in arguments but not in the command name. So I can’t call any commands by path. Thus I can…read more.

 
No Comments

Posted in Hacking Lab