Skip to content

Instantly share code, notes, and snippets.

@rudSarkar
Forked from seresistvanandras/OBWS_2.md
Created May 26, 2022 11:51
Show Gist options
  • Save rudSarkar/87fda67b890b4eb4574b49b154148417 to your computer and use it in GitHub Desktop.
Save rudSarkar/87fda67b890b4eb4574b49b154148417 to your computer and use it in GitHub Desktop.
Hacking smart contracts for fun and profit

Hacking smart contracts for fun and profit

Description of the game

The goal of the game to break as many contracts as possible! Note: one of these contracts is a HONEYPOT! BE CAREFUL!!

Claim your Ropsten test ether here!

The contracts you need to break and their addresses:

Easy peasy

Are you kidding me? Can't believe that this happened on the mainnet.

Ropsten address: 0xfbab9990ed620a4dac7be1be0b6ca9a5aafcb4ba or click here

May the force be with you!

This contract simply can be forced to accept ether...hmmm?!! The goal of this challenge to make a successful transaction to this contract i.e. by calling the withdraw transaction without making it fail.

Ropsten address 0x21Fa0B76938BD30eE0771a4334a31fE43634b7a9 or click here

Multiplicator

This looks damn simple, right? Oh damn it! What the hell is going on here?

Ropsten address: 0xD95E4286A1E22538F7f565fe0deD52d2F9F0a173 or click here

Venezuela

The goal of this level is for you to hack the basic token contract below.

You are given 20 tokens to start with and you will beat the level if you somehow manage to get your hands on any additional tokens. Preferably a very large amount of tokens.

Ropsten address: 0x5254a7e6b197546de7d39772805547e9da07c0e3 or click here

Telephone

Claim ownership of the contract below to complete this level.

Ropsten address: 0x4c59fb36d6d30f8f742219ce9ee1a716364659a2 or click here

Again and again and again

The goal of this level is for you to steal all the funds from the contract.

Ropsten address: 0xef09832174ccef6e0cd24438ca4b2071c21a330c or click here

Lottery

Trust me it is not that hard to win the lottery! Especially if it is run on a blockchain.

Ropsten address: 0x9ed68cc00f0dd066319db6ffb9497bbd6154c0eb or click here.

Elevator

This elevator won't let you reach the top of your building. Right?

Things that might help:

  • Sometimes solidity is not good at keeping promises.
  • This Elevator expects to be used from a Building.

Ropsten address: 0x02fA5E09BF8ad67D33d453E3748af0a890d90394 or click here

Vault

Unlock the vault You might need truffle for solving this challenge!

Ropsten address: 0xc142c149bD9cee64950EF8651A435eAEe41019AF or click here

Good luck! Go for it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment