File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 18
18
from thirdparty .six import unichr as _unichr
19
19
20
20
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21
- VERSION = "1.4.12.27 "
21
+ VERSION = "1.4.12.28 "
22
22
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
23
23
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
24
24
VERSION_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):
71
71
72
72
# NOTE: https://github.com/sqlmapproject/sqlmap/issues/4235
73
73
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 ):
75
75
part = match .group (0 )
76
76
if b'\r ' not in part :
77
77
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