mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
update (--string and --regex should be done regardless of wasLastRequestError)
This commit is contained in:
parent
0d66f101da
commit
27735b14df
|
@ -22,10 +22,6 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
|
|||
if page is None and pageLength is None:
|
||||
return None
|
||||
|
||||
# In case of an DBMS error page return None
|
||||
if wasLastRequestError():
|
||||
return None
|
||||
|
||||
regExpResults = None
|
||||
|
||||
if page:
|
||||
|
@ -57,6 +53,10 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
|
|||
if conf.regexp:
|
||||
return re.search(conf.regexp, page, re.I | re.M) is not None
|
||||
|
||||
# In case of an DBMS error page return None
|
||||
if wasLastRequestError():
|
||||
return None
|
||||
|
||||
# Dynamic content lines to be excluded before comparison
|
||||
if not kb.nullConnection and not conf.longestCommon:
|
||||
for item in kb.dynamicMarkings:
|
||||
|
|
Loading…
Reference in New Issue
Block a user