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

Skip to content

Commit 2efcded

Browse files
committed
Fixes #3644
1 parent 31f88a8 commit 2efcded

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/controller/checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def genCmpPayload():
537537

538538
injectable = True
539539

540-
elif threadData.lastComparisonRatio > UPPER_RATIO_BOUND and not any((conf.string, conf.notString, conf.regexp, conf.code, kb.nullConnection)):
540+
elif (threadData.lastComparisonRatio or 0) > UPPER_RATIO_BOUND and not any((conf.string, conf.notString, conf.regexp, conf.code, kb.nullConnection)):
541541
originalSet = set(getFilteredPageContent(kb.pageTemplate, True, "\n").split("\n"))
542542
trueSet = set(getFilteredPageContent(truePage, True, "\n").split("\n"))
543543
falseSet = set(getFilteredPageContent(falsePage, True, "\n").split("\n"))

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 import six
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.5.76"
21+
VERSION = "1.3.5.77"
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)

0 commit comments

Comments
 (0)