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?

【TryHackMe】TryHeartMe:Walkthrough

0
Posted at

概要

TryHackMe「TryHeartMe」のWalkthroughです。

Task1

Q1.What is the flag?

5000番ポートにアクセスします。

image.png

アカウント登録をしログインに成功しました。

image.png

ログイン後のCookieにセッションIDとしてJWTの値が入っています。

image.png

デコードするとユーザロールが適用されていると分かりました。

image.png

試しにrole:adminとしてJWTを改変してみます。

image.png

改変したJWTをCookieにセットすると、Adminでログイン出来ました。

image.png

Open ValenFlagを押下します。

image.png

Buyを押下するとフラグを入手できました。

image.png

A.THM{v4l3nt1n3_jwt_c00k13_t4mp3r_4dm1n_sh0p}

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?