mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Fix (and some hidden bug fixes/improvements) regarding an Issue #317
This commit is contained in:
parent
352e516400
commit
35728fa443
4 changed files with 31 additions and 23 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue