Created
June 7, 2019 14:11
-
-
Save fiersk17/c7c5878e701d165e66141e6119c482bf to your computer and use it in GitHub Desktop.
#JAVASC
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
contract Contract { | |
function main() { | |
memory[0x40:0x60] = 0x80; | |
var var0 = msg.value; | |
if (var0) { revert(memory[0x00:0x00]); } | |
var0 = 0x0029; | |
var var1 = msg.sender; | |
func_002E(var1); | |
memory[0x00:0x07ab] = code[0x7e:0x0829]; | |
return memory[0x00:0x07ab]; | |
} | |
function func_002E(var arg0) { | |
var temp0 = memory[0x40:0x60]; | |
memory[temp0:temp0 + 0x20] = 0x6f72672e7a657070656c696e6f732e70726f78792e6f776e6572000000000000; | |
var temp1 = memory[0x40:0x60]; | |
storage[keccak256(memory[temp1:temp1 + (temp0 + 0x1a) - temp1])] = arg0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment