mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor bug fix in local shellcodeexec for Windows path
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user