mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
bug fix (TypeError: object of type 'NoneType' has no len())
This commit is contained in:
parent
569e060aab
commit
ceeb6374e8
|
@ -1748,7 +1748,9 @@ def removeDynamicContent(page):
|
|||
if page:
|
||||
for item in kb.dynamicMarkings:
|
||||
prefix, suffix = item
|
||||
if prefix is None:
|
||||
if prefix is None and suffix is None:
|
||||
continue
|
||||
elif prefix is None:
|
||||
page = getCompiledRegex('(?s)^.+%s' % suffix).sub(suffix, page)
|
||||
elif suffix is None:
|
||||
page = getCompiledRegex('(?s)%s.+$' % prefix).sub(prefix, page)
|
||||
|
|
Loading…
Reference in New Issue
Block a user