Ethernaut Fallback Solution: Foundry Walkthrough
Solve Ethernaut level 1 with Foundry. Take ownership through the receive() function and drain the contract, then see why this bug class still shows up in audits.
Solve Ethernaut level 1 with Foundry. Take ownership through the receive() function and drain the contract, then see why this bug class still shows up in audits.
Solve Ethernaut level 2 with Foundry. A single mistyped character turns the constructor into a public function anyone can call to take ownership.