You can find questions in here
git clone https://github.com/wuwe1/damn-vulnerable-defi-brownie && cd damn-vulnerable-defi-brownie
# test all questions
brownie test
# test one questions
brownie test -k test_compromised
Put your exploit code in tests/test_*.py
, under the comment # YOUR EXPLOIT GOES HERE
.
You can find the solutions at the spoiler tag.
git clone --branch spoiler https://github.com/wuwe1/damn-vulnerable-defi-brownie