def __init__(self): super().__init__() # Assembler and disassembler instances self.__asm = AssemblerWrapper(X86_32) self.__dsm = DisassemblerWrapper(X86_32) # Syscalls handlers self.__linuxsys = LinuxSysHandler() self.mode = ASM_MODE self.os = LINUX_OS self.pexec = self.__asm self.create_handlers()
def __init__(self): super().__init__() # Assembler and disassembler instances self.__asm = AssemblerWrapper(X86_32) self.__dsm = DisassemblerWrapper(X86_32) # Syscalls handlers self.__linuxsys = LinuxSysHandler() # Shellcodes reciever self.__shellstorm = ShellStormFetcher() self.mode = ASM_MODE self.os = LINUX_OS self.pexec = self.__asm self.__prompt_init() self.__create_handlers()