[Ethernaut] 8. Vault
1. 문제 아래의 금고를 해제하라! // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Vault { bool public locked; bytes32 private password; constructor(bytes32 _password) { locked = true; password = _password; } function unlock(bytes32 _password) public { if (password == _password) { locked = false; } } } 2. 해법 TESTNET Sepolia (ETH) Blockchain Explorer Etherscan allows you to explore and search t..
Solidity/Hacking
2024. 1. 18. 12:00