File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.4.5.16 "
21+ VERSION = "1.4.5.17 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_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 @@ -104,6 +104,8 @@ def _search(dork):
104104
105105 page = decodePage (page , responseHeaders .get (HTTP_HEADER .CONTENT_ENCODING ), responseHeaders .get (HTTP_HEADER .CONTENT_TYPE ))
106106
107+ page = getUnicode (page ) # Note: if upper function call fails (Issue #4202)
108+
107109 retVal = [_urllib .parse .unquote (match .group (1 ) or match .group (2 )) for match in re .finditer (GOOGLE_REGEX , page , re .I )]
108110
109111 if not retVal and "detected unusual traffic" in page :
You can’t perform that action at this time.
0 commit comments