Chybeta

Hackit2017-Weekands of hacker-writeup

Hackit2017-Weekands of hacker-writeup
脑脑脑洞题?

Task

1
2
3
4
Description: Try to find something weird here...
Attachment: (none)
Webpage: (none)
Hint: Format answer is h4ck1t{<something>}. You must type right flag on keyboard, where? Feel you real hacker. Hide

Solution

没有给出网址,那就只能在https://ctf.com.ua里咯。

https://ctf.com.ua/js/jquery.js里有一段:

1
2
3
4
5
6
7
8
9
10
11
12
13
typer:function(key){
$m=[70,70,71,79,86,74,71,83,80,74,77,86,81,95];//times alt is pressed for Access Granted
$c=Typer.counter-211;
if (!Typer.failed & $c>=0){
if (!(key==$m[$c]-$c)){
Typer.failed=true;
Typer.makeDenied();
}
if($c+1==$m.length){
Typer.makeAccess()
}
}// remove all existing popuccess();
},

1
2
3
4
5
key = ""
m = [70,70,71,79,86,74,71,83,80,74,77,86,81,95]
for i in range(len(m)):
key += chr(m[i]-i)
print(key)

得到:

1
FEELREALHACKER

再把它转成小写,flag:

1
h4ck1t{feelrealhacker}

tucao

这是脑洞题?…

微信扫码加入知识星球【漏洞百出】
chybeta WeChat Pay

点击图片放大,扫码知识星球【漏洞百出】

本文标题:Hackit2017-Weekands of hacker-writeup

文章作者:chybeta

发布时间:2017年08月28日 - 19:08

最后更新:2017年08月28日 - 19:08

原始链接:http://chybeta.github.io/2017/08/28/Hackit2017-Weekands-of-hacker-writeup/

许可协议: 署名-非商业性使用-禁止演绎 4.0 国际 转载请保留原文链接及作者。