How to HACK a smart contract

Поделиться
HTML-код
  • Опубликовано: 1 июл 2024
  • Learn how to hack smart contracts using hardhat, ethers and solidity.
    Code: miguelvieira.io/projects/8kUz...
    Website: miguelvieira.io
    Facebook: / miguelvieiracode
    Instagram: / miguelvieiracode
    Twitter: / miguelvieiradev
    TikTok: / uc7fny1_f5yetq--egioprda
    LinkedIn: / miguelvieiracode
    00:00 Intro
    00:42 The basics
    01:51 Tools
    03:09 Interacting with contracts
    09:22 The Target Contract
    11:28 Exploit 1: Function exposure
    15:09 Exploit 2: Underflows and Overflows
    17:21 Exploit 3: Reentrancy attacks
    22:12 Exploit 4: Authorization Through tx.origin
    25:19 Exploit 5: Storage Collision with Delegate Call
    29:46 The Challenge
  • ХоббиХобби

Комментарии • 22

  • @Guddugamer313
    @Guddugamer313 8 месяцев назад

    Love this

  • @0xLabRat
    @0xLabRat 8 месяцев назад

    Amazing!

  • @petrovi4
    @petrovi4 6 месяцев назад

    Perfect! Thank you!! Looking forward to more videos on the topic.

  • @apreendafacil-jv5hf
    @apreendafacil-jv5hf 7 месяцев назад +1

    ta top amigo.continua o optimo trabalho e bom ver um tuga ao mais alto nivel

  • @BlockchainNinja
    @BlockchainNinja 5 месяцев назад

    great dude

  • @miguelvieiracode
    @miguelvieiracode  9 месяцев назад +8

    Congratulations to the person who managed to hack my contract! Next time, I won't go as easy. Stay tuned for the solution and future challenges! Meanwhile, you can check the exploit transaction here: etherscan.io/tx/0xdf6ba2bce38b479f36a97454c3919150586c5cd1e64effbc3e9f6ae0502e1353

    • @1234kuw
      @1234kuw 9 месяцев назад +1

      i think u already know my answer ? it was your contract and you the one who send the destroy command

  • @IdaWarren-fr7mf
    @IdaWarren-fr7mf 7 месяцев назад

    Awesome

  • @dikejiakumiracle
    @dikejiakumiracle 2 месяца назад

    Can you make another video with easier method?

  • @AdamanteBlockchainGuild
    @AdamanteBlockchainGuild 4 месяца назад

    Bom trabalho...Miguel, seria possivel criares um tutorial em como conseguir rastrear um hacker/scammer nas blockchains através do ip ou outro método que não seja apenas analisando as transacções no blockexplorer? Agradecido

  • @MAHMOUDIBRAHIM-nw7rq
    @MAHMOUDIBRAHIM-nw7rq 7 месяцев назад

    should i have to learn javascript

    • @miguelvieiracode
      @miguelvieiracode  5 месяцев назад

      No. You can do the same with any language. If you like Python you can use web3.py for example, or you can simply do REST calls to any RPC node of the network

  • @youtraders
    @youtraders 3 месяца назад

    Im interested on channel

  • @shutupji
    @shutupji 5 месяцев назад

    Dude you are teaching people to steal!!