0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

picoCTF 2018 Logon - Points: 150

Posted at

問題

image.png

解いてみた

パスワードを突破してください的な意味。
リンクに遷移してみます。

image.png

このようなログイン画面。
何も入力せずにSign inボタンを押してみます。

image.png

ログイン成功するとここにflagが表示されそうですね。
と思ったらログイン自体は成功しているのか。。。

ソースを見たところログイン処理をしたときに一度/loginに飛んでるようです。
さっきの画面のURLは/flagになってる。
ということでwiresharkで/loginを見てみます。

image.png

すぐに/flagにリダイレクトしているようです。
Cookieにadmin=Falseと書かれています。
これをTrueにしてみたくなりました。
の前に/flagでこのCookieが使われているか調べてみます。

image.png

使われていますね。
Chromeの拡張機能「EditThisCookie」を使ってFalseをTrueに変えて再度ログイン処理をしてみます。

image.png

やりました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?