Ethernaut CTF - Shop (Level 21)

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 14

  • @patricksfeir6947
    @patricksfeir6947 2 роки тому +1

    Thank you for those amazing video. It's a lot easier with good explanation and an awesome teacher !!!

    • @d-squared70
      @d-squared70  2 роки тому

      Thank you for the kind words. :)

  • @shivbhonde2389
    @shivbhonde2389 2 роки тому

    Tysm !! Started following it and I am loving this series ! Please don't stop 🙌

    • @d-squared70
      @d-squared70  2 роки тому

      Thank you so much for watching and I'm glad you're able to take something away 😸

  • @vedantsharma2676
    @vedantsharma2676 2 роки тому

    Awesome explanation once again. Thanks a ton Dylan!

    • @d-squared70
      @d-squared70  2 роки тому

      Thank you for following along. :)

  • @SuperJackdrummer
    @SuperJackdrummer 2 роки тому

    thank you, you're the best

    • @d-squared70
      @d-squared70  2 роки тому

      I really appreciate the kind words 😄

  • @gsxrveli
    @gsxrveli 2 роки тому +1

    did you make a backup?? for before the ubuntu update?

    • @d-squared70
      @d-squared70  2 роки тому

      I was able to find an alternative app, but yeah I did backup my partitions :)

  • @kamalchan9756
    @kamalchan9756 Рік тому

    well i solved it but i couldn't understand the point of this challenge so i know that the first mistake is linking the interface with msg.sender and the second mistake is that they should declare _buyer.price() once and store it in variable but you can execute if block only one time bcz isSold after change to true you will never be able to access it again so what is the point if you buy the item with 100 and you can't buy it again with 0 its the exact same as Elevator challenge

  • @wasnyy
    @wasnyy 2 роки тому

    Code->function buy() public{
    shop.buy;
    }
    Error-> contracts/Shop_Attack.sol:14:5: Warning: Function state mutability can be restricted to view
    function buy() public{
    ^ (Relevant source part starts here and spans across multiple lines).
    I did everything same but price didn't change to 0
    what sould I do?

    • @SuperJackdrummer
      @SuperJackdrummer 2 роки тому

      you should call function buy() like this:
      shop.buy();

    • @d-squared70
      @d-squared70  2 роки тому

      @@SuperJackdrummer Thank you for the assist 💗