Ethernaut Challenge — Level 6: Delegation
The danger of using delegatecall() inside the fallback() method
Welcome to the 6th level of Ethernaut: Delegation.
This article is part of my Ethernaut Challenge series, in which we go through the 26 levels of the Ethernaut security puzzles together and learn about security and Solidity along the way!
Here is a quick link to the first article if you want to start this game:
Level 6— Delegation
The given source code shows 2 contracts, but the one we can actually play with from the console is the Delegation
one.
Here is the objective:
• Claim ownership of the
Delegation
contract
As for the previous and future articles of this series, take the time to read the contract, and requirements and try to find the solution…