File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.5.6.1 "
23+ VERSION = "1.5.6.2 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_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 @@ -165,7 +165,7 @@ def parse(cls, raw):
165165 try :
166166 content = response .read ()
167167 except _http_client .IncompleteRead :
168- content = raw [raw .find ("\r \n \r \n " ) + 4 :].rstrip ("\r \n " )
168+ content = raw [raw .find (b "\r \n \r \n " ) + 4 :].rstrip (b "\r \n " )
169169
170170 return cls (httpVersion = "HTTP/1.1" if response .version == 11 else "HTTP/1.0" ,
171171 status = response .status ,
You can’t perform that action at this time.
0 commit comments