Skip to content

Commit 0a4cdd7

Browse files
committed
Fixes #5913
1 parent 09c364d commit 0a4cdd7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

data/txt/sha256sums.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,14 @@ c9d1f64648062d7962caf02c4e2e7d84e8feb2a14451146f627112aae889afcd lib/core/dump.
180180
4608f21a4333c162ab3c266c903fda4793cc5834de30d06affe9b7566dd09811 lib/core/__init__.py
181181
3d308440fb01d04b5d363bfbe0f337756b098532e5bb7a1c91d5213157ec2c35 lib/core/log.py
182182
2a06dc9b5c17a1efdcdb903545729809399f1ee96f7352cc19b9aaa227394ff3 lib/core/optiondict.py
183-
0622da3388cd9cfa80ea2dac86378efe47ff5e6902a7b04a91783b2e338b5eed lib/core/option.py
183+
97378f241005dc1b8b4c0a67b9b39af76a9735d2bb0a49e8f2ef59c0d115d93e lib/core/option.py
184184
866e93c93541498ecce70125037bdd376d78188e481d225f81843f21f4797d8c lib/core/patch.py
185185
85f10c6195a3a675892d914328173a6fb6a8393120417a2f10071c6e77bfa47d lib/core/profiling.py
186186
c4bfb493a03caf84dd362aec7c248097841de804b7413d0e1ecb8a90c8550bc0 lib/core/readlineng.py
187187
d1bd70c1a55858495c727fbec91e30af267459c8f64d50fabf9e4ee2c007e920 lib/core/replication.py
188188
1d0f80b0193ac5204527bfab4bde1a7aee0f693fd008e86b4b29f606d1ef94f3 lib/core/revision.py
189189
d2eb8e4b05ac93551272b3d4abfaf5b9f2d3ac92499a7704c16ed0b4f200db38 lib/core/session.py
190-
b33a472e54778a1f53e3badde07b1ba81b518596caae4d1bae3226e6a2138137 lib/core/settings.py
190+
792804ba166efe4c41c4cc778fa02ddfd2a05a182617e6f26f85d2c9db218aa1 lib/core/settings.py
191191
1c5eab9494eb969bc9ce118a2ea6954690c6851cbe54c18373c723b99734bf09 lib/core/shell.py
192192
4eea6dcf023e41e3c64b210cb5c2efc7ca893b727f5e49d9c924f076bb224053 lib/core/subprocessng.py
193193
cdd352e1331c6b535e780f6edea79465cb55af53aa2114dcea0e8bf382e56d1a lib/core/target.py

lib/core/option.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,10 +1406,10 @@ def _setHTTPExtraHeaders():
14061406
debugMsg = "setting extra HTTP headers"
14071407
logger.debug(debugMsg)
14081408

1409-
if "\n" in conf.headers:
1410-
conf.headers = conf.headers.replace("\r\n", "\n").split("\n")
1411-
elif "\\n" in conf.headers:
1409+
if "\\n" in conf.headers:
14121410
conf.headers = conf.headers.replace("\\r\\n", "\\n").split("\\n")
1411+
else:
1412+
conf.headers = conf.headers.replace("\r\n", "\n").split("\n")
14131413

14141414
for headerValue in conf.headers:
14151415
if not headerValue.strip():

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from thirdparty import six
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.9.6.5"
22+
VERSION = "1.9.6.6"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)