From f3170e80c18cf5330f0e23863d9e15f395be0ae7 Mon Sep 17 00:00:00 2001 From: n1nj4sec Date: Wed, 6 Jan 2016 18:08:07 +0100 Subject: [PATCH] fix issue #61 --- pupy/modules/persistence.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pupy/modules/persistence.py b/pupy/modules/persistence.py index 1aad0a6a..563ad883 100644 --- a/pupy/modules/persistence.py +++ b/pupy/modules/persistence.py @@ -46,9 +46,9 @@ class PersistenceModule(PupyModule): #generating exe self.info("generating exe ...") if self.client.desc['proc_arch']=="64bit": - exebuff=pupygen.get_edit_pupyx64_exe(host, port, self.client.pupsrv.transport) + exebuff=pupygen.get_edit_pupyx64_exe(self.client.get_conf()) else: - exebuff=pupygen.get_edit_pupyx86_exe(host, port, self.client.pupsrv.transport) + exebuff=pupygen.get_edit_pupyx86_exe(self.client.get_conf()) if args.method=="registry": self.client.load_package("pupwinutils.persistence")