Python Challenge – level 8 solution

This one is relatively easy. One of the reasons may be there is not much scripting needed.
The riddle designer gave a hint from the forum saying “Look at the password box hint”. When clicking the insect, the dialog shows a hint saying “inflate”. Someone from the forum also said the sound made by the insect. So it’s got to be bz2 and decompress.

>>> import bz2
>>> un = 'BZh91AY&SYA\xaf\x82\r\x00\x00\x01\x01\x80\x02\xc0\x02\x00\x00!\x9ah3M\x07<]\xc9\x14\xe1BA\x06\xbe\x084'
>>> pw = 'BZh91AY&SY\x94$|\x0e\x00\x00\x00\x81\x00\x03$ \x00!\x9ah3M\x13<]\xc9\x14\xe1BBP\x91\xf08'
>>> print bz2.decompress(un)
huge
>>> print bz2.decompress(pw)
file

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s