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

Skip to content

Commit 81289fa

Browse files
committed
Fixes #3886
1 parent 576d81a commit 81289fa

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.8.17"
21+
VERSION = "1.3.8.18"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
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: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -763,16 +763,13 @@ class _(dict):
763763

764764
kb.connErrorChoice = readInput(message, default='N', boolean=True)
765765

766-
if kb.connErrorChoice is not None:
767-
if kb.connErrorChoice:
768-
raise SqlmapConnectionException(warnMsg)
769-
else:
770-
raise SqlmapUserQuitException
766+
if kb.connErrorChoice is False:
767+
raise SqlmapUserQuitException
771768

772769
if "forcibly closed" in tbMsg:
773770
logger.critical(warnMsg)
774771
return None, None, None
775-
elif ignoreTimeout and any(_ in tbMsg for _ in ("timed out", "IncompleteRead")):
772+
elif ignoreTimeout and any(_ in tbMsg for _ in ("timed out", "IncompleteRead", "Interrupted system call")):
776773
return None if not conf.ignoreTimeouts else "", None, None
777774
elif threadData.retriesCount < conf.retries and not kb.threadException:
778775
warnMsg += ". sqlmap is going to retry the request"

0 commit comments

Comments
 (0)