Skip to content

Commit 47e98a0

Browse files
committed
Minor patch
1 parent c648703 commit 47e98a0

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

lib/core/settings.py

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

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

lib/request/connect.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,13 @@ def getPage(**kwargs):
544544
break
545545
else:
546546
for i in xrange(max(1, kb.webSocketRecvCount)):
547-
_page.append(ws.recv())
547+
# Note: a later response may carry fewer frames than the calibration one
548+
# (e.g. a FALSE boolean-blind reply); stop on timeout instead of letting it
549+
# bubble up as a failed request, mirroring the initial recv loop above
550+
try:
551+
_page.append(ws.recv())
552+
except websocket.WebSocketTimeoutException:
553+
break
548554

549555
page = "\n".join(_page)
550556
finally:

0 commit comments

Comments
 (0)