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

Skip to content

Commit 1f83076

Browse files
committed
Fixes #5287
1 parent b0a1efa commit 1f83076

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

lib/core/agent.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,9 @@ def getFields(self, query):
596596
if not _:
597597
fieldsSelectFrom = None
598598

599+
if re.search(r"\bWHERE\b.+(MIN|MAX)", query, re.I):
600+
fieldsMinMaxstr = None
601+
599602
fieldsToCastStr = fieldsNoSelect
600603

601604
if fieldsSubstr:

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.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.7.1.4"
23+
VERSION = "1.7.1.5"
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)

0 commit comments

Comments
 (0)