Skip to content

Instantly share code, notes, and snippets.

@vasa-develop
Created July 21, 2018 18:42
Show Gist options
  • Save vasa-develop/80b9339c7cc9bf6bb332c175ec9444e1 to your computer and use it in GitHub Desktop.
Save vasa-develop/80b9339c7cc9bf6bb332c175ec9444e1 to your computer and use it in GitHub Desktop.
DO NOT USE THIS CODE. THIS CODE IS USED TO DEMONSTRATE A VULNERABILITY IN A SOLIDITY CODE.
contract Blank {
event Print(string text);
function () {
emit Print("Here");
//put malicious code here and it will run
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment