mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
incorporating metasploit patch from oliver.kuckertz@mologie.de
This commit is contained in:
@@ -215,6 +215,9 @@ Krzysztof Kotowicz <kkotowicz@gmail.com>
|
|||||||
Nicolas Krassas <krasn@ans.gr>
|
Nicolas Krassas <krasn@ans.gr>
|
||||||
for reporting a bug
|
for reporting a bug
|
||||||
|
|
||||||
|
Oliver Kuckertz <oliver.kuckertz@mologie.de>
|
||||||
|
for providing a minor patch
|
||||||
|
|
||||||
Alex Landa <landa.alex86@gmail.com>
|
Alex Landa <landa.alex86@gmail.com>
|
||||||
for providing a patch adding support for XML output
|
for providing a patch adding support for XML output
|
||||||
|
|
||||||
|
|||||||
@@ -398,8 +398,9 @@ class Metasploit:
|
|||||||
|
|
||||||
if not Backend.isOs(OS.WINDOWS):
|
if not Backend.isOs(OS.WINDOWS):
|
||||||
self.execCmd("chmod +x %s" % self.shellcodeexecRemote, silent=True)
|
self.execCmd("chmod +x %s" % self.shellcodeexecRemote, silent=True)
|
||||||
|
cmd = "%s %s &" % (self.shellcodeexecRemote, self.shellcodeString)
|
||||||
cmd = "%s %s &" % (self.shellcodeexecRemote, self.shellcodeString)
|
else:
|
||||||
|
cmd = "\"%s\" %s" % (self.shellcodeexecRemote, self.shellcodeString)
|
||||||
|
|
||||||
self.execCmd(cmd, silent=True)
|
self.execCmd(cmd, silent=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user