Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3891336

Browse files
committed
Fixes #2508
1 parent 347ce87 commit 3891336

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

lib/core/option.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,15 @@ def _parseBurpLog(content):
232232
reqResList = re.finditer(BURP_REQUEST_REGEX, content, re.I | re.S)
233233

234234
for match in reqResList:
235-
request = match if isinstance(match, basestring) else match.group(1)
235+
request = match if isinstance(match, basestring) else match.group(0)
236236
request = re.sub(r"\A[^\w]+", "", request)
237237

238238
schemePort = re.search(r"(http[\w]*)\:\/\/.*?\:([\d]+).+?={10,}", request, re.I | re.S)
239239

240240
if schemePort:
241241
scheme = schemePort.group(1)
242242
port = schemePort.group(2)
243+
request = re.sub(r"\n=+\Z", "", request.split(schemePort.group(0))[-1].lstrip())
243244
else:
244245
scheme, port = None, None
245246

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.1.5.0"
22+
VERSION = "1.1.5.1"
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)

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ b9ff4e622c416116bee6024c0f050349 lib/core/enums.py
4040
310efc965c862cfbd7b0da5150a5ad36 lib/core/__init__.py
4141
9ba39bf66e9ecd469446bdbbeda906c3 lib/core/log.py
4242
ebb778c2d26eba8b34d7d8658e4105a6 lib/core/optiondict.py
43-
97231fc3987ffce83f59a7aa545ef4c9 lib/core/option.py
43+
636485a22f158bec137d63c73aeace5c lib/core/option.py
4444
5f2f56e6c5f274408df61943f1e080c0 lib/core/profiling.py
4545
40be71cd774662a7b420caeb7051e7d5 lib/core/readlineng.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
6a82bb3548afc52b7cecfcc81273c52e lib/core/settings.py
49+
0e212a0e21291ab3eea0d2d8b4c60ce2 lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252
155e2d3fda87b2e3ffa4f7a770513946 lib/core/target.py

0 commit comments

Comments
 (0)