3
3

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.

ksnctf 8 Basic is secure? 50pt

Last updated at Posted at 2018-12-13

問題

image.png

解いてみた

  • タイトル的にBasic認証のIDとpassを考える問題でしょうか。
  • まずはリンク先のpcapファイルをダウンロードしましょう。
  • ダウンロードしたら中身を見てみます。
    • Wireshark使います。

image.png

  • TCPとHTTPのパケットがいくつかあるだけです。
  • HTTPで絞ってみます。

image.png

  • ずいぶん少ない。
  • 手始めに一番最初のパケットを見てみます。

image.png

  • 認証エラーのパケットでした。
  • 2個目のGETを見てみましょう。

image.png

  • Authorization: Basic cTg6RkxBR181dXg3eksyTktTSDhmU0dB ですね。
  • base64を戻す必要があります。

image.png

image.png

3
3
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
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?