这一关没有需要进入的网页,但是需要上一关得到一个文件,解析这个文件内容就行了。(用户名: butter; 密码: fly)
源代码如下:
import zlib, bz2 h = open("package.pack") # Hides within the ZIP file we got at the data = h.read() # end of level 20. h.close() output = [] while True: if data.startswith("BZh"): data = bz2.decompress(data) output.append("#") elif data.startswith("xx9c"): data = zlib.decompress(data) output.append(" ") elif data.endswith("x9cx"): data = data[::-1] output.append("n") else: break print "".join(output)
下一关网址:www.pythonchallenge.com/pc/hex/copper.html