diff --git a/lib/techniques/brute/use.py b/lib/techniques/brute/use.py index 9ebaa3292..b1168ebf5 100644 --- a/lib/techniques/brute/use.py +++ b/lib/techniques/brute/use.py @@ -104,7 +104,7 @@ def tableExists(tableFile, regex=None): choice = readInput(message, default=str(conf.threads)) if choice and choice.isdigit(): conf.threads = int(choice) - + if conf.threads == 1: warnMsg = "running in a single-thread mode. This could take a while." logger.warn(warnMsg) @@ -222,7 +222,7 @@ def columnExists(columnFile, regex=None): choice = readInput(message, default=str(conf.threads)) if choice and choice.isdigit(): conf.threads = int(choice) - + if conf.threads == 1: warnMsg = "running in a single-thread mode. This could take a while." logger.warn(warnMsg) diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index 55964aceb..a281100a4 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -481,7 +481,6 @@ class Enumeration: elif Backend.getIdentifiedDbms() == DBMS.MYSQL and not kb.data.has_information_schema: if privilege.upper() == "Y": privileges.add(mysqlPrivs[count]) - if self.__isAdminFromPrivileges(privileges): areAdmins.add(user)