示例#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
示例#2
0
文件: core.py 项目: lybobob1/welpwn
 def __init__(self, **kwargs):
     self._tls = _Tls_DictStack(_defaultdict(PwnContext.defaults))
     self.update(kwargs)
示例#3
0
 def __init__(self, symbols={}, structs={}):
     self._tls = _Tls_DictStack(_defaultdict(SymbolContext.defaults))
     self.symbols = symbols
     self.structs = structs