Skip to content

Commit 6c108d9

Browse files
committed
Minor update regarding the #5863
1 parent 28c838a commit 6c108d9

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

data/txt/sha256sums.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ c6a182f6b7d3b0ad6f0888ea2a4de4148f0770549038d7de8bc3267b4c6635f7 lib/core/readl
188188
63ae69713c6ea9abfa10e71dfab8f2dcf42432177a38d2c1e98785bf1468674c lib/core/replication.py
189189
5bad5bc7115051cef7b84efa73fbafbf5e1db46eef32a445056b56cda750b66f lib/core/revision.py
190190
0dcb52c9c76a4b0acf2e9038f7d8f08c14543cef3cf7032831c6c0a99376ad24 lib/core/session.py
191-
c689e87a8cfaf0faf1a44c8b6fc513ab9ce13e57059c8eaabd2b956b2473a57f lib/core/settings.py
191+
67d73d40d250bfef5bf3901a948ff44a9b9b9c44dd4b97c42f5e2433b327b9c0 lib/core/settings.py
192192
a1e4f2860bffc73bbf2e5db293fa49dcb600ea35f950cda43dc953b3160ab3db lib/core/shell.py
193193
841716e87b90a3b598515910841f7cf8d33bb87c24a27fba1a80e36a831cbcd7 lib/core/subprocessng.py
194194
9731092f195e346716929323ea3c93247b23b9b92b0f32d3fd0acc3adf9876cc lib/core/target.py
@@ -210,7 +210,7 @@ cbabdde72df4bd8d6961d589f1721dd938d8f653aa6af8900a31af6e2586405d lib/parse/site
210210
87109063dd336fe2705fdfef23bc9b340dcc58e410f15c372fab51ea6a1bf4b1 lib/request/basicauthhandler.py
211211
89417568d7f19e48d39a8a9a4227d3d2b71d1c9f61139a41b1835fb5266fcab8 lib/request/basic.py
212212
6139b926a3462d14ddd50acdb8575ae442b8fab089db222721535092b9af3ea1 lib/request/chunkedhandler.py
213-
6058fc4fce4b5ce660096d341eab3ae170e5406b31e2e9f51dcf60e7a2b67e68 lib/request/comparison.py
213+
6be5719f3c922682931779830a4571a13d5612a69e2423fd60a254e8dbceaf5c lib/request/comparison.py
214214
7345c12a0a1d4c583766b46ba38263cbc4603a85aa4216deddd62958d4e5d596 lib/request/connect.py
215215
0649a39c5cc2fc0f4c062b100ced17e3e6934a7e578247dfc65b650edc29825e lib/request/direct.py
216216
5283754cf387ce4e645ee50834ee387cde29a768aaada1a6a07c338da216c94d lib/request/dns.py

lib/core/settings.py

+1-1
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.3.1"
22+
VERSION = "1.9.3.2"
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)

lib/request/comparison.py

+10-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
from lib.core.data import kb
2222
from lib.core.data import logger
2323
from lib.core.exception import SqlmapNoneDataException
24+
from lib.core.exception import SqlmapSilentQuitException
2425
from lib.core.settings import DEFAULT_PAGE_ENCODING
26+
from lib.core.settings import DEV_EMAIL_ADDRESS
2527
from lib.core.settings import DIFF_TOLERANCE
2628
from lib.core.settings import HTML_TITLE_REGEX
2729
from lib.core.settings import LOWER_RATIO_BOUND
@@ -35,8 +37,14 @@
3537
from thirdparty import six
3638

3739
def comparison(page, headers, code=None, getRatioValue=False, pageLength=None):
38-
_ = _adjust(_comparison(page, headers, code, getRatioValue, pageLength), getRatioValue)
39-
return _
40+
try:
41+
_ = _adjust(_comparison(page, headers, code, getRatioValue, pageLength), getRatioValue)
42+
return _
43+
except:
44+
warnMsg = "there was a KNOWN issue inside the internals regarding the difflib/comparison of pages. "
45+
warnMsg += "Please report details privately via e-mail to '%s'" % DEV_EMAIL_ADDRESS
46+
logger.critical(warnMsg)
47+
raise SqlmapSilentQuitException
4048

4149
def _adjust(condition, getRatioValue):
4250
if not any((conf.string, conf.notString, conf.regexp, conf.code)):

0 commit comments

Comments
 (0)