File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717from lib .core .enums import OS
1818
1919# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
20- VERSION = "1.3.3.69 "
20+ VERSION = "1.3.3.70 "
2121TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2222TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2323VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -746,9 +746,9 @@ class _(dict):
746746 raise SqlmapConnectionException (warnMsg )
747747
748748 finally :
749- if isinstance (six .binary_type ):
749+ if isinstance (page , six .binary_type ):
750750 if HTTP_HEADER .CONTENT_TYPE in (responseHeaders or {}) and not re .search (TEXT_CONTENT_TYPE_REGEX , responseHeaders [HTTP_HEADER .CONTENT_TYPE ]):
751- page = unicode (page , errors = "ignore" )
751+ page = six . text_type (page , errors = "ignore" )
752752 else :
753753 page = getUnicode (page )
754754
You can’t perform that action at this time.
0 commit comments