mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-06 08:22:57 +00:00
Minor update
This commit is contained in:
parent
3bab3cd795
commit
6597415ab0
5 changed files with 121 additions and 17 deletions
|
|
@ -1283,7 +1283,9 @@ def checkDynamicContent(firstPage, secondPage):
|
|||
seqMatcher.set_seq1(firstPage)
|
||||
seqMatcher.set_seq2(secondPage)
|
||||
ratio = seqMatcher.quick_ratio()
|
||||
except MemoryError:
|
||||
except (MemoryError, TypeError, SystemError, ValueError, AttributeError):
|
||||
# difflib can fail on pathological input or, rarely, with interpreter-level
|
||||
# errors under heavy threading; degrade to "undetermined" instead of crashing
|
||||
ratio = None
|
||||
|
||||
if ratio is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue