Skip to content

青翼鳥技術筆記

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

分類: Ethernaut全答案及解說

Ethernaut全答案及解說

21. Shop

本關原理跟11. Elevator相差不大,關卡合約中分別呼叫了兩次Buyer合約的price函數,只要第二次… Continue reading 21. Shop

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

20. Denial

本關需要阻止其他人從fund中withdraw以太幣,亦即要阻止withdraw函數的運行。 觀看關卡代碼,可… Continue reading 20. Denial

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

19. Alien Codex

本關重點在於了解storage中的array underflow及如何計算array中元素於storage中的… Continue reading 19. Alien Codex

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

18. MagicNumber

本關討論的知識有點深入了,要求以10 opcodes以內編寫合約並發佈,再以合約地址為參數呼叫關卡合約的set… Continue reading 18. MagicNumber

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

17. Recovery

本關要求找回SimpleToken的地址。 最簡單就是打開etherscan直接看交易資料,直接就可以看到以太… Continue reading 17. Recovery

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

16. Preservation

本關的關卡合約錯誤調用delegatecall函數。因delegatecall函數多數是為了方便調用Libra… Continue reading 16. Preservation

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

15. Naught Coin

本關關卡合約中的鎖定方法為override ERC20中的transfer函數,合約直接繼承了OpenZepp… Continue reading 15. Naught Coin

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

14. Gatekeeper Two

跟上一關一樣是通過三個modifier的gate,滿足三個要求。 gateOne: 只需以另一合約呼叫關卡合約… Continue reading 14. Gatekeeper Two

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

13. Gatekeeper One

本關要通過三個modifier的gate,代表呼叫合約函數必須滿足三個要求。 gateOne: 只需以另一合約… Continue reading 13. Gatekeeper One

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

12. Privacy

本關跟第8關Vault十分相似,都是從區塊中直接讀取資料,但需要對以太坊數據的排列更熟悉。多了解對編寫合約節省… Continue reading 12. Privacy

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

Posts pagination

Page 1 ... Page 3 Older posts

近期文章

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

分類

  • Ethernaut全答案及解說

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

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