Skip to content

Commit 96e5d5d

Browse files
committed
Some more updates for an Issue sqlmapproject#295
1 parent 74552be commit 96e5d5d

File tree

7 files changed

+2
-2
lines changed

7 files changed

+2
-2
lines changed
-3.43 KB
Binary file not shown.
1.82 KB
Binary file not shown.
-5.04 KB
Binary file not shown.
2.03 KB
Binary file not shown.
-6.5 KB
Binary file not shown.
3.29 KB
Binary file not shown.

lib/takeover/metasploit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,9 +537,9 @@ def uploadShellcodeexec(self, web=False):
537537
self.shellcodeexecLocal = os.path.join(paths.SQLMAP_EXTRAS_PATH, "shellcodeexec")
538538

539539
if Backend.isOs(OS.WINDOWS):
540-
self.shellcodeexecLocal = os.path.join(self.shellcodeexecLocal, "windows", "shellcodeexec.x%s.exe" % "32")
540+
self.shellcodeexecLocal = os.path.join(self.shellcodeexecLocal, "windows", "shellcodeexec.x%s.exe_" % "32")
541541
else:
542-
self.shellcodeexecLocal = os.path.join(self.shellcodeexecLocal, "linux", "shellcodeexec.x%s" % Backend.getArch())
542+
self.shellcodeexecLocal = os.path.join(self.shellcodeexecLocal, "linux", "shellcodeexec.x%s_" % Backend.getArch())
543543

544544
__basename = "tmpse%s%s" % (self._randStr, ".exe" if Backend.isOs(OS.WINDOWS) else "")
545545

0 commit comments

Comments
 (0)