1.第一次愣是没有看出238是啥意思,然后就在URL的后面随便改成了1发现给了个提示2**38 is much much larger.,然后计算2的38次幂用python直接算出来2**38=274877906944
在网址后面输入 274877906944即得下一题的页面
2.这个应该是一个规律,本子上给的提示就是将字母的ASCII码+2替换原有的字母,因为以前写过凯撒密码,跟这个也有点类似,将下面的那串英文翻译一下。
a='abcdefghijklmnopqrstuvwxyz'
b='cdefghijklmnopqrstuvwxyzab'
c='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.'
print(c.translate(str.maketrans(a,b)))
输出: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.
string.maketrans() 这个应该是以前版本所使用的,我现在使用的是python3.6.1,所以用的是str.maketrans()。上面这段话关键意思是将这种关系应用到URL上,所以map=ocr,替换后得到第三题的页面。
3.根据下面的提示找了一下网页源码发现了有一些字符串,有一个这个提示<!--
find rare characters in the mess below,然后用python将下面的字符串整理了一下
-->
a='''<!--
%%$@_$^__#)^)&!_+]!*@&^}@[@%]()%+$&[(_@%+%$*^@$^!+]!&_#)_*}{}}!}_]$[%}@[{_@#_^{*
@##&{#&{&)*%(]{{([*}@[@&]+!!*{)!}{%+{))])[!^})+)$]#{*+^((@^@}$[**$&^{$!@#$%)!@(&
+^!{%_$&@^!}$_${)$_#)!({@!)(^}!*^&!$%_&&}&_#&@{)]{+)%*{&*%*&@%$+]!*__(#!*){%&@++
!_)^$&&%#+)}!@!)&^}**#!_$([$!$}#*^}$+&#[{*{}{((#$]{[$[$$()_#}!@}^@_&%^*!){*^^_$^
]@}#%[%!^[^_})+@&}{@*!(@$%$^)}[_!}(*}#}#___}!](@_{{(*#%!%%+*)^+#%}$+_]#}%!**#!^_
)@)$%%^{_%!@(&{!}$_$[)*!^&{}*#{!)@})!*{^&[&$#@)*@#@_@^_#*!@_#})+[^&!@*}^){%%{&#@
@{%(&{+(#^{@{)%_$[+}]$]^{^#(*}%)@$@}(#{_&]#%#]{_*({(])$%[!}#@@&_)([*]}$}&${^}@(%
(%[@%!}%*$}(*@)}){+@(%@*$&]*^*}*]&$[}*]%]+*}^!}*$^^_()#$^]++@__){&&+((#%+(&+){)$
%&&#($[[+##*%${)_!+{_[})%++)$#))]]]$]@]@($+{&%&%+!!!@]_]+])^*@$(@#${}}#}{%}#+{(@
#__+{{]${]!{(%${%%^)(_*_@+)$]$#_@$)]](}{}$(}*%+!}#+)$%$}+#@*&^{##}+@(%[*@_}{(^]^
+_*{@+[$!!@%$+{_&(#^(([&[][[&@#+}_]&&]}^*&$&
for i in a:
if 'a'<=i<='z':
print(i,end='')
输出结果为:equality
将页面替换后来到第四题,上面的字符串由于太长了就没有贴完
未完待续...............