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

Skip to content

Commit 6823971

Browse files
committed
Minor patch
1 parent adf713d commit 6823971

2 files changed

Lines changed: 3 additions & 5 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.11.101"
21+
VERSION = "1.3.11.102"
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/redirecthandler.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,8 @@ def http_error_302(self, req, fp, code, msg, headers):
7474

7575
try:
7676
content = fp.read(MAX_CONNECTION_TOTAL_SIZE)
77-
except Exception as ex:
78-
dbgMsg = "there was a problem while retrieving "
79-
dbgMsg += "redirect response content ('%s')" % getSafeExString(ex)
80-
logger.debug(dbgMsg)
77+
except: # e.g. IncompleteRead
78+
content = ""
8179
finally:
8280
if content:
8381
try: # try to write it back to the read buffer so we could reuse it in further steps

0 commit comments

Comments
 (0)