1. 문제 설명The contract below represents a very simple game: whoever sends it an amount of ether that is larger than the current prize becomes the new king. On such an event, the overthrown king gets paid the new prize, making a bit of ether in the process! As ponzi as it gets xD Such a fun game. Your goal is to break it. When you submit the instance back to the level, the level is going to reclaim..
1. 문제 설명Unlock the vault to pass the level! // SPDX-License-Identifier: MITpragma 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; } }} 해당 컨트랙트의 locke..
1. 문제 설명Some contracts will simply not take your money ¯\\_(ツ)_/¯ The goal of this level is to make the balance of the contract greater than zero. Things that might help: - Fallback methods - Sometimes the best way to attack a contract is with another contract. - See the "?" page above, section "Beyond the console" // SPDX-License-Identifier: MITpragma solidity ^0.8.0;contract Force { /* ..
1. 문제 설명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 // SPDX-License-Identifier: MITpragma solidity ^..
1. 문제 설명The goal of this level is for you to hack the basic token contract below. You are given 20 tokens to start with and you will beat the level if you somehow manage to get your hands on any additional tokens. Preferably a very large amount of tokens. Things that might help: - What is an odometer? // SPDX-License-Identifier: MITpragma solidity ^0.6.0;contract Token { mapping(address => ui..
Claim ownership of the contract below to complete this level. Things that might help - See the "?" page above, section "Beyond the console" 해당 컨트랙트의 소유권을 빼앗으면 이번 레벨을 통과할 수 있다. // SPDX-License-Identifier: MITpragma solidity ^0.8.0;contract Telephone { address public owner; constructor() { owner = msg.sender; } function changeOwner(address _owner) public { if (tx.origin !..
This is a coin flipping game where you need to build up your winning streak by guessing the outcome of a coin flip. To complete this level you'll need to use your psychic abilities to guess the correct outcome 10 times in a row. Things that might help- See the "?" page above in the top right corner menu, section "Beyond the console"section "Beyond the console" - https://ethernaut.openzeppelin.c..
Claim ownership of the contract below to complete this level. Things that might help- Solidity Remix IDEDifficulty: ★☆☆☆☆아래의 컨트랙트의 소유권을 가져오면 되는 문제이다.(Remix IDE라는 것이 도움을 줄 수 있을 것이라고 한다) // SPDX-License-Identifier: MITpragma solidity ^0.6.0;import "openzeppelin-contracts-06/math/SafeMath.sol";contract Fallout { using SafeMath for uint256; mapping(address => uint256) allocations; address ..
Look carefully at the contract's code below.You will beat this level if1. you claim ownership of the contract2. you reduce its balance to 0 Things that might help- How to send ether when interacting with an ABI- How to send ether outside of the ABI- Converting to and from wei/ether units (see help() command)- Fallback methodsDifficulty: ★☆☆☆☆해당 컨트랙트의 소유권을 획득하고 그것의 잔고를 0으로 만들어야 하는 문제이다. // SPDX-..
https://ethernaut.openzeppelin.com/ https://ethernaut.openzeppelin.com/ ethernaut.openzeppelin.com이더넛(Ethernaut)이란 Web3 워게임 사이트에서 공부를 시작하였고 문제 풀이를 꾸준히 포스팅해보도록 하겠다.This level walks you through the very basics of how to play the game.Difficulty: ☆☆☆☆☆ 우선 브라우저의 콘솔을 열어 컨트랙트와 통신해야 하는 것으로 보인다. player의 주소와 getBalance() 함수로 player의 잔고도 확인할 수 있다. 문제에서 제시해준 대로 contract.info()를 입력해보겠다.info() 함수를 호출하니 위와 같은..
- Total
- Today
- Yesterday
- forensic
- solidity
- blockchain
- web3
- 웹해킹
- Los
- YISF
- 파이썬
- Write up
- 이세돌
- ctftime
- 코딩테스트
- 디지털 포렌식
- 워게임
- Ethernaut
- Lord of SQL injection
- smart contract
- CTF
- writeup
- Python
- misc
- Ethereum
- 이더넛
- 알고리즘
- 프로그래머스
- Crypto
- 정렬
- 오블완
- 티스토리챌린지
- 디스코드 봇
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |