Level 6 - Delegation ⏺⏺
Level Setup
Level Contract
Exploit
The contract forwards any unmatched function calls through to the Delegate
contract through the fallback()
function. As pwn()
is only on the Delegate
contract, it's as simple as calling pwn()
and having it execute the function on the Delegate
instead of the Delegation
contract.
Call
pwn()
.
Submit instance... 🥳
Completion Message
Notes
delegatecall in Solidity
Last updated