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] CyberHeroes-writeup

Last updated at Posted at 2025-06-19

image.png

ソースコードを見るとjavascriptにユーザー名とパスワードが直書きされています。

const RevereString = str => [...str].reverse().join('');
if (a.value=="h3ck3rBoi" & b.value==RevereString("54321@terceSrepuS"))

RevereStringは文字列を反転させているので54321@terceSrepuSを反転させればパスワードになります。
flagが出ました
image.png

flag{edb0be532c540b1a150c3a7e85d2466e}

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?