Ethereum $53M DAO HACK - Bad Code Explained Part 1 - Programmer explains

in #blockchain7 years ago

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.

JOIN SLACK COMMUNITY
http://slack-invite-ivan-on-tech.herokuapp.com

https://steemit.com/@ivanli

Thanks for watching guys, if you'd like to support me and donate to the channel, here are my addresses:

💎 ETH 0x27F80bc928aB65B499514D9a429249F55849fc75
💎 LTC LWzA2kd6PB3niQcegAmJbTTpE5ovf812Mj
💎 BTC 1QLBCmPsrDS8YHe5AApPyFsHFnvPsTenj4
💎 DASH XfX56mNDawvmxxWv3nF9Ev93W4MsmCbeXp

ESSENTIAL CRYPTO RESOURCES

♥ Recommended hardware wallet LEDGER NANO S https://www.ledgerwallet.com/r/4607
♥ Buy and sell cryptocurrencies here https://www.coinbase.com/join/529bab0ab08ded7080000019

Sort:  

Great post! I found you on here from your video serious on EOS. Followed you and looking forward to more of these informative cryptocurrency articles and videos.

@jeremycrow got you a $0.86 @minnowbooster upgoat, nice!
@jeremycrow got you a $0.86 @minnowbooster upgoat, nice! (Image: pixabay.com)


Want a boost? Click here to read more!

Hey! @ivanli we've featured you and a few others on the latest episode of "Why This Crypto"! ^_^ really hope you enjoy Ivan!

Webp.net-gifmaker (2).gif

https://steemit.com/eos/@vizualsamuri/eos-why-this-crypto-ep-5-2017728t13204320z

wow thanks man :)

For sure! :)

good explanation. My own startup story
https://steemit.com/life/@sanees/my-startup-journey-part1

You're great! Thanks for this comprehensive explanation...

solid per usual!

Cheesus! it was hacked so easily with like 4 lines of code!

Hi @ivanli, I'm new here on Steemit (just joined today), but I've been following your YouTube channel for a few weeks now, and wanted to thank you for the good work you are doing to educate the public on blockchain technology and cryptocurrencies.

I work in the software development industry and have found your videos to be a go-to resource for a developer's point of view on this new technology.

Your efforts are very much appreciated, please keep it up!