How did the DAO hack happen and what exactly did the programmers of the DAO do wrong? In this video we're going to learn that by coding our own vulnerable fundraiser and draining its funds with a malicious wallet that we will write as well.
This video is for educational purposes only and is made for Solidity developers who would like to understand how these hacks happen in order to build better and more secure smart contracts.
The DAO vulnerability has to do with how one can recursively call functions when a send operation is executed. In this video we're not using ether but only sending "numbers", however the principle still holds and the attack can be understood by watching this video.
I think it's extremely important for all Solidity developers to udnerstand these Ethereum hacks and be aware how their smart contracts can be hacked if one if not careful.