🐽

Crack the Gate1

に公開

【Description】
We're in the middle of an investigation.
One of our persons of interest, ctf player, is velived to be hiding sensitive data inside arestricted web portal.
We've uncovered the email address the users to log in:ctf-player@picoctf.org.
Unfortunately, we don't know the password, and the usual guessing techniques haven't worked. But something feels off... it's almost like the developer left a serect way in. Can you figure it out?
The website is running here.
http://amiable-citadel.picoctf.net:53021/

1 urlをクリックする。

ログイン画面が表示されるので、問題文に書かれているlog in:ctf-player@picoctf.orgと任意のPasswordを入力する。

ページのソースコードを表示すると、
ABGR: Wnpx - grzcbenel olcnff: hfr urnqre "K-Qri-Npprff: lrf"
Remove before pushing to production!
というコメントがあった。

2 Remove before pushing to production!
「本番環境に反映する前に削除してください」
と書かれているので、その上の行に書かれているものが
ヒントになるだとうと予測する。

しかし、文章が暗号化されており解読不能なため、
今回はrot13を用いて、文章を解読する。

rot13.comによって、
NOTE: Jack - temporary bypass: use header "X-Dev-Access: yes"
という文章が得られた。

3. ログイン画面に戻りデベロッパーツールを開く

提示されてあるメアドを入力し、任意のpassを入力しする。


ログインボタンを押すとエラー文が表示される

エラー表示されたものを見ると何のメアドとパスを入力したのかわかる

先程解読した文章にnameとvalueの情報を得られたので、
それらを入力することでログインが可能となる。

Discussion