mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
minor update
This commit is contained in:
parent
272476773f
commit
ea7ba19f6b
|
@ -33,13 +33,14 @@ def tableExists(tableFile):
|
||||||
infoMsg = "checking table existence using items from '%s'" % tableFile
|
infoMsg = "checking table existence using items from '%s'" % tableFile
|
||||||
logger.info(infoMsg)
|
logger.info(infoMsg)
|
||||||
|
|
||||||
infoMsg = "adding words used on web page to check list"
|
infoMsg = "adding words used on web page to name check list"
|
||||||
logger.info(infoMsg)
|
logger.info(infoMsg)
|
||||||
pageWords = getPageTextWordsSet(kb.originalPage)
|
pageWords = getPageTextWordsSet(kb.originalPage)
|
||||||
for word in pageWords:
|
for word in pageWords:
|
||||||
word = word.lower()
|
if len(word) > 2 and not word[0].isdigit() and word.lower() not in tableSet:
|
||||||
if len(word) > 1 and not word[0].isdigit() and word not in tableSet:
|
tables.append(word.lower())
|
||||||
tables.append(word)
|
if word.lower() != word:
|
||||||
|
tables.append(word)
|
||||||
|
|
||||||
count = [0]
|
count = [0]
|
||||||
length = len(tables)
|
length = len(tables)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user