Skip to content

Instantly share code, notes, and snippets.

View gaasedelen's full-sized avatar


View GitHub Profile
gaasedelen / SagProxy.sol
Created May 16, 2018 14:53
SAG Proxy Contract Source (DEFCON Quals 2018)
View SagProxy.sol
pragma solidity ^0.4.17;
import "./Sag.sol";
contract SagProxy {
event PrizeRequest(bytes32 msgHash, uint8 v, bytes32 r, bytes32 s);
event PrizeReady(address winner, bytes prize);
Sag private sag;
import os
import sys
import struct
import binaryninja
def touch(fname, times=None):
with open(fname, 'a'):
os.utime(fname, times)