Sunday, April 17, 2011

Python challenge level 8

import bz2

usr = 'BZh91AY&SYA\xaf\x82\r\x00\x00\x01\x01\x80\x02\xc0\x02\x00 \x00!\x9ah3M\x07<]\xc9\x14\xe1BA\x06\xbe\x084'

passwd = 'BZh91AY&SY\x94$|\x0e\x00\x00\x00\x81\x00\x03$ \x00!\x9ah3M\x13<]\xc9\x14\xe1BBP\x91\xf08'

print 'usr:'+bz2.decompress(usr)+'\n','pwd:'+bz2.decompress(passwd)


這關其實很簡單,關鍵只在說要用什麼東西decode

"Busy too" >> bz2

這就是Python Challenge的Style!!!

0 comments:

Post a Comment