def set_payload(self):
        print "[*] Payload_type", self.payload_type
        if self.payload_type == "shellcode":
            print '[*] Using shellcode payload template' 
            self.payload_loader = win_shellcode.loader
            self.go_payload_loader = go_win_shellcode.loader
            self.payload_imports = go_win_shellcode.imports

        elif self.payload_type == "exe":
            print '[*] Using EXE payload template' 
            self.payload_loader = pe_exe.loader
            self.go_payload_loader = go_memorymodule.loader
            self.payload_imports = go_memorymodule.imports

        elif self.payload_type == "dll_x86":
            # go memory module
            print '[*] Using x86 dll payload template' 
            #self.payload_loader = pe_dll_x86.loader
            self.go_payload_loader = go_memorymodule.loader
            self.payload_imports = go_memorymodule.imports
            
        elif self.payload_type == "dll_x64":
            #self.payload_loader = pe_dll_x64.loader
            # go memory module
            self.go_payload_loader = go_memorymodule.loader
            self.payload_imports = go_memorymodule.imports
            
        elif self.payload_type == "code": # python code
            # python only
            self.payload_loader = code.loader
dataset/ETHPy150Open Genetic-Malware/Ebowla/encryption/otp_key.py/otp_key.set_payload/original