mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
minor update
This commit is contained in:
parent
1a708cf12d
commit
3619fc5127
3 changed files with 2 additions and 12 deletions
|
|
@ -10,7 +10,6 @@ See the file 'doc/COPYING' for copying permission
|
|||
import re
|
||||
|
||||
from lib.core.common import getFilteredPageContent
|
||||
from lib.core.common import preparePageForLineComparison
|
||||
from lib.core.common import wasLastRequestError
|
||||
from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
|
|
@ -98,9 +97,9 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
|
|||
if getSeqMatcher:
|
||||
return ratio
|
||||
|
||||
# In case of an DBMS error page return False
|
||||
# In case of an DBMS error page return None
|
||||
elif wasLastRequestError():
|
||||
return False
|
||||
return None
|
||||
|
||||
elif ratio == 1:
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue