mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
fix regarding proper string isinstance checking (including unicode)
This commit is contained in:
parent
d2c03c12fd
commit
dc83f794ea
13 changed files with 30 additions and 30 deletions
|
|
@ -179,7 +179,7 @@ class Metasploit:
|
|||
return self.__skeletonSelection("SMB port", self.__msfSMBPortsList)
|
||||
|
||||
def __selectEncoder(self, encode=True):
|
||||
if isinstance(encode, str):
|
||||
if isinstance(encode, basestring):
|
||||
return encode
|
||||
|
||||
elif kb.os == "Windows" and encode:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue