mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
incorporating metasploit patch from oliver.kuckertz@mologie.de
This commit is contained in:
parent
4542d4535f
commit
2b12b18357
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user