Skip to content

Commit 29b5115

Browse files
committed
Minor bug fix
1 parent 9d996c0 commit 29b5115

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

plugins/generic/takeover.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,9 @@ def osPwn(self):
198198
exitfunc="process"
199199

200200
self.createMsfShellcode(exitfunc=exitfunc, format="raw", extra="BufferRegister=EAX", encode="x86/alpha_mixed")
201-
self.uploadShellcodeexec()
201+
202+
if not goUdf:
203+
self.uploadShellcodeexec()
202204

203205
if Backend.isOs(OS.WINDOWS) and conf.privEsc:
204206
if Backend.isDbms(DBMS.MYSQL):

0 commit comments

Comments
 (0)