Ethernaut 10 ReEntrancy Foundry Solution 2024 Walkthrough Tutorial
Johnny Time
š Ethernaut 10 ReEntrancy Foundry Solution - 2024 Walkthrough Tutorial š
Welcome back, hackers! š In today's tutorial, we're diving into the Ethernaut 10 ReEntrancy challenge. Get ready to master the art of exploiting vulnerabilities using Foundry.
š 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
š Understanding the Challenge: In Ethernaut 10 - ReEntrancy, our mission is clear: steal all the ETH from the vulnerable contract. We'll analyze the Reentrancy smart contract, understanding its structure and the lurking dangers of Reentrancy attacks in Solidity contracts.
šµļøāāļø The Reentrancy Vulnerability Explained: Dive deep into the mechanics of this vulnerability, where an attacker exploits a contract's state to repeatedly drain its balance.
š” Preventing Reentrancy Attacks: The "checks-effects-interactions" pattern is a crucial practice to thwart reentrancy attacks. We'll learn how to secure your contracts against reentrancy exploiters.
š Congratulations! š„³ By the end of this tutorial, you'll conquer the 10th Ethernaut ReEntrancy challenge!
Subscribe to the YouTube channel for a continuous flow of knowledge, Stay tuned for the next tutorial! See you in the blockchain security playground! š«”
See you in the next video! š
Timestamps 00:00 Intro 00:55 Reentrancy Challenge Overview 02:00 The Reentrnacy Smart Contract 05:00 Reentrancy Attack Explained 08:25 CEI (Check Effects Interactions) Explained 09:13 Challenge Solution (with Foundry) 18:25 Submitting the Reentrnacy Solution ... https://www.youtube.com/watch?v=e0scQF7EtBM
183672287 Bytes