Skip to content

Commit 4acc017

Browse files
committed
Fix related to #5580
1 parent de6107c commit 4acc017

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/core/agent.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,10 @@ def limitQuery(self, num, query, field=None, uniqueField=None):
10351035
limitStr = queries[Backend.getIdentifiedDbms()].limit.query % (num, 1)
10361036
limitedQuery += " %s" % limitStr
10371037

1038+
elif Backend.getIdentifiedDbms() in (DBMS.H2,):
1039+
limitStr = queries[Backend.getIdentifiedDbms()].limit.query % (1, num)
1040+
limitedQuery += " %s" % limitStr
1041+
10381042
elif Backend.getIdentifiedDbms() in (DBMS.ALTIBASE,):
10391043
limitStr = queries[Backend.getIdentifiedDbms()].limit.query % (num + 1, 1)
10401044
limitedQuery += " %s" % limitStr

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.12.0"
23+
VERSION = "1.7.12.1"
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)