<aside> ℹ️ 🥬🐔打不了 CTF,只能做做最简单的题目这样子。
</aside>
目录
https://twitter.com/jetbrains/status/1236986174075482113
一看就是十六进制,尝试解码:
const code = '48 61 76 65 20 79 6f 75 20 73 65 65 6e 20 74 68 65 20 73 6f 75 72 63 65 20 63 6f 64 65 20 6f 66 20 74 68 65 20 4a 65 74 42 72 61 69 6e 73 20 77 65 62 73 69 74 65 3f'
const text = code.split(' ').map(i => parseInt(i, 16))
String.fromCharCode(...text) // Have you seen the source code of the JetBrains website?
打开 view-source:https://www.jetbrains.com/,搜索 Quest:
<!-- O {o)xxx|===============- O
Welcome to the JetBrains Quest.
What awaits ahead is a series of challenges. Each one will require a little initiative, a little thinking, and a whole lot of JetBrains to get to the end. Cheating is allowed and in some places encouraged. You have until the 15th of March at 12:00 CET to finish all the quests. Getting to the end of each quest will earn you a reward. Let the quest commence!
JetBrains has a lot of products, but there is one that looks like a joke on our Products page, you should start there... (hint: use Chrome Incognito mode) It’s dangerous to go alone take this key: Good luck! == Jrrg#oxfn$
O
-===============|xxx(o} O -->
来到 https://www.jetbrains.com/products.html,晃悠半天没发现啥,突然想起原推的评论有提到 Adblocker,再加上提示里也说要开 Incognito,遂关掉 uBlock,发现多了个格格不入的产品:

点击 Learn more:
You have discovered our JetBrains Quest! If you don’t know what this is, you should start from Twitter, Facebook or LinkedIn.
To continue to the next challenge you need to go to the following link… But there is a problem, the last 3 digits are missing:
To get these digits you need to know how many prime numbers there are between 500 and 5000
Good Luck!
这个域名眼熟,是 JetBrains 做短链接用的。找素数不难,可惜本🥬🐔只会暴力解法:
const isPrime = n => {
if (n <= 1) return false
for (let i = 2; i <= Math.ceil(n / 2); i++) {
if (n % i === 0) return false
}
return true
}
let sum = 0
for (let i = 500; i <= 5000; i++) {
if (isPrime(i)) sum++
}
console.log(sum) // 574
打开 https://jb.gg/574,得到如下图片:

说起来昨天才刚在 YouTrack 上给 WebStorm 无法查看 WebP 的问题投票来着。来到 https://youtrack.jetbrains.com/issue/MPS-31816:
“The key is to think back to the beginning.” – The JetBrains Quest team
Qlfh$#Li#|rx#duh#uhdglqj#wklv#|rx#pxvw#kdyh#zrunhg#rxw#krz#wr#ghfu|sw#lw1#Wklv#lv#rxu#lvvxh#wudfnhu#ghvljqhg#iru#djloh#whdpv1#Lw#lv#iuhh#iru#xs#wr#6#xvhuv#lq#Forxg#dqg#iru#43#xvhuv#lq#Vwdqgdorqh/#vr#li#|rx#zdqw#wr#jlyh#lw#d#jr#lq#|rxu#whdp#wkhq#zh#wrwdoo|#uhfrpphqg#lw1#|rx#kdyh#ilqlvkhg#wkh#iluvw#Txhvw/#qrz#lw“v#wlph#wr#uhghhp#|rxu#iluvw#sul}h1#Wkh#frgh#iru#wkh#iluvw#txhvw#lv#‟WkhGulyhWrGhyhors†1#Jr#wr#wkh#Txhvw#Sdjh#dqg#xvh#wkh#frgh#wr#fodlp#|rxu#sul}h1#kwwsv=22zzz1mhweudlqv1frp2surpr2txhvw2
开头给了串密码:Good luck! == Jrrg#oxfn$,很容易看出是凯撒加密,找找规律: