mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Some more updates for an Issue #295
This commit is contained in:
parent
74552bea87
commit
96e5d5d178
Binary file not shown.
BIN
extra/shellcodeexec/linux/shellcodeexec.x32_
Normal file
BIN
extra/shellcodeexec/linux/shellcodeexec.x32_
Normal file
Binary file not shown.
Binary file not shown.
BIN
extra/shellcodeexec/linux/shellcodeexec.x64_
Normal file
BIN
extra/shellcodeexec/linux/shellcodeexec.x64_
Normal file
Binary file not shown.
Binary file not shown.
BIN
extra/shellcodeexec/windows/shellcodeexec.x32.exe_
Normal file
BIN
extra/shellcodeexec/windows/shellcodeexec.x32.exe_
Normal file
Binary file not shown.
|
@ -537,9 +537,9 @@ class Metasploit:
|
||||||
self.shellcodeexecLocal = os.path.join(paths.SQLMAP_EXTRAS_PATH, "shellcodeexec")
|
self.shellcodeexecLocal = os.path.join(paths.SQLMAP_EXTRAS_PATH, "shellcodeexec")
|
||||||
|
|
||||||
if Backend.isOs(OS.WINDOWS):
|
if Backend.isOs(OS.WINDOWS):
|
||||||
self.shellcodeexecLocal = os.path.join(self.shellcodeexecLocal, "windows", "shellcodeexec.x%s.exe" % "32")
|
self.shellcodeexecLocal = os.path.join(self.shellcodeexecLocal, "windows", "shellcodeexec.x%s.exe_" % "32")
|
||||||
else:
|
else:
|
||||||
self.shellcodeexecLocal = os.path.join(self.shellcodeexecLocal, "linux", "shellcodeexec.x%s" % Backend.getArch())
|
self.shellcodeexecLocal = os.path.join(self.shellcodeexecLocal, "linux", "shellcodeexec.x%s_" % Backend.getArch())
|
||||||
|
|
||||||
__basename = "tmpse%s%s" % (self._randStr, ".exe" if Backend.isOs(OS.WINDOWS) else "")
|
__basename = "tmpse%s%s" % (self._randStr, ".exe" if Backend.isOs(OS.WINDOWS) else "")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user