Smell as Sweet

Discussion of challenges you have already solved
PeterS
Posts: 24
Joined: Thu Mar 05, 2009 7:17 pm

Smell as Sweet

Post by PeterS »

Wireshark is definately some kick-ass software. It helped me to get the answer within a few minutes.
How did you solve this challenge?
gfoot
Posts: 269
Joined: Wed Sep 05, 2007 11:34 pm
Location: Brighton, UK

Post by gfoot »

I think I manually cut it up by spotting HTTP responses and PNG headers - it didn't take long, but using the right tool would have been more reliable.
User avatar
m!nus
Posts: 202
Joined: Sat Jul 28, 2007 6:49 pm
Location: Germany

Post by m!nus »

wireshark was definitely the easier method :)
Last edited by m!nus on Sun Sep 13, 2009 11:13 am, edited 1 time in total.
ftfish
Posts: 12
Joined: Thu Aug 20, 2009 1:51 am

Post by ftfish »

i also did it by searching for png headers.
i know i can open the file with wireshark, but i wonder how i can use wireshark to get the answer.
could you please give me a instruction? thanks!
bearson
Posts: 6
Joined: Thu Sep 10, 2009 8:43 am

Post by bearson »

m!nus wrote:wireshark was definetly the easier method :)
agree!
it has 'export' ability.
basty
Posts: 1
Joined: Thu Mar 05, 2009 4:48 pm

Post by basty »

Wow, this challenge is one of my favorits. It costs me round about 5 min., but thats not why I like it^^
> file -L file_20080914 give me the right hint. Than open the file in Whireshark and simple export the paket streams: done!
markobr
Posts: 17
Joined: Thu May 20, 2010 4:09 pm
Location: Tübingen
Contact:

Post by markobr »

Interesting - I didn't know nor find out that wireshark works this way round, too. But I did find out that vim has a mode for binary editing. Getting everything correct this way did take a few minutes more I think, but worked well enough.
User avatar
zjorzzzey
Posts: 11
Joined: Fri Oct 30, 2009 7:31 pm
Location: NL

Post by zjorzzzey »

Just finished this one simply using a hexeditor.
From the html on top I derived there were a few packages that repeated very often in the file. After removing these it was just splitting the file into the different png, ico and html files.

Wireshark would have been easier though... :P
Entropy|Immortal
Posts: 4
Joined: Sun Oct 17, 2010 3:30 pm

Post by Entropy|Immortal »

tcpflow to sort the packages, then foremost to extract the images.

Extracting the html was a bit more tricky:

Code: Select all

cat -v dump | grep -n html
to find out where to look and

Code: Select all

cat dump | head -n 81 | tail -n +8  > file.htm
to extract these lines.


Wireshark would have been easier though^^
nighthalk
Posts: 41
Joined: Fri Jul 31, 2009 8:22 pm

Post by nighthalk »

at first i tried just dumping all the pngs (since the html was obviously a single packet so you knew where to start and stop) but the background image was corrupt. assuming it was important (silly me) i then started writing my throw away program

i wrote my own packet parser from scratch using wireshark as a guide (i didnt know how to import/export packets at the time so i reversed the protocols) and dumped each "file" worth of a packet. lucky for us it didnt do anything tricky like packets out of order or dropped/unsolicited packets though i still havent figured out the first 0x18 bytes but i assume its some kind of router packet protocol, since it only happened once i just ignored it.
moose
Posts: 67
Joined: Fri Jul 16, 2010 7:32 pm

Post by moose »

This challenge was great! Thanks for it!
AMindForeverVoyaging
Forum Admin
Posts: 496
Joined: Sat May 28, 2011 9:14 am
Location: Germany

Post by AMindForeverVoyaging »

So you didn't need the background image at all? Huh.

I guess the easiest and the fastest way to solve this is simply to make one educated guess. Just open file_20080914 in a text editor, read the line "the answer, my friend, is" and from there on you need neither Wireshark nor the C program I wrote to extract the .png files... ;)

By the way, can somebody who understands Javascript explain to me how the "encoding" of the solution actually works here? I thought at first that the images would be moving around on the screen, and in conjunction with the background would reveal the answer when you look at them in the right moment or something... but obviously that is not how it works?
User avatar
livinskull
Posts: 22
Joined: Fri Jun 26, 2009 12:01 pm
Location: /dev/null
Contact:

Post by livinskull »

Hexeditor

Extracted html and first 3 pngs, was enough to figure out the answer =)
aurora
Posts: 54
Joined: Thu Feb 05, 2009 12:31 pm
Location: Bavaria, Germany

Post by aurora »

wireshark rocks ... it got the job done.
yourMom
Posts: 6
Joined: Sat Dec 18, 2010 9:58 pm
Location: Sofia

pngcheck - another possible tool

Post by yourMom »

Wow, I was puzzled on how to extract the png's, but I managed to solve it after finding pngcheck from another challenge (and the funny thing is, I haven't solved that one yet :D). Anyway, I haven't heard about wireshark - it definitely sounds promising.
Post Reply