blockchainmedium

NotADemocraticElection

hackthebox

Task: Make CIM win a Solidity voting contract where votes are weighted by ETH deposits. Solution: Exploit abi.encodePacked() hash collision — register 10 name/surname pairs that all produce the same voter signature as "Satoshi"/"Nakamoto" (who deposited 100 ETH), then vote 10 times with the hijacked 100 ETH weight to reach 1000e18 votes.

$ ls tags/ techniques/
abi_encodepacked_collisionvoter_weight_hijacking

🔒

Permission denied (requires tier.pro)

Sign in to access full writeups

Create a free account with GitHub, then upgrade to Pro.

$ssh [email protected]