githubEdit

Level 14 - Gatekeeper 2 ⏺⏺⏺

Level Setup

circle-info

This gatekeeper introduces a few new challenges. Register as an entrant to pass this level.

Things that might help:

  • Remember what you've learned from getting past the first gatekeeper - the first gate is the same.

  • The assembly keyword in the second gate allows a contract to access functionality that is not native to vanilla Solidity. See Solidity Assemblyarrow-up-right for more information. The extcodesize call in this gate will get the size of a contract's code at a given address - you can learn more about how and when this is set in section 7 of the yellow paperarrow-up-right.

  • The ^ character in the third gate is a bitwise operation (XOR), and is used here to apply another common bitwise operation (see Solidity cheatsheetarrow-up-right). The Coin Flip level is also a good place to start when approaching this challenge.

Level Contract

Exploit

Submit instance... 🥳

Completion Message

circle-info

Way to go! Now that you can get past the gatekeeper, you have what it takes to join theCyberarrow-up-right, a decentralized club on the Ethereum mainnet. Get a passphrase by contacting the creator on redditarrow-up-right or via emailenvelope and use it to register with the contract at gatekeepertwo.thecyber.etharrow-up-right (be aware that only the first 128 entrants will be accepted by the contract).

Notes

Last updated