The Ethernaut CTF Solutions | 01 - Fallback
Goals
Claim ownership of the given contract;
Reduce its balance to 0.
The Contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract Fallback {
mapping(address => uint256) public contributions;
address public owner;
...
blog.pedrojok.com3 min read