Skip to content

Latest commit

 

History

History
 
 

02-naive-receiver

Back

A set of challenges to hack implementations of DeFi in Ethereum.

Created by @tinchoabbate


Challenge #2 - Naive receiver

There's a lending pool offering quite expensive flash loans of Ether, which has 1000 ETH in balance.

You also see that a user has deployed a contract with 10 ETH in balance, capable of interacting with the lending pool and receiveing flash loans of ETH.

Drain all ETH funds from the user's contract. Doing it in a single transaction is a big plus ;)

SOLUTION