Exemple #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
Exemple #2
0
 def __init__(self, **kwargs):
     self._tls = _Tls_DictStack(_defaultdict(PwnContext.defaults))
     self.update(kwargs)
Exemple #3
0
 def __init__(self, symbols={}, structs={}):
     self._tls = _Tls_DictStack(_defaultdict(SymbolContext.defaults))
     self.symbols = symbols
     self.structs = structs