mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
usage of compiled regexes in case of dynamic markings and other refactoring
This commit is contained in:
parent
0fc7a8f9e8
commit
eeb199375b
3 changed files with 4 additions and 5 deletions
|
|
@ -62,6 +62,7 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
|
|||
# Dynamic content lines to be excluded before comparison
|
||||
if not kb.nullConnection and not conf.longestCommon:
|
||||
page = removeDynamicContent(page)
|
||||
conf.seqMatcher.set_seq1(removeDynamicContent(kb.pageTemplate))
|
||||
|
||||
if not pageLength:
|
||||
pageLength = len(page)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue