美文网首页
The Python Challenge(9)

The Python Challenge(9)

作者: 发条蛙 | 来源:发表于2017-10-20 19:45 被阅读0次

问题链接

问题链接如下:

http://www.pythonchallenge.com/pc/def/integrity.html

答案链接

答案链接如下:

http://www.pythonchallenge.com/pc/return/good.html
  • 登陆用户名密码为hugefile

解题思路

阅读源码有如下两行:

<!--
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'
-->

根据网络搜索可知BZh91AY为bz2压缩格式的关键字,则将这两段解压可知:

>>> from bz2 import decompress
>>> decompress(b'BZh91AY&SYA\xaf\x82\r\x00\x00\x01\x01\x80\x02\xc0\x02\x00 \x00!\x9ah3M\x07<]\xc9\x14\xe1BA\x06\xbe\x084')
b'huge'
>>> decompress(b'BZh91AY&SY\x94$|\x0e\x00\x00\x00\x81\x00\x03$ \x00!\x9ah3M\x13<]\xc9\x14\xe1BBP\x91\xf08')
b'file'
  • 解压结果为hugefile

再观察页面可知,点击图片中的小蜜蜂,可以跳出一个登陆页面,将刚才的hugefile输入,可以得进入下一个页面:http://www.pythonchallenge.com/pc/return/good.html

相关文章

  • The Python Challenge(9)

    问题链接 问题链接如下: 答案链接 答案链接如下: 登陆用户名密码为huge和file。 解题思路 阅读源码有如下...

  • Python Challenge[9]

    [Level 9] Title: connect the dots 图中有黑点,再无其他提示。查看源码,第二处注释...

  • Python挑战:00~03关

    Python Challenge Python Challenge 00 网址: http://www.pytho...

  • Python挑战:04-05关

    Python Challenge Python Challenge 04 现在,我们来挑战第四关,从第三关的结果,...

  • [Python Challenge通关]第9关 connect

    挑战地址,点我 分析 右键查看网页源码,可以看到提示: first 和 second 是两组数,图片上还有一些黑点...

  • python马丁challenge9.Finding parti

    Insert your code into triples_1.py so as to find all trip...

  • The Python Challenge(5)

    问题链接 问题链接如下: 答案链接 答案链接如下: 解题思路 根据页面源码提示: 再点击页面图片显示: 可知是需要...

  • The Python Challenge(8)

    问题链接 问题链接如下: 答案链接 答案链接如下: 解题思路 页面和源码中无任何提示,但图片中有一条很明显的灰度线...

  • The Python Challenge(2)

    问题链接 问题链接如下: 答案链接 答案链接如下: 解题思路 将页面给定的字符串根据给定规则进行替换即可,规则如下...

  • The Python Challenge(3)

    问题链接 问题链接如下: 答案链接 答案链接如下: 解题思路 根据页面提示: 阅读源码,有如下内容: 编写代码从中...

网友评论

      本文标题:The Python Challenge(9)

      本文链接:https://www.haomeiwen.com/subject/blzvuxtx.html