DREI final patch for --os-pwn

This commit is contained in:
Miroslav Stampar
2019-05-03 16:22:48 +02:00
parent 81fba74e6a
commit f344a01bd9
2 changed files with 2 additions and 2 deletions

View File

@@ -640,7 +640,7 @@ class Metasploit:
raise SqlmapFilePathException(errMsg)
self._shellcodeFP = open(self._shellcodeFilePath, "rb")
self.shellcodeString = self._shellcodeFP.read()
self.shellcodeString = getText(self._shellcodeFP.read())
self._shellcodeFP.close()
os.unlink(self._shellcodeFilePath)