mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
minor fix
This commit is contained in:
parent
1f795622b3
commit
3f9450b9dc
|
@ -1642,10 +1642,10 @@ def removeDynamicContent(page):
|
|||
for item in kb.dynamicMarkings:
|
||||
prefix, suffix = item
|
||||
if prefix is None:
|
||||
getCompiledRegex('(?s)^.+%s' % suffix).sub(suffix, page)
|
||||
page = getCompiledRegex('(?s)^.+%s' % suffix).sub(suffix, page)
|
||||
elif suffix is None:
|
||||
getCompiledRegex('(?s)%s.+$' % prefix).sub(prefix, page)
|
||||
page = getCompiledRegex('(?s)%s.+$' % prefix).sub(prefix, page)
|
||||
else:
|
||||
getCompiledRegex('(?s)%s.+%s' % (prefix, suffix)).sub('%s%s' % (prefix, suffix), page)
|
||||
page = getCompiledRegex('(?s)%s.+%s' % (prefix, suffix)).sub('%s%s' % (prefix, suffix), page)
|
||||
|
||||
return page
|
||||
|
|
Loading…
Reference in New Issue
Block a user