Last active
April 13, 2023 10:27
-
-
Save pradyuman-verma/d76ab510335cdc9eb7f40f1dee78e43e to your computer and use it in GitHub Desktop.
evm-puzzle-007: RULES - 1. The puzzle has more than one solution | 2. All the values should be non zero | 3. You need to hack it such a way it satisfies every calldata passed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GASPRICE | |
CALLDATASIZE | |
CALLVALUE | |
PUSH2 0x3E8 | |
PUSH0 | |
CALLDATALOAD | |
PUSH1 0xf4 | |
SHR | |
MUL | |
PUSH0 | |
CALLDATALOAD | |
PUSH1 0xf4 | |
SHR | |
ADD | |
DIV | |
DIV | |
DIV | |
PUSH0 | |
CALLDATALOAD | |
PUSH1 0xf4 | |
SHR | |
EQ | |
PUSH1 0x1f // JUMPDEST OFFSET | |
JUMPI | |
REVERT | |
JUMPDEST | |
PUSH0 | |
ORIGIN | |
RETURN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment