mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
DREI final patch for --os-pwn
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user