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.12.27 "
21+ VERSION = "1.4.12.28 "
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 @@ -71,7 +71,7 @@ def http_request(self, request):
7171
7272 # NOTE: https://github.com/sqlmapproject/sqlmap/issues/4235
7373 if request .data :
74- for match in re .finditer (b"(?i)\s*-{20,}\w+(\s+Content-Disposition[^\n ]+\s+|\-\- \s*)" , request .data ):
74+ for match in re .finditer (b"(?i)\\ s*-{20,}\\ w+(\\ s+Content-Disposition[^\\ n]+\\ s+|\\ - \\ - \ \ s*)" , request .data ):
7575 part = match .group (0 )
7676 if b'\r ' not in part :
7777 request .data = request .data .replace (part , part .replace (b'\n ' , b"\r \n " ))
You can’t perform that action at this time.
0 commit comments