mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
improvement of dynamicity engine
This commit is contained in:
parent
76ce9cc888
commit
be6df7abd9
|
@ -427,6 +427,12 @@ def checkDynamicContent(firstPage, secondPage):
|
|||
if suffix is None and (blocks[i][0] + blocks[i][2] >= len(firstPage)):
|
||||
continue
|
||||
|
||||
while prefix and prefix[-1].isalnum():
|
||||
prefix = prefix[:-1]
|
||||
|
||||
while suffix and suffix[0].isalnum():
|
||||
suffix = suffix[1:]
|
||||
|
||||
kb.dynamicMarkings.append((re.escape(prefix[-conf.dynMarkLength:]) if prefix else None, re.escape(suffix[:conf.dynMarkLength]) if suffix else None))
|
||||
|
||||
if len(kb.dynamicMarkings) > 0:
|
||||
|
|
Loading…
Reference in New Issue
Block a user