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

Skip to content

Commit 9d2c81b

Browse files
committed
more update for ms access
1 parent 6ad8bbf commit 9d2c81b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

plugins/generic/enumeration.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,11 +700,21 @@ def getDbs(self):
700700
return kb.data.cachedDbs
701701

702702
def getTables(self):
703+
bruteForce = False
704+
703705
if kb.dbms == "MySQL" and not kb.data.has_information_schema:
704706
errMsg = "information_schema not available, "
705707
errMsg += "back-end DBMS is MySQL < 5.0"
706708
logger.error(errMsg)
709+
bruteForce = True
710+
711+
elif kb.dbms == "Microsoft Access":
712+
errMsg = "cannot retrieve table names, "
713+
errMsg += "back-end DBMS is Access"
714+
logger.error(errMsg)
715+
bruteForce = True
707716

717+
if bruteForce:
708718
message = "do you want to use common table existance check? [Y/n/q]"
709719
test = readInput(message, default="Y")
710720

0 commit comments

Comments
 (0)