Exemplo n.º 1
0
    def __init__(self, binary='', libc='', io_sleep=0):
        ''' assign binary and libc at first or later , path or ELF supported '''
        self._tls = _Tls_DictStack(_defaultdict(PwnContext.defaults))
        self.binary = binary
        self.libc = libc

        self.io_sleep = io_sleep
Exemplo n.º 2
0
 def __init__(self, **kwargs):
     self._tls = _Tls_DictStack(_defaultdict(PwnContext.defaults))
     self.update(kwargs)
Exemplo n.º 3
0
 def __init__(self, symbols={}, structs={}):
     self._tls = _Tls_DictStack(_defaultdict(SymbolContext.defaults))
     self.symbols = symbols
     self.structs = structs