DarkCTF Official Writeup - Secret of the Contract

Secret Of The Contract

Points: 465

Author: Catamob, RDxR10


Ropsten network contains my dark secret. Help us find it. Name of the contract was 0x6e5EA18371748Db7F12A70037d647cDFCf458e45


From the Description, One of the Etherum’s blockchain public network is Ropsten Network.

As its a Ropsten network, TESTNET Ropsten (ETH) Blockchain Explorer this website reads the public information from the ethereum. By searching 0x6e5EA18371748Db7F12A70037d647cDFCf458e45 this contract id will give the history of transaction associated with the contract as below.

Contract 1

By checking the state of the 1st transaction will give you the 1st part of the flag.

Contract 2

>>> bytes.fromhex('3772346e3534633731306e7d')

By checking the 2nd part of the transaction(which is the deploy transaction) in the state change will give you the second part.

Contract 3

>>> bytes.fromhex('6461726B4354467B337468337233756D5F353730723467335F')

Therefore, Combining both will give you the flag.



Author: Mukhilan
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint polocy. If reproduced, please indicate source Mukhilan !