diff --git a/lib/techniques/brute/use.py b/lib/techniques/brute/use.py index e7f102143..57c2dbde5 100644 --- a/lib/techniques/brute/use.py +++ b/lib/techniques/brute/use.py @@ -37,10 +37,9 @@ def tableExists(tableFile): logger.info(infoMsg) pageWords = getPageTextWordsSet(kb.originalPage) for word in pageWords: - if len(word) > 2 and not word[0].isdigit() and word.lower() not in tableSet: - tables.append(word.lower()) - if word.lower() != word: - tables.append(word) + word = word.lower() + if len(word) > 2 and not word[0].isdigit() and word not in tableSet: + tables.append(word) count = [0] length = len(tables)