✅Fallout
backdoor
Description
Claim ownership of the contract below to complete this level.
Things that might help:
Solidity Remix IDE
Code Audit
Since Fal1out()
is public, anyone can call it and become the owner of this contract.
Solution
Call Fal1out()
:
Click "Submit instance" and move on to the next level.
Summary
That was silly wasn't it? Real world contracts must be much more secure than this and so must it be much harder to hack them right?
Well... Not quite.
The story of Rubixi is a very well known case in the Ethereum ecosystem. The company changed its name from 'Dynamic Pyramid' to 'Rubixi' but somehow they didn't rename the constructor method of its contract:
This allowed the attacker to call the old constructor and claim ownership of the contract, and steal some funds. Yep. Big mistakes can be made in smartcontractland.
Last updated