Skip to content

Instantly share code, notes, and snippets.

View gaasedelen's full-sized avatar

gaasedelen

View GitHub Profile
import os
import sys
import struct
import binaryninja
def touch(fname, times=None):
with open(fname, 'a'):
os.utime(fname, times)
#-------------------------------------------------------------------
@gaasedelen
gaasedelen / SagProxy.sol
Created May 16, 2018 14:53
SAG Proxy Contract Source (DEFCON Quals 2018)
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;