Ethernaut 7 "Force" Foundry Solution! Full Walkthrough Tutorial 2023
Johnny Time
Ethernaut 7 Force Solution with Foundry 2023
π Prerequisites π
Before we start, make sure you've completed these prerequisites:
Watch the first video in our series on how to get started with Ethernaut and set up your Foundry environment for tackling challenges: https://www.youtube.com/watch?v=UWy-CcnulCA&list=PLKXasCp8iWpjYKwk0hcdVDVZlpW_NGEYS
Clone the Ethernaut Foundry Solutions Repository on GitHub (don't forget to leave a star π): https://github.com/RealJohnnyTime/ethernaut-foundry-solutions-johnnytime
π¨βπ» Become a Certified Smart Contract Hacker π©βπ»
If you're looking to turn Smart Contract Hacking into a career, check out our full Smart Contract Hacking Course. Gain in-depth knowledge, practice with hands-on exercises, and receive an official Smart Contract Hacker certificate, use the following discount link:
https://johnnytime.xyz/smart-contract-hacker
π₯In this video, we cover:
- Setting up your local environment for Ethernaut and Foundry.
- Analyzing the vulnerable Force smart contract.
- Understanding how selfdestruct opcode works and how we can take advantage of it to force send ETH to a contract that doesn't allow ETH payments.
- Solving the Force challenge step by step
π¨ Subscribe, hit the notification bell! If you enjoy this video, don't forget to smash that like button and share it with your fellow blockchain enthusiasts.
See you in the next video! π
Timestamps 00:00 Intro 01:12 Force Challenge Overview 02:50 Setting Up Our Foundry Environment 03:19 Solidity Self-Destruct Explained 04:50 Challenge Solution 10:20 Summary ... https://www.youtube.com/watch?v=m4jxsMp29aY
126225549 Bytes