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

Skip to content

Commit c5c4aae

Browse files
committed
minor update (to prevent adding too much items)
1 parent b472b96 commit c5c4aae

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

lib/techniques/brute/use.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,9 @@ def tableExists(tableFile):
3737
logger.info(infoMsg)
3838
pageWords = getPageTextWordsSet(kb.originalPage)
3939
for word in pageWords:
40-
if len(word) > 2 and not word[0].isdigit() and word.lower() not in tableSet:
41-
tables.append(word.lower())
42-
if word.lower() != word:
43-
tables.append(word)
40+
word = word.lower()
41+
if len(word) > 2 and not word[0].isdigit() and word not in tableSet:
42+
tables.append(word)
4443

4544
count = [0]
4645
length = len(tables)

0 commit comments

Comments
 (0)