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

Skip to content

Commit b997df7

Browse files
committed
Minor bug fix
1 parent 0c1a6b3 commit b997df7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/dbms/mssqlserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def getTables(self):
268268
query = rootQuery["blind"]["count"] % db
269269
count = inject.getValue(query, inband=False)
270270

271-
if not len(count) or count == "0":
271+
if not count.isdigit() or not len(count) or count == "0":
272272
warnMsg = "unable to retrieve the number of "
273273
warnMsg += "tables for database '%s'" % db
274274
logger.warn(warnMsg)

0 commit comments

Comments
 (0)