Minor bug fix in local shellcodeexec for Windows path

This commit is contained in:
Bernardo Damele 2011-04-25 00:03:12 +00:00
parent e35f25b2cb
commit 98f9f3e774

View File

@ -539,7 +539,7 @@ class Metasploit:
self.shellcodeexecLocal = paths.SQLMAP_SEXEC_PATH self.shellcodeexecLocal = paths.SQLMAP_SEXEC_PATH
if Backend.isOs(OS.WINDOWS): if Backend.isOs(OS.WINDOWS):
self.shellcodeexecLocal += "/windows/shellcodeexec/shellcodeexec.x%s.exe" % Backend.getArch() self.shellcodeexecLocal += "/windows/shellcodeexec.x%s.exe" % Backend.getArch()
else: else:
self.shellcodeexecLocal += "/linux/shellcodeexec.x%s" % Backend.getArch() self.shellcodeexecLocal += "/linux/shellcodeexec.x%s" % Backend.getArch()