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 6ad8bbf commit 9d2c81bCopy full SHA for 9d2c81b
1 file changed
plugins/generic/enumeration.py
@@ -700,11 +700,21 @@ def getDbs(self):
700
return kb.data.cachedDbs
701
702
def getTables(self):
703
+ bruteForce = False
704
+
705
if kb.dbms == "MySQL" and not kb.data.has_information_schema:
706
errMsg = "information_schema not available, "
707
errMsg += "back-end DBMS is MySQL < 5.0"
708
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
716
717
+ if bruteForce:
718
message = "do you want to use common table existance check? [Y/n/q]"
719
test = readInput(message, default="Y")
720
0 commit comments