Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c1a6b3 commit b997df7Copy full SHA for b997df7
1 file changed
plugins/dbms/mssqlserver.py
@@ -268,7 +268,7 @@ def getTables(self):
268
query = rootQuery["blind"]["count"] % db
269
count = inject.getValue(query, inband=False)
270
271
- if not len(count) or count == "0":
+ if not count.isdigit() or not len(count) or count == "0":
272
warnMsg = "unable to retrieve the number of "
273
warnMsg += "tables for database '%s'" % db
274
logger.warn(warnMsg)
0 commit comments