mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Fix (and some hidden bug fixes/improvements) regarding an Issue #317
This commit is contained in:
@@ -531,7 +531,7 @@ class Metasploit:
|
||||
errMsg = "failed to create the shellcode (%s)" % payloadStderr.replace("\n", " ").replace("\r", "")
|
||||
raise SqlmapFilePathException, errMsg
|
||||
|
||||
self._shellcodeFP = codecs.open(self._shellcodeFilePath, "rb")
|
||||
self._shellcodeFP = codecs.open(self._shellcodeFilePath, "rb", UNICODE_ENCODING)
|
||||
self.shellcodeString = self._shellcodeFP.read()
|
||||
self._shellcodeFP.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user