目录
python challenge
(0)
(1)
(2)
The Riddle
(1)
(2)
(3)
(4)
Nazo
(1)
(2)
(3)
(4)
有一类游戏,通过解读html页面中的内容,推理出下一个html的url,从而进入下一关。
这一类游戏可以有很多花样,可以有不同的主题。
python challenge
这是以python为知识背景的html游戏。
入口:http://www.pythonchallenge.com/pc/def/0.html
(0)
错误答案:
http://www.pythonchallenge.com/pc/def/238.html
http://www.pythonchallenge.com/pc/def/2**38.html
正确答案:
http://www.pythonchallenge.com/pc/def/274877906944.html
然后自动重定向到http://www.pythonchallenge.com/pc/def/map.html
(1)
everybody thinks twice before solving this.
g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr ylb rfyr'q ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj.
一个很简单的平移加密,就是+2平移。
解码的python代码:
s = 'g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr ylb rfyr q ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj.'
for c in s:if c == ' ':print(c,end='')else:print(chr((ord(c)-ord('a')+2)%26+ord('a')),end='')
输出:
i hope you didnt translate it by handd thats what computers are ford doing it in by hand is inefficient and that s why this text is so longd using stringdmaketransxy is recommendedd now apply on the urld
修整一下就是 i hope you didnt translate it by hand. thats what computers are for. doing it in by hand is inefficient and that's why this text is so long. using string.maketrans() is recommended. now apply on the url.
关键是最后一句话,把map变成ocr
正确答案:http://www.pythonchallenge.com/pc/def/ocr.html
(2)
The Riddle
(1)
https://harrynull.tech/cipher/link.html
点进去就行了
(2)
https://harrynull.tech/cipher/missinglink.html
(3)
https://harrynull.tech/cipher/thethirdstage.html
往上看的意思应该就是,直接看url
(4)
https://harrynull.tech/cipher/thefourthstage.html
如果输入thefifthstage.html :
Nazo
(1)
https://nazo.one-story.cn/nazo-1
(2)
https://nazo.one-story.cn/nazo-1
输入2个字分开了,所以答案是“入答案”
(3)
https://nazo.one-story.cn/nazo-3
直接改url
(4)
https://nazo.one-story.cn/nazo-4