基础关
第一关
题目提示:
页面提示
WEB解题的第一步:三七二十一查看源码,或者F12也可以得到flag
知识点:查看源码方法
第二关
题目提示:
从逻辑上来说:key–加密–>xrlvf23xfqwsxsqf—加密---->key,这是源于一种古老的加密方法:凯撒加密(具体百度),由于第一题的模式类型:
key is XXXXXXX,那么k和x相差13位,那么可以猜测是Rot13加密(凯撒加解密网址),或者是一下的代码
str=input("输入字符串: ");
ans="";
for i in str:
if ('a'<=i<='z'):
ans+=chr(((ord(i)-ord('a')) + 13) % 26 + ord('a'));
elif ('A'<=i<='Z'):
ans+=chr(((ord(i)-ord('A')) + 13) % 26 + ord('A'));
else:
ans+=i;
print(ans);
知识点:一些加密算法的基本了解
第三关
题目提示:
Vm0wd2QyUXlVWGxWV0d4V1YwZDRWMVl3WkRSV01WbDNXa1JTVjAxV2JETlhhMUpUVmpBeFYySkVUbGhoTVVwVVZtcEJlRll5U2tWVWJHaG9UVlZ3VlZacVFtRlRNbEpJVm10a1dHSkdjRTlaVjNSR1pVWmFkR05GU214U2JHdzFWVEowVjFaWFNraGhSemxWVmpOT00xcFZXbUZrUjA1R1drWndWMDFFUlRGV1ZFb3dWakZhV0ZOcmFHaFNlbXhXVm1wT1QwMHhjRlpYYlhSWFRWaENSbFpYZUZOVWJVWTJVbFJDVjAxdVVuWlZha1pYWkVaT2NscEdhR2xTTW1ob1YxWlNTMkl4U2tkWGJHUllZbFZhY1ZadGRHRk5SbFowWlVaT1ZXSlZXVEpWYkZKSFZqRmFSbUl6WkZkaGExcG9WakJhVDJOdFJraGhSazVzWWxob1dGWnRNWGRVTVZGM1RVaG9hbEpzY0ZsWmJGWmhZMnhXY1ZGVVJsTk5XRUpIVmpKNFQxWlhTa2RqUm14aFUwaENTRlpxUm1GU2JVbDZXa1prYUdFeGNHOVdha0poVkRKT2RGSnJhR2hTYXpWeldXeG9iMWRHV25STldHUlZUVlpHTTFSVmFHOWhiRXB6WTBac1dtSkdXbWhaTVZwaFpFZFNTRkpyTlZOaVJtOTNW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RWTWtwV1YyNUdWVlp0VWxSYVYzaHlaREZ3UlZWdGFGZGhNMEY0VmxaYWIyRXhaRWhUYTJSWVltdHdWMWxYZEdGaFJtdDVZek5vVjAxWFVqQlphMXBQVlRKRmVsRnRPVmROVm5CVVZXcEtVbVZXVW5WVWJHaFlVakZLYjFaWGVHOVZNazVYWWtoT1YxWkZXbFJVVmxwSFRrWlplVTFVUW1oU2JIQXdWbGQwYzFkSFJuSk9WRTVYWVd0d1NGa3llRTlrUjBaSFkwZDRhRTFZUWpWV2JYQkRXVlpWZVZSdVRtcFNWMmhVV1d0Vk1XTkdXblJrU0dSWFlrWnNORmRyVWtOWGJGbDRVbXBPVldKR2NISldNR1JMWXpGT2NrOVdaR2hOVm5CTlZqRmFZVmxYVWtoV2ExcGhVbFJzVkZscmFFSmtNV1J6Vm0xR2FFMVdjRmxWTW5SaFlXeEtXR1ZIUmxWV1JUVkVXbFphVjFJeFNsVmlSa1pXVmtSQk5RPT0=
观察加密的字符串,发现只涉及到英文字母以及数字,还有末尾的=号,考虑BASE64加密
import base64
code = input("加密的字符串: ");
count = 0
try:
while True:
code = base64.b64decode(code)
count = count + 1
except :
print("经过了" + str(count) + "次加密")
print('解密后结果为:' +str(code));
知识点:BASE64加密以及脚本编写
第四关
通关地址:无
题目提示
e0960851294d7b2253978ba858e24633
直接MD5解密(免费在线)
知识点: MD5加解密
第五关
题目提示:
页面提示:
查看源码,观察URL无果,只好抓包看看有没有用
观察了一下响应头,貌似只有Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2这一栏的属性能够表明是其他非英文国家在访问该页面
于是修改该栏为:Accept-Language: en-US;
成功返回flag:
补充一下相关知识:
Accept-Language 请求头允许客户端声明它可以理解的自然语言,以及优先选择的区域方言。借助内容协商机制,服务器可以从诸多备选项中选择一项进行应用, 并使用 Content-Language 应答头通知客户端它的选择。浏览器会基于其用户界面语言为这个请求头设置合适的值
知识点: HTTP请求头
第六关
题目提示:
页面提示:
这里还是靠HTTP响应头的知识,在bp里抓包修改响应头的==User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0)==字段为
User-Agent: HAHA即可
知识点: HTTP响应头
第七关
题目提示:
页面提示:
查看源码无果,尝试查看消息头,在响应头中发现flag
==知识点:==敏感信息的可能存在的地方
第八关
通关地址
题目提示:
页面提示:
打开链接提示falg没在这里,查看存在链接的页面源码,发现链接的URL是:search_key.php而打开链接后的URL是:index_no_key.php
怀疑flag在search_key.php中,但是访问这个页面是会触发302跳转到index_no_key.php,因此在bp(默认是不跟随3XX跳转的)中直接修改
就可以访问到该页面得到falg
==知识点:==可疑页面的尝试
第九关
题目提示:
页面提示:
查看源码,观察URL无果,尝试bp抓包分析
发现可疑点:Cookie: Login=0; PHPSESSID=e4c3e9478859d3c63537d6be275cf0a0
结合提示:修改Cookie:Login=1; PHPSESSID=e4c3e9478859d3c63537d6be275cf0a0
发送成功登陆,获得flag
==知识点:==消息头的可疑参数的观察
第十关
题目提示:
页面提示:
尝试输入数字发现被限制长度,查看源码
F12直接修改代码,删除maxlength属性,重新输入一个较大的数据即可获得flag
知识点: HTML相关知识
第十一关
题目提示:
页面提示:
那么就清楚了,只要用bp抓包然后添加
X-Forwarded-For: 127.0.0.1 (不知道XFF的可以百度)
就可以模拟客户端是从本地访问的
知识点 XFF消息头的作用
第十二关
题目提示:
页面提示:
以前做到过一个网站被黑的题目,用御剑扫描就可以发现shell,于是乎对这个网站进行扫描只发现一个robots.txt文件,打开
还是由于经验不足,漏掉了关键的信息,虽然知道robots协议是用于防止爬虫的,但是还是没有具体研究过
Disallow:
该项的值用于描述不希望被访问到的一个URL,这个URL可以是一条完整的路径,也可以是部分的,任何以Disallow开头的URL均不会被robot访问到。例如"Disallow:/help"对/help.html 和/help/index.html都不允许搜索引擎访问,而"Disallow:/help/“则允许robot访问/help.html,而不能访问/help/index.html。任何一条Disallow记录为空,说明该网站的所有部分都允许被访问,在”/robots.txt"文件中,至少要有一条Disallow记录。如果"/robots.txt"是一个空文件,则对于所有的搜索引擎robot,该网站都是开放的。
这就是突破点,输入URL后
这时可以用御剑在扫一遍,或者猜测是login.php(因为题目说是login page所以盲猜),成功得到,并没有想象的要爆破密码
知识点: robots协议
总结:
其实找flag的过程就是根据提示尝试所有的可能性,我们要做的就是尽可能的了解一些基本的知识,从而有更多的尝试的可能性从而能够得到更多的信息.