mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-22 08:13:34 +01:00
Minor bug fix and adjustment
This commit is contained in:
parent
1387ed0c25
commit
8be91a98cc
1 changed files with 3 additions and 3 deletions
|
|
@ -121,8 +121,8 @@ class Metasploit:
|
|||
|
||||
self.__msfSMBPortsList = {
|
||||
"windows": {
|
||||
1: ( "139/TCP (default)", "139" ),
|
||||
2: ( "445/TCP", "445" ),
|
||||
1: ( "139/TCP", "139" ),
|
||||
2: ( "445/TCP (default)", "445" ),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -547,7 +547,7 @@ class Metasploit:
|
|||
errMsg = "failed to create the shellcode (%s)" % payloadStderr.replace("\n", "")
|
||||
raise sqlmapFilePathException, errMsg
|
||||
|
||||
self.__shellcodeFP = codecs.open(self.__shellcodeFilePath, "rb", conf.dataEncoding)
|
||||
self.__shellcodeFP = codecs.open(self.__shellcodeFilePath, "rb")
|
||||
self.shellcodeString = self.__shellcodeFP.read()
|
||||
self.__shellcodeFP.close()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue