Skip to content

青翼鳥技術筆記

  • Home
  • Solidity
    • Ethernaut全答案及解說

11. Elevator

本關的關卡合約以msg.sender作為Building合約,即是Building合約現在是可以隨便寫了。 那… Continue reading 11. Elevator

Published 21/02/2021
Categorized as Ethernaut全答案及解說

10. Re-entrancy

Re-entrancy attack可以說是其中一種最常見的攻擊了,引起過巨額的損失,連DeFi界龍頭UniS… Continue reading 10. Re-entrancy

Published 21/02/2021
Categorized as Ethernaut全答案及解說

9. King

本關是一個模擬的遊戲,要求玩家把遊戲中的國王寶座強佔,強制令任何人都不能搶回國王寶座來中止遊戲。 觀看合約代碼… Continue reading 9. King

Published 21/02/2021
Categorized as Ethernaut全答案及解說

8. Vault

本關看一下合約代碼就很好理解,就是要取得合約的password的值。雖然password是一個private,… Continue reading 8. Vault

Published 20/02/2021
Categorized as Ethernaut全答案及解說

7. Force

本關基本上不是很了解以太坊內部機制的很難一時之間想到答案,但要是知道答案了就很簡單,就是使用selfdestr… Continue reading 7. Force

Published 20/02/2021
Categorized as Ethernaut全答案及解說

6. Delegation

本關主要難點在於使用底層msg.data呼叫pwn函數,以bytes來組成一個指定的函數呼叫。我們知道智能合約… Continue reading 6. Delegation

Published 20/02/2021
Categorized as Ethernaut全答案及解說

5. Token

本關重點在uint underflow的處理上,我們可以看到transfer函數的require檢查代碼: 由… Continue reading 5. Token

Published 19/02/2021
Categorized as Ethernaut全答案及解說

4. Telephone

本關主要是為了指出tx.origin跟msg.sender的分別,當以智能合約呼叫智能合約時,msg.send… Continue reading 4. Telephone

Published 19/02/2021
Categorized as Ethernaut全答案及解說

3. Coin Flip

從本關開始就需要用到智能合約的編寫跟Remix IDE了,預設闖關者已有編寫簡單智能合約的能力,自此開始對So… Continue reading 3. Coin Flip

Published 19/02/2021
Categorized as Ethernaut全答案及解說

2. Fallout

本關在現在看來是有點不合時代了。隱約記得以前的Solidity是跟Java相近,以跟合約同名的函數作const… Continue reading 2. Fallout

Published 19/02/2021
Categorized as Ethernaut全答案及解說

Posts pagination

Newer posts Page 1 Page 2 Page 3 Older posts

近期文章

  • 21. Shop
  • 20. Denial
  • 19. Alien Codex
  • 18. MagicNumber
  • 17. Recovery

分類

  • Ethernaut全答案及解說

聯絡 / 合作 / 接案 : [email protected]

  • Email
青翼鳥技術筆記
Proudly powered by WordPress.