[日本語] [English]

readFlag1

以下の問題文が与えられた。

The address of my new smart contract is 0xf0674CD7D1C0c616063a786E7d1434340E09BadD, the flag is inside it, and the code is published on Etherscan. Important: This smart contract is on Ropsten

「smart contract Ropsten」でググると、以下のページが見つかった。

How To Deploy And Test Your Smart Contracts On Ropsten TestNet Using Metamask And Remix

このページ内の「Ropsten」というリンクから、以下のページを開いた。

TESTNET Ropsten (ETH) Blockchain Explorer

このサイトで指定のアドレスで検索すると、以下のページが出てきた。

readFlag1 | 0xf0674CD7D1C0c616063a786E7d1434340E09BadD

ページ内のContractタブを開き、出てきたContract Source Codeの中にflagが書かれていた。

flag{etherscan_S0urc3_c0de}

writeup by MikeCAT

PBjar CTF