Execution Style

Discussion of challenges you have already solved
Post Reply
wrtlprnft
Posts: 28
Joined: Sun Nov 09, 2008 4:48 pm

Execution Style

Post by wrtlprnft »

I loved the part where you ended up with a hackvm program… And I instantly recognized it as such :-D
osterlaus
Posts: 20
Joined: Sun Nov 02, 2008 6:04 pm

Post by osterlaus »

Yeah, this was a really nice challenge! Loved to handle this different ways of simplification
megabreit
Posts: 141
Joined: Sat Jan 03, 2009 3:33 pm

Post by megabreit »

Same here... 3 months ago I didn't even know about hackvm and today I got the result faster than I was able to find out the real meaning of the C99 syntax error.

And thanks for not taking this to the extremes like in "Compression" :D
Chocoholic
Posts: 44
Joined: Mon Feb 16, 2009 4:11 pm
Location: UK

Post by Chocoholic »

Totally agree with megabreit. This was a fun challenge, but it could have been made more challenging, for example by including code in some obscure esoteric programming language, like l33t or piet.
DaymItzJack
Posts: 106
Joined: Thu Oct 29, 2009 9:21 pm

Post by DaymItzJack »

Chocoholic wrote:Totally agree with megabreit. This was a fun challenge, but it could have been made more challenging, for example by including code in some obscure esoteric programming language, like l33t or piet.
I'm glad he didn't. ;p

I solved most of it by using http://codepad.org, seeing as I don't have a Perl interpreter with me. I couldn't figure out the C language so I just converted it to python.
jonik555
Posts: 43
Joined: Mon Aug 31, 2009 6:18 pm
Location: Prague

Post by jonik555 »

I didnt know what to do with that error in C program compiling, so I rewrited it to Python. :D
There are 10 types of people, those who understand ternary, those who think that this joke is about binary and the others.
arthur
Posts: 21
Joined: Fri Jul 23, 2010 12:44 pm

Post by arthur »

i love it, too
chephy
Posts: 17
Joined: Sat Oct 16, 2010 4:39 pm

Post by chephy »

How did you extract the data from the image?

For me, convert (from imagemagick) and the BSD »file« command made the challenge very easy…
aurora
Posts: 54
Joined: Thu Feb 05, 2009 12:31 pm
Location: Bavaria, Germany

Post by aurora »

this was a very nice challenge, even though the "executable" confused me a lot ... till i found the 7z string in it :-). i used a small php script to extract the "executable" btw.:

Code: Select all

#!/usr/bin/env php
<?php

$dat = file_get_contents(__DIR__ . '/Doll2.png');
if (preg_match('/IDAT(.*?)IEND/s', $dat, $match)) {
	file_put_contents(__DIR__ . '/Doll2.bin', gzinflate(substr($match[1], 2, -4)));
}
User avatar
Hippo
Posts: 339
Joined: Sat Feb 01, 2014 12:05 am
Location: Praha 5

Post by Hippo »

I spent most time on the first step. I have written pixels & 0xff to the file and nothing appeared.
I am still confused why conversion to BMP gives other result (of course ordered from bottom to top).

On line compilers/interpretters helped a lot.

Funny one.
User avatar
yes-man
Posts: 32
Joined: Fri Jan 30, 2009 5:14 pm

Great Challenge

Post by yes-man »

I really loved this one. Didn't take that long, but was great fun.

Suppose I skipped the executable step, just extracted the 7z directly, without the executable wrapper. Was that intended or just luck? ^^
About the first step, yes, it was about recognizing that some binary data is encoded in the picture ... but it was kind of obvious.
Post Reply