Smart contract hacker got hacked by honeypot contract!

in #ethereum6 years ago

A brilliant "honeypot" smart contract that appears to have a re-entrancy error. This is a classic error that can be made that a hacker would try to exploit. And of course a honeypot is designed to look like a vulnerable system but is actually a trap, or is gathering data about the attacker.

But in this case, the smart contract called another contract's function that just looped and ate up all the gas. This guy was shocked, because he tested his exploit on testnet, and tried again losing yet another 1 ETH. This story is just a classic!

https://www.reddit.com/r/ethdev/comments/7x5rwr/tricked_by_a_honeypot_contract_or_beaten_by/
serveimage.jpg

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.029
BTC 65791.75
ETH 3465.64
USDT 1.00
SBD 2.68