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

Skip to content

Commit fb1497a

Browse files
committed
Minor update for Issue #209
1 parent 261b286 commit fb1497a

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/request/inject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def __goInferenceProxy(expression, fromUser=False, batch=False, unpack=True, cha
204204
# (or similar depending on the back-end DBMS) can return
205205
# multiple entries
206206
if limitCond:
207-
if limitRegExp:
207+
if limitRegExp and stopLimit is not None:
208208
stopLimit = int(stopLimit)
209209

210210
# From now on we need only the expression until the " LIMIT "

plugins/dbms/access/enumeration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def getPrivileges(self, *args):
4949
return {}
5050

5151
def getDbs(self):
52-
warnMsg = "on Microsoft Access it is not possible to enumerate databases"
52+
warnMsg = "on Microsoft Access it is not possible to enumerate databases (use only '--tables')"
5353
logger.warn(warnMsg)
5454

5555
return []

plugins/dbms/firebird/enumeration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def __init__(self):
1313
GenericEnumeration.__init__(self)
1414

1515
def getDbs(self):
16-
warnMsg = "on Firebird it is not possible to enumerate databases"
16+
warnMsg = "on Firebird it is not possible to enumerate databases (use only '--tables')"
1717
logger.warn(warnMsg)
1818

1919
return []

plugins/dbms/sqlite/enumeration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def getPrivileges(self, *args):
4444
return {}
4545

4646
def getDbs(self):
47-
warnMsg = "on SQLite it is not possible to enumerate databases"
47+
warnMsg = "on SQLite it is not possible to enumerate databases (use only '--tables')"
4848
logger.warn(warnMsg)
4949

5050
return []

0 commit comments

Comments
 (0)