mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-24 10:37:51 +00:00
minor beautification (WordsSet is considered as a bad english)
This commit is contained in:
parent
4b94ef2b7c
commit
83af83da9e
2 changed files with 4 additions and 4 deletions
|
|
@ -1418,7 +1418,7 @@ def getFilteredPageContent(page, onlyText=True):
|
|||
|
||||
return retVal
|
||||
|
||||
def getPageTextWordsSet(page):
|
||||
def getPageWordSet(page):
|
||||
retVal = None
|
||||
|
||||
# only if the page's charset has been successfully identified
|
||||
|
|
@ -1436,7 +1436,7 @@ def showStaticWords(firstPage, secondPage):
|
|||
secondPage = getFilteredPageContent(secondPage)
|
||||
match = SequenceMatcher(None, firstPage, secondPage).find_longest_match(0, len(firstPage), 0, len(secondPage))
|
||||
commonText = firstPage[match[0]:match[0]+match[2]]
|
||||
commonWords = getPageTextWordsSet(commonText)
|
||||
commonWords = getPageWordSet(commonText)
|
||||
|
||||
infoMsg = "static words: "
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue