Ethernaut CTF - Preservation (Level 16)
D-Squared
View ChannelAbout
Day Job: Professional AI Whisperer at Gradient Labs | Side Hustle: Showing you the AI automation tricks
Latest Posts
Video Description
Get the free 30-day AI Mastery series 💌: https://insights.gradientlabs.co/ Work with me 💪: https://offerings.gradientlabs.co/ Next up! Level 16 - Preservation In this CTF series, we’re going to learn more about the practical side of smart contract auditing and security. If you’re interested in more/similar content, checkout my channel or website below. My digital dumping ground - dylandavis.net Additional Resources Ethernaut CTF - https://ethernaut.openzeppelin.com/ Web3 Bchain Dev - https://youtu.be/_YkulBTqIcQ 0xSage solution - https://medium.com/coinmonks/ethernaut-lvl-16-preservation-walkthrough-how-to-inject-malicious-contracts-with-delegatecall-81e071f98a12 Zuhaib solution - https://zuhaibmd.medium.com/ethernaut-level-16-preservation-2e37201cc56d Slot Storage in Privacy level 12 - https://youtu.be/Gpz8VbbbDfM?t=347 getStorageAt from Web3 JS - https://web3js.readthedocs.io/en/v1.5.2/web3-eth.html?highlight=get%20storage#getstorageat Smart Contract Dev storage explanation - https://youtu.be/Gg6nt3YW74o Libraries within Solidity - https://www.geeksforgeeks.org/solidity-libraries/ Delegate call explained by Smart Contract Dev - https://youtu.be/uawCDnxFJ-0 Unsafe Delegate Call Part 1 - https://youtu.be/bqn-HzRclps Unsafe Delegate Call Part 2 - https://youtu.be/oinniLm5gAM Delegatecall explained (blog) - https://medium.com/coinmonks/delegatecall-calling-another-contract-function-in-solidity-b579f804178c Delegatecall Solidity Docs - https://docs.soliditylang.org/en/v0.4.21/introduction-to-smart-contracts.html#delegatecall-callcode-and-libraries Timeline 00:00 - Intro to challenge 03:10 - Notes Review (main takeaway) 05:31 - Notes Review (slot storage) 09:10 - Notes Review (delegatecall) 12:10 - Code Review (target) 17:10 - Code Review (attack) 19:28 - Solving Challenge 24:48 - Outro
Level Up Your Crypto Tools
AI-recommended products based on this video

Anker 332 USB-C Hub (5-in-1) with 4K HDMI Display, 5Gbps - and 2 5Gbps USB-A Data Ports and for MacBook Pro, MacBook Air, Dell XPS, Lenovo Thinkpad, HP Laptops and More

USB C Docking Station Dual Monitor for Dell Hp,15-in-1 Laptop Docking Station 3 Monitors USB C Hub with Dual 4K HDMI,8K DP,Button,PD Charging,Ethernet,6 USB A&C,SD/TF, Audio USB-C Multiport Adapter

Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Garden Starter Kit Growing Kit Including Wooden Box Burlap Pots Soil Discs Gardening Tools Unique Easter Birthday Christmas Gift Ideas for Women Mom

Bonsai Starter Kit – 1x Bonsai Tree | Complete Indoor Starter Kit for Growing Plants with Bonsai Seeds, Tools & Planters – Gardening Gifts for Women & Men

Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers


